Class: Inttegro::Payout::Destinations

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payout/destinations.rb

Overview

Supported currency-to-financial-account destination assignments.

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

#ghs ⇒ String? (readonly)

Financial account that receives Ghana cedi payouts. Send an empty string to remove the assignment.

Optional in the API payload; omitted values default to nil. Wire name: ghs.

Returns:

  • (String, nil)


24
25
26
# File 'lib/inttegro/payout/destinations.rb', line 24

class Destinations < T::Struct
  const :ghs, T.nilable(String), default: nil
end