Class: Inttegro::BalanceTransaction::PayoutConfiguration

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

Overview

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

#destination ⇒ Inttegro::BalanceTransaction::PayoutConfigurationDestination (readonly)

Value of the destination field in the Inttegro API payload.

Required in the API payload. Wire name: destination.



30
31
32
33
# File 'lib/inttegro/balance_transaction/payout_configuration.rb', line 30

class PayoutConfiguration < T::Struct
  const :enable_fx, T::Boolean
  const :destination, Inttegro::BalanceTransaction::PayoutConfigurationDestination
end

#enable_fx ⇒ Boolean (readonly)

Value of the enable_fx field in the Inttegro API payload.

Required in the API payload. Wire name: enable_fx.

Returns:

  • (Boolean)


30
31
32
33
# File 'lib/inttegro/balance_transaction/payout_configuration.rb', line 30

class PayoutConfiguration < T::Struct
  const :enable_fx, T::Boolean
  const :destination, Inttegro::BalanceTransaction::PayoutConfigurationDestination
end