Class: Inttegro::Shared::PolicyAmountRange
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::PolicyAmountRange
- Defined in:
- lib/inttegro/shared/policy_amount_range.rb
Overview
Typed representation of the policy amount range object in the Inttegro API.
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
-
#max ⇒ Integer
readonly
Inclusive maximum amount in minor currency units.
-
#min ⇒ Integer
readonly
Inclusive minimum amount in minor currency units.
Instance Attribute Details
#max ⇒ Integer (readonly)
Inclusive maximum amount in minor currency units.
Required in the API payload. Wire name: max.
29 30 31 32 |
# File 'lib/inttegro/shared/policy_amount_range.rb', line 29 class PolicyAmountRange < T::Struct const :min, Integer const :max, Integer end |
#min ⇒ Integer (readonly)
Inclusive minimum amount in minor currency units.
Required in the API payload. Wire name: min.
29 30 31 32 |
# File 'lib/inttegro/shared/policy_amount_range.rb', line 29 class PolicyAmountRange < T::Struct const :min, Integer const :max, Integer end |