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.



1802
1803
1804
# File 'lib/google/apis/content_v2_1/classes.rb', line 1802

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


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

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)


1754
1755
1756
# File 'lib/google/apis/content_v2_1/classes.rb', line 1754

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)


1762
1763
1764
# File 'lib/google/apis/content_v2_1/classes.rb', line 1762

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)


1771
1772
1773
# File 'lib/google/apis/content_v2_1/classes.rb', line 1771

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)


1776
1777
1778
# File 'lib/google/apis/content_v2_1/classes.rb', line 1776

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)


1782
1783
1784
# File 'lib/google/apis/content_v2_1/classes.rb', line 1782

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)


1790
1791
1792
# File 'lib/google/apis/content_v2_1/classes.rb', line 1790

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)


1795
1796
1797
# File 'lib/google/apis/content_v2_1/classes.rb', line 1795

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)


1800
1801
1802
# File 'lib/google/apis/content_v2_1/classes.rb', line 1800

def participation_stage
  @participation_stage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
# File 'lib/google/apis/content_v2_1/classes.rb', line 1807

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