Class: Lithic::Models::Payment::MethodAttributes::StablecoinMethodAttributes

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

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

#initializeStablecoinMethodAttributes

Returns a new instance of StablecoinMethodAttributes.

Parameters:

  • chain: (String)
  • transaction_hash: (String, nil)


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

def initialize: (chain: String, ?transaction_hash: String?) -> void

Instance Attribute Details

#chainString

Blockchain the stablecoin transfer settled on

Parameters:

  • value (String)

Returns:

  • (String)


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

required :chain, String

#transaction_hashString?

On-chain transaction hash of the transfer. Null until the transfer has settled on chain

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :transaction_hash, String, nil?: true

Instance Method Details

#to_hash{ chain: String, transaction_hash: String? }

Returns:

  • ({ chain: String, transaction_hash: String? })


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

def to_hash: -> { chain: String, transaction_hash: String? }