Class: Straddle::Models::PaykeyBalanceDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::PaykeyBalanceDetails
- Defined in:
- lib/straddle/models/paykey_balance_details.rb,
sig/straddle/models/paykey_balance_details.rbs
Instance Attribute Summary collapse
-
#account_balance ⇒ Integer?
Most recently retrieved account balance in cents.
- #status ⇒ Symbol, Straddle::Models::PaykeyBalanceRefreshStatus
-
#updated_at ⇒ Time?
Timestamp of the most recent account balance update.
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
#initialize(status:, account_balance: nil, updated_at: nil) ⇒ Object
|
|
# File 'lib/straddle/models/paykey_balance_details.rb', line 23
|
Instance Attribute Details
#account_balance ⇒ Integer?
Most recently retrieved account balance in cents.
15 |
# File 'lib/straddle/models/paykey_balance_details.rb', line 15 optional :account_balance, Integer, nil?: true |
#status ⇒ Symbol, Straddle::Models::PaykeyBalanceRefreshStatus
9 |
# File 'lib/straddle/models/paykey_balance_details.rb', line 9 required :status, enum: -> { Straddle::PaykeyBalanceRefreshStatus } |
#updated_at ⇒ Time?
Timestamp of the most recent account balance update.
21 |
# File 'lib/straddle/models/paykey_balance_details.rb', line 21 optional :updated_at, Time, nil?: true |
Instance Method Details
#to_hash ⇒ {
23 |
# File 'sig/straddle/models/paykey_balance_details.rbs', line 23
def to_hash: -> {
|