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.



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

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


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

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)


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


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


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_emailString

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

Returns:

  • (String)


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


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


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_channelString

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

Returns:

  • (String)


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

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)


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