Class: Inttegro::Payout::SettingsLimits

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

Overview

Platform limits applied to payouts.

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

#amount ⇒ Hash{String => Inttegro::Payout::AmountLimits} (readonly)

Inclusive payout amount ranges keyed by lowercase ISO currency code.

Required in the API payload. Wire name: amount.

Returns:



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

class SettingsLimits < T::Struct
  const :amount, T::Hash[String, Inttegro::Payout::AmountLimits]
end