Class: Inttegro::BalanceTransaction::RefundAllocationRefund
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::BalanceTransaction::RefundAllocationRefund
- Defined in:
- lib/inttegro/balance_transaction/refund_allocation_refund.rb
Overview
Typed representation of the refund allocation refund 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
-
#amount ⇒ Inttegro::BalanceTransaction::Amount
readonly
Value of the
amountfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload.
Instance Attribute Details
#amount ⇒ Inttegro::BalanceTransaction::Amount (readonly)
Value of the amount field in the Inttegro API payload.
Required in the API payload. Wire name: amount.
30 31 32 33 |
# File 'lib/inttegro/balance_transaction/refund_allocation_refund.rb', line 30 class RefundAllocationRefund < T::Struct const :amount, Inttegro::BalanceTransaction::Amount const :id, String end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
30 31 32 33 |
# File 'lib/inttegro/balance_transaction/refund_allocation_refund.rb', line 30 class RefundAllocationRefund < T::Struct const :amount, Inttegro::BalanceTransaction::Amount const :id, String end |