Class: Inttegro::BalanceTransaction::PendingAmount
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::BalanceTransaction::PendingAmount
- Defined in:
- lib/inttegro/balance_transaction/pending_amount.rb
Overview
Amount temporarily unavailable because a refund or payout is unresolved.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#currency ⇒ String
readonly
Currency code as stored on the transaction.
-
#value ⇒ Integer
readonly
Unsigned amount in the currency's smallest unit.
Instance Attribute Details
#currency ⇒ String (readonly)
Currency code as stored on the transaction
Required in the API payload. Wire name: currency.
29 30 31 32 |
# File 'lib/inttegro/balance_transaction/pending_amount.rb', line 29 class PendingAmount < T::Struct const :currency, String const :value, Integer end |
#value ⇒ Integer (readonly)
Unsigned amount in the currency's smallest unit
Required in the API payload. Wire name: value.
29 30 31 32 |
# File 'lib/inttegro/balance_transaction/pending_amount.rb', line 29 class PendingAmount < T::Struct const :currency, String const :value, Integer end |