Class: Straddle::Models::PaykeyEventV1WebhookEvent::Data::Balance
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::PaykeyEventV1WebhookEvent::Data::Balance
- Defined in:
- lib/straddle/models/paykey_event_v1_webhook_event.rb,
sig/straddle/models/paykey_event_v1_webhook_event.rbs
Overview
Instance Attribute Summary collapse
-
#account_balance ⇒ Float?
Most recently retrieved account balance in dollars.
- #status ⇒ Symbol, Straddle::Models::PaykeyBalanceRefreshStatus
-
#updated_at ⇒ Time?
Timestamp of the most recent account balance update.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
157 |
# File 'sig/straddle/models/paykey_event_v1_webhook_event.rbs', line 157
def initialize: (
|
Instance Attribute Details
#account_balance ⇒ Float?
Most recently retrieved account balance in dollars.
174 |
# File 'lib/straddle/models/paykey_event_v1_webhook_event.rb', line 174 optional :account_balance, Float, nil?: true |
#status ⇒ Symbol, Straddle::Models::PaykeyBalanceRefreshStatus
168 |
# File 'lib/straddle/models/paykey_event_v1_webhook_event.rb', line 168 required :status, enum: -> { Straddle::PaykeyBalanceRefreshStatus } |
#updated_at ⇒ Time?
Timestamp of the most recent account balance update.
180 |
# File 'lib/straddle/models/paykey_event_v1_webhook_event.rb', line 180 optional :updated_at, Time, nil?: true |
Instance Method Details
#to_hash ⇒ {
163 |
# File 'sig/straddle/models/paykey_event_v1_webhook_event.rbs', line 163
def to_hash: -> {
|