Class: Inttegro::Customer::BalanceValue
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Customer::BalanceValue
- Defined in:
- lib/inttegro/customer/balance_value.rb
Overview
Typed representation of the balance value object in the Inttegro API.
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
-
#as_of ⇒ Time
readonly
Value of the
as_offield in the Inttegro API payload. -
#available ⇒ Inttegro::Money::Amount
readonly
Value of the
availablefield in the Inttegro API payload.
Instance Attribute Details
#as_of ⇒ Time (readonly)
Value of the as_of field in the Inttegro API payload.
Required in the API payload. Wire name: as_of.
30 31 32 33 |
# File 'lib/inttegro/customer/balance_value.rb', line 30 class BalanceValue < T::Struct const :as_of, Time const :available, Inttegro::Money::Amount end |
#available ⇒ Inttegro::Money::Amount (readonly)
Value of the available field in the Inttegro API payload.
Required in the API payload. Wire name: available.
30 31 32 33 |
# File 'lib/inttegro/customer/balance_value.rb', line 30 class BalanceValue < T::Struct const :as_of, Time const :available, Inttegro::Money::Amount end |