Class: Google::Apis::MerchantapiAccountsV1beta::LfpLink
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::LfpLink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
Collection of information related to the LFP link.
Instance Attribute Summary collapse
-
#external_account_id ⇒ String
Required.
-
#lfp_provider ⇒ String
Required.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfpLink
constructor
A new instance of LfpLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LfpLink
Returns a new instance of LfpLink.
2105 2106 2107 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#external_account_id ⇒ String
Required. The account ID by which this merchant is known to the LFP provider.
Corresponds to the JSON property externalAccountId
2092 2093 2094 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2092 def external_account_id @external_account_id end |
#lfp_provider ⇒ String
Required. The resource name of the LFP provider. Format: lfpProviders/
lfp_provider`
Corresponds to the JSON propertylfpProvider`
2098 2099 2100 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2098 def lfp_provider @lfp_provider end |
#state ⇒ String
Output only. The state of the LFP link.
Corresponds to the JSON property state
2103 2104 2105 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2103 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2110 2111 2112 2113 2114 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2110 def update!(**args) @external_account_id = args[:external_account_id] if args.key?(:external_account_id) @lfp_provider = args[:lfp_provider] if args.key?(:lfp_provider) @state = args[:state] if args.key?(:state) end |