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.



1747
1748
1749
# File 'lib/google/apis/content_v2_1/classes.rb', line 1747

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>)


1693
1694
1695
# File 'lib/google/apis/content_v2_1/classes.rb', line 1693

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)


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

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)


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

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)


1716
1717
1718
# File 'lib/google/apis/content_v2_1/classes.rb', line 1716

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)


1721
1722
1723
# File 'lib/google/apis/content_v2_1/classes.rb', line 1721

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)


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

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)


1735
1736
1737
# File 'lib/google/apis/content_v2_1/classes.rb', line 1735

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)


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

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)


1745
1746
1747
# File 'lib/google/apis/content_v2_1/classes.rb', line 1745

def participation_stage
  @participation_stage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
# File 'lib/google/apis/content_v2_1/classes.rb', line 1752

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