Class: Inttegro::Payout::ChildrenPolicyCapabilities

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payout/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

#bt_aging_spec ⇒ Array<Inttegro::Shared::PolicyBTAgingSpec>? (readonly)

Value of the bt_aging_spec field in the Inttegro API payload.

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

Returns:



37
38
39
40
41
# File 'lib/inttegro/payout/children_policy_capabilities.rb', line 37

class ChildrenPolicyCapabilities < T::Struct
  const :enabled, T.nilable(T::Array[T::Boolean]), default: nil
  const :limits, T.nilable(Inttegro::Shared::PolicyLimits), default: nil
  const :bt_aging_spec, T.nilable(T::Array[Inttegro::Shared::PolicyBTAgingSpec]), default: nil
end

#enabled ⇒ Array<Boolean>? (readonly)

Value of the enabled field in the Inttegro API payload.

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

Returns:

  • (Array<Boolean>, nil)


37
38
39
40
41
# File 'lib/inttegro/payout/children_policy_capabilities.rb', line 37

class ChildrenPolicyCapabilities < T::Struct
  const :enabled, T.nilable(T::Array[T::Boolean]), default: nil
  const :limits, T.nilable(Inttegro::Shared::PolicyLimits), default: nil
  const :bt_aging_spec, T.nilable(T::Array[Inttegro::Shared::PolicyBTAgingSpec]), 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.



37
38
39
40
41
# File 'lib/inttegro/payout/children_policy_capabilities.rb', line 37

class ChildrenPolicyCapabilities < T::Struct
  const :enabled, T.nilable(T::Array[T::Boolean]), default: nil
  const :limits, T.nilable(Inttegro::Shared::PolicyLimits), default: nil
  const :bt_aging_spec, T.nilable(T::Array[Inttegro::Shared::PolicyBTAgingSpec]), default: nil
end