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.



7517
7518
7519
# File 'lib/google/apis/content_v2_1/classes.rb', line 7517

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)


7510
7511
7512
# File 'lib/google/apis/content_v2_1/classes.rb', line 7510

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)


7515
7516
7517
# File 'lib/google/apis/content_v2_1/classes.rb', line 7515

def 
  @external_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7522
7523
7524
7525
# File 'lib/google/apis/content_v2_1/classes.rb', line 7522

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