Class: Google::Apis::MerchantapiAccountsV1beta::LfpLink

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Required. The account ID by which this merchant is known to the LFP provider. Corresponds to the JSON property externalAccountId

Returns:

  • (String)


2092
2093
2094
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2092

def 
  @external_account_id
end

#lfp_providerString

Required. The resource name of the LFP provider. Format: lfpProviders/ lfp_provider` Corresponds to the JSON propertylfpProvider`

Returns:

  • (String)


2098
2099
2100
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2098

def lfp_provider
  @lfp_provider
end

#stateString

Output only. The state of the LFP link. Corresponds to the JSON property state

Returns:

  • (String)


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