Class: CheckoutSdk::Balances::CurrencyAccountBalance
- Inherits:
-
Object
- Object
- CheckoutSdk::Balances::CurrencyAccountBalance
- Defined in:
- lib/checkout_sdk/balances/currency_account_balance.rb
Overview
A single currency account’s balance details (swagger: CurrencyAccountBalance).
Instance Attribute Summary collapse
- #balances ⇒ BalanceValues
-
#balances_as_of ⇒ String
UTC datetime (RFC 3339) reflecting when balance values were fetched.
-
#currency_account_id ⇒ String
The unique identifier of the currency account (sub-account).
- #descriptor ⇒ String
- #holding_currency ⇒ String
Instance Attribute Details
#balances ⇒ BalanceValues
18 19 20 21 22 23 24 |
# File 'lib/checkout_sdk/balances/currency_account_balance.rb', line 18 class CurrencyAccountBalance attr_accessor :currency_account_id, :descriptor, :holding_currency, :balances_as_of, :balances end |
#balances_as_of ⇒ String
Returns UTC datetime (RFC 3339) reflecting when balance values were fetched.
18 19 20 21 22 23 24 |
# File 'lib/checkout_sdk/balances/currency_account_balance.rb', line 18 class CurrencyAccountBalance attr_accessor :currency_account_id, :descriptor, :holding_currency, :balances_as_of, :balances end |
#currency_account_id ⇒ String
The unique identifier of the currency account (sub-account). Returned only when the request is made with ‘withCurrencyAccountId=true`.
18 19 20 21 22 23 24 |
# File 'lib/checkout_sdk/balances/currency_account_balance.rb', line 18 class CurrencyAccountBalance attr_accessor :currency_account_id, :descriptor, :holding_currency, :balances_as_of, :balances end |
#descriptor ⇒ String
18 19 20 21 22 23 24 |
# File 'lib/checkout_sdk/balances/currency_account_balance.rb', line 18 class CurrencyAccountBalance attr_accessor :currency_account_id, :descriptor, :holding_currency, :balances_as_of, :balances end |
#holding_currency ⇒ String
Returns Common::Currency.
18 19 20 21 22 23 24 |
# File 'lib/checkout_sdk/balances/currency_account_balance.rb', line 18 class CurrencyAccountBalance attr_accessor :currency_account_id, :descriptor, :holding_currency, :balances_as_of, :balances end |