Class: Inttegro::Payment::ChildrenPolicyCapabilities

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payment/children_policy_capabilities.rb

Overview

Typed representation of the children policy capabilities 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

Instance Attribute Details

#currencies ⇒ Array<String>? (readonly)

Value of the currencies field in the Inttegro API payload.

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

Returns:

  • (Array<String>, nil)


30
31
32
33
# File 'lib/inttegro/payment/children_policy_capabilities.rb', line 30

class ChildrenPolicyCapabilities < T::Struct
  const :currencies, T.nilable(T::Array[String]), default: nil
  const :limits, T.nilable(Inttegro::Shared::PolicyLimits), default: nil
end

#limits ⇒ Inttegro::Shared::PolicyLimits? (readonly)

Value of the limits field in the Inttegro API payload.

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



30
31
32
33
# File 'lib/inttegro/payment/children_policy_capabilities.rb', line 30

class ChildrenPolicyCapabilities < T::Struct
  const :currencies, T.nilable(T::Array[String]), default: nil
  const :limits, T.nilable(Inttegro::Shared::PolicyLimits), default: nil
end