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.



9199
9200
9201
# File 'lib/google/apis/content_v2_1/classes.rb', line 9199

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)


9192
9193
9194
# File 'lib/google/apis/content_v2_1/classes.rb', line 9192

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)


9197
9198
9199
# File 'lib/google/apis/content_v2_1/classes.rb', line 9197

def 
  @external_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9204
9205
9206
9207
# File 'lib/google/apis/content_v2_1/classes.rb', line 9204

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