Class: Inttegro::Payout::LimitValue

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

Overview

A payout limit in the currency's smallest unit. The enclosing map key identifies the currency.

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

#value ⇒ Integer (readonly)

Value of the value field in the Inttegro API payload.

Required in the API payload. Wire name: value.

Returns:

  • (Integer)


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

class LimitValue < T::Struct
  const :value, Integer
end