Class: Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Response message for the GetProgramStatus method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuyOnGoogleProgramStatus

Returns a new instance of BuyOnGoogleProgramStatus.



1739
1740
1741
# File 'lib/google/apis/content_v2_1/classes.rb', line 1739

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#business_modelArray<String>

The business models in which merchant participates. Corresponds to the JSON property businessModel

Returns:

  • (Array<String>)


1685
1686
1687
# File 'lib/google/apis/content_v2_1/classes.rb', line 1685

def business_model
  @business_model
end

#customer_service_pending_emailString

The customer service pending email. After verification this field becomes empty. Corresponds to the JSON property customerServicePendingEmail

Returns:

  • (String)


1691
1692
1693
# File 'lib/google/apis/content_v2_1/classes.rb', line 1691

def customer_service_pending_email
  @customer_service_pending_email
end

#customer_service_pending_phone_numberString

The pending phone number specified for BuyOnGoogle program. It might be different than account level phone number. In order to update this field the customer_service_pending_phone_region_code must also be set. After verification this field becomes empty. Corresponds to the JSON property customerServicePendingPhoneNumber

Returns:

  • (String)


1699
1700
1701
# File 'lib/google/apis/content_v2_1/classes.rb', line 1699

def customer_service_pending_phone_number
  @customer_service_pending_phone_number
end

#customer_service_pending_phone_region_codeString

Two letter country code for the pending phone number, for example CA for Canadian numbers. See the ISO 3166-1 alpha-2 officially assigned codes. In order to update this field the customer_service_pending_phone_number must also be set. After verification this field becomes empty. Corresponds to the JSON property customerServicePendingPhoneRegionCode

Returns:

  • (String)


1708
1709
1710
# File 'lib/google/apis/content_v2_1/classes.rb', line 1708

def customer_service_pending_phone_region_code
  @customer_service_pending_phone_region_code
end

#customer_service_verified_emailString

Output only. The customer service verified email. Corresponds to the JSON property customerServiceVerifiedEmail

Returns:

  • (String)


1713
1714
1715
# File 'lib/google/apis/content_v2_1/classes.rb', line 1713

def customer_service_verified_email
  @customer_service_verified_email
end

#customer_service_verified_phone_numberString

Output only. The verified phone number specified for BuyOnGoogle program. It might be different than account level phone number. Corresponds to the JSON property customerServiceVerifiedPhoneNumber

Returns:

  • (String)


1719
1720
1721
# File 'lib/google/apis/content_v2_1/classes.rb', line 1719

def customer_service_verified_phone_number
  @customer_service_verified_phone_number
end

#customer_service_verified_phone_region_codeString

Output only. Two letter country code for the verified phone number, for example CA for Canadian numbers. See the ISO 3166-1 alpha-2 officially assigned codes. Corresponds to the JSON property customerServiceVerifiedPhoneRegionCode

Returns:

  • (String)


1727
1728
1729
# File 'lib/google/apis/content_v2_1/classes.rb', line 1727

def customer_service_verified_phone_region_code
  @customer_service_verified_phone_region_code
end

#online_sales_channelString

The channels through which the merchant is selling. Corresponds to the JSON property onlineSalesChannel

Returns:

  • (String)


1732
1733
1734
# File 'lib/google/apis/content_v2_1/classes.rb', line 1732

def online_sales_channel
  @online_sales_channel
end

#participation_stageString

Output only. The current participation stage for the program. Corresponds to the JSON property participationStage

Returns:

  • (String)


1737
1738
1739
# File 'lib/google/apis/content_v2_1/classes.rb', line 1737

def participation_stage
  @participation_stage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/google/apis/content_v2_1/classes.rb', line 1744

def update!(**args)
  @business_model = args[:business_model] if args.key?(:business_model)
  @customer_service_pending_email = args[:customer_service_pending_email] if args.key?(:customer_service_pending_email)
  @customer_service_pending_phone_number = args[:customer_service_pending_phone_number] if args.key?(:customer_service_pending_phone_number)
  @customer_service_pending_phone_region_code = args[:customer_service_pending_phone_region_code] if args.key?(:customer_service_pending_phone_region_code)
  @customer_service_verified_email = args[:customer_service_verified_email] if args.key?(:customer_service_verified_email)
  @customer_service_verified_phone_number = args[:customer_service_verified_phone_number] if args.key?(:customer_service_verified_phone_number)
  @customer_service_verified_phone_region_code = args[:customer_service_verified_phone_region_code] if args.key?(:customer_service_verified_phone_region_code)
  @online_sales_channel = args[:online_sales_channel] if args.key?(:online_sales_channel)
  @participation_stage = args[:participation_stage] if args.key?(:participation_stage)
end