Class: Lithic::Models::FinancialEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::FinancialEvent
- Defined in:
- lib/lithic/models/financial_event.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
Amount of the financial event that has been settled in the currency’s smallest unit (e.g., cents).
-
#created ⇒ Time?
Date and time when the financial event occurred.
-
#result ⇒ Symbol, ...
APPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network.
-
#token ⇒ String?
Globally unique identifier.
- #type ⇒ Symbol, ...
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(token: nil, amount: nil, created: nil, result: nil, type: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see FinancialEvent for more details.
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(token: nil, amount: nil, created: nil, result: nil, type: nil) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::FinancialEvent for more details.
Financial Event
|
|
# File 'lib/lithic/models/financial_event.rb', line 37
|
Instance Attribute Details
#amount ⇒ Integer?
Amount of the financial event that has been settled in the currency’s smallest unit (e.g., cents).
17 |
# File 'lib/lithic/models/financial_event.rb', line 17 optional :amount, Integer |
#created ⇒ Time?
Date and time when the financial event occurred. UTC time zone.
23 |
# File 'lib/lithic/models/financial_event.rb', line 23 optional :created, Time |
#result ⇒ Symbol, ...
APPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network.
30 |
# File 'lib/lithic/models/financial_event.rb', line 30 optional :result, enum: -> { Lithic::FinancialEvent::Result } |
#token ⇒ String?
Globally unique identifier.
10 |
# File 'lib/lithic/models/financial_event.rb', line 10 optional :token, String |
#type ⇒ Symbol, ...
35 |
# File 'lib/lithic/models/financial_event.rb', line 35 optional :type, enum: -> { Lithic::FinancialEvent::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/financial_event.rb', line 63
|