Class: Lithic::Models::Payment::RelatedAccountTokens

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/payment.rb,
sig/lithic/models/payment.rbs

Overview

See Also:

  • Lithic::Models::Payment#related_account_tokens

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeObject



500
# File 'sig/lithic/models/payment.rbs', line 500

def initialize: (

Instance Attribute Details

#account_tokenString?

Globally unique identifier for the account

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


678
# File 'lib/lithic/models/payment.rb', line 678

required :account_token, String, nil?: true

#business_account_tokenString?

Globally unique identifier for the business account

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


684
# File 'lib/lithic/models/payment.rb', line 684

required :business_account_token, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


505
# File 'sig/lithic/models/payment.rbs', line 505

def to_hash: -> {