Class: Inttegro::BalanceTransaction::Response

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/balance_transaction/response.rb

Overview

Typed representation of the response 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

Instance Attribute Details

#transaction ⇒ Inttegro::BalanceTransaction (readonly)

Merchant balance entry caused by a payment, refund, or payout. type is the discriminator and describes the semantic source rather than the direction.

Required in the API payload. Wire name: transaction.



25
26
27
# File 'lib/inttegro/balance_transaction/response.rb', line 25

class Response < T::Struct
  const :transaction, Inttegro::BalanceTransaction
end