Class: Inttegro::Payout::AmountLimitsInput

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

Overview

Inclusive payout amount range expressed in integral minor units.

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

#max ⇒ Integer (readonly)

Value of the max field in the Inttegro API payload.

Required in the API payload. Wire name: max.

Returns:

  • (Integer)


29
30
31
32
# File 'lib/inttegro/payout/amount_limits_input.rb', line 29

class AmountLimitsInput < T::Struct
  const :min, Integer
  const :max, Integer
end

#min ⇒ Integer (readonly)

Value of the min field in the Inttegro API payload.

Required in the API payload. Wire name: min.

Returns:

  • (Integer)


29
30
31
32
# File 'lib/inttegro/payout/amount_limits_input.rb', line 29

class AmountLimitsInput < T::Struct
  const :min, Integer
  const :max, Integer
end