Class: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo

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

Additional information required for PAYMENT_SERVICE_PROVIDER link type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PaymentServiceProviderLinkInfo

Returns a new instance of PaymentServiceProviderLinkInfo.



9115
9116
9117
# File 'lib/google/apis/content_v2_1/classes.rb', line 9115

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

Instance Attribute Details

#external_account_business_countryString

The business country of the merchant account as identified by the third party service provider. Corresponds to the JSON property externalAccountBusinessCountry

Returns:

  • (String)


9108
9109
9110
# File 'lib/google/apis/content_v2_1/classes.rb', line 9108

def 
  @external_account_business_country
end

#external_account_idString

The id used by the third party service provider to identify the merchant. Corresponds to the JSON property externalAccountId

Returns:

  • (String)


9113
9114
9115
# File 'lib/google/apis/content_v2_1/classes.rb', line 9113

def 
  @external_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9120
9121
9122
9123
# File 'lib/google/apis/content_v2_1/classes.rb', line 9120

def update!(**args)
  @external_account_business_country = args[:external_account_business_country] if args.key?(:external_account_business_country)
  @external_account_id = args[:external_account_id] if args.key?(:external_account_id)
end