Class: Lithic::Models::Transaction::Event::Amounts
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::Transaction::Event::Amounts
- Defined in:
- lib/lithic/models/transaction.rb
Overview
Defined Under Namespace
Classes: Cardholder, Merchant, Settlement
Instance Attribute Summary collapse
- #cardholder ⇒ Lithic::Models::Transaction::Event::Amounts::Cardholder
- #merchant ⇒ Lithic::Models::Transaction::Event::Amounts::Merchant
- #settlement ⇒ Lithic::Models::Transaction::Event::Amounts::Settlement?
Instance Method Summary collapse
- #initialize(amount:, currency:) ⇒ Object constructor
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(amount:, currency:) ⇒ Object
|
|
# File 'lib/lithic/models/transaction.rb', line 826
|
Instance Attribute Details
#cardholder ⇒ Lithic::Models::Transaction::Event::Amounts::Cardholder
814 |
# File 'lib/lithic/models/transaction.rb', line 814 required :cardholder, -> { Lithic::Transaction::Event::Amounts::Cardholder } |
#merchant ⇒ Lithic::Models::Transaction::Event::Amounts::Merchant
819 |
# File 'lib/lithic/models/transaction.rb', line 819 required :merchant, -> { Lithic::Transaction::Event::Amounts::Merchant } |
#settlement ⇒ Lithic::Models::Transaction::Event::Amounts::Settlement?
824 |
# File 'lib/lithic/models/transaction.rb', line 824 required :settlement, -> { Lithic::Transaction::Event::Amounts::Settlement }, nil?: true |