Class: Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus
- 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
-
#business_model ⇒ Array<String>
The business models in which merchant participates.
-
#customer_service_pending_email ⇒ String
The customer service pending email.
-
#customer_service_pending_phone_number ⇒ String
The pending phone number specified for BuyOnGoogle program.
-
#customer_service_pending_phone_region_code ⇒ String
Two letter country code for the pending phone number, for example
CAfor Canadian numbers. -
#customer_service_verified_email ⇒ String
Output only.
-
#customer_service_verified_phone_number ⇒ String
Output only.
-
#customer_service_verified_phone_region_code ⇒ String
Output only.
-
#online_sales_channel ⇒ String
The channels through which the merchant is selling.
-
#participation_stage ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuyOnGoogleProgramStatus
constructor
A new instance of BuyOnGoogleProgramStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuyOnGoogleProgramStatus
Returns a new instance of BuyOnGoogleProgramStatus.
1801 1802 1803 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business_model ⇒ Array<String>
The business models in which merchant participates.
Corresponds to the JSON property businessModel
1747 1748 1749 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1747 def business_model @business_model end |
#customer_service_pending_email ⇒ String
The customer service pending email. After verification this field becomes
empty.
Corresponds to the JSON property customerServicePendingEmail
1753 1754 1755 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1753 def customer_service_pending_email @customer_service_pending_email end |
#customer_service_pending_phone_number ⇒ String
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
1761 1762 1763 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1761 def customer_service_pending_phone_number @customer_service_pending_phone_number end |
#customer_service_pending_phone_region_code ⇒ String
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
1770 1771 1772 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1770 def customer_service_pending_phone_region_code @customer_service_pending_phone_region_code end |
#customer_service_verified_email ⇒ String
Output only. The customer service verified email.
Corresponds to the JSON property customerServiceVerifiedEmail
1775 1776 1777 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1775 def customer_service_verified_email @customer_service_verified_email end |
#customer_service_verified_phone_number ⇒ String
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
1781 1782 1783 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1781 def customer_service_verified_phone_number @customer_service_verified_phone_number end |
#customer_service_verified_phone_region_code ⇒ String
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
1789 1790 1791 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1789 def customer_service_verified_phone_region_code @customer_service_verified_phone_region_code end |
#online_sales_channel ⇒ String
The channels through which the merchant is selling.
Corresponds to the JSON property onlineSalesChannel
1794 1795 1796 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1794 def online_sales_channel @online_sales_channel end |
#participation_stage ⇒ String
Output only. The current participation stage for the program.
Corresponds to the JSON property participationStage
1799 1800 1801 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1799 def participation_stage @participation_stage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1806 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 |