Class: Lithic::Models::Payment::MethodAttributes::StablecoinMethodAttributes
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::Payment::MethodAttributes::StablecoinMethodAttributes
- Defined in:
- lib/lithic/models/payment.rb,
sig/lithic/models/payment.rbs
Instance Attribute Summary collapse
-
#chain ⇒ String
Blockchain the stablecoin transfer settled on.
-
#transaction_hash ⇒ String?
On-chain transaction hash of the transfer.
Instance Method Summary collapse
-
#initialize ⇒ StablecoinMethodAttributes
constructor
A new instance of StablecoinMethodAttributes.
- #to_hash ⇒ { chain: String, transaction_hash: String? }
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
#initialize ⇒ StablecoinMethodAttributes
Returns a new instance of StablecoinMethodAttributes.
525 |
# File 'sig/lithic/models/payment.rbs', line 525
def initialize: (chain: String, ?transaction_hash: String?) -> void
|
Instance Attribute Details
#chain ⇒ String
Blockchain the stablecoin transfer settled on
732 |
# File 'lib/lithic/models/payment.rb', line 732 required :chain, String |
#transaction_hash ⇒ String?
On-chain transaction hash of the transfer. Null until the transfer has settled on chain
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? }
527 |
# File 'sig/lithic/models/payment.rbs', line 527
def to_hash: -> { chain: String, transaction_hash: String? }
|