Class: Inttegro::Payment::PayoutConfiguration

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

Overview

Payout configuration for this payment

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::Payment::PayoutConfigurationDestination (readonly)

Where the funds will be paid out

Required in the API payload. Wire name: destination.



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

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

#enable_fx ⇒ Boolean (readonly)

Compatibility flag. Cross-currency payout execution is not currently available.

Required in the API payload. Wire name: enable_fx.

Returns:

  • (Boolean)


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

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