Class: Inttegro::PaymentMethod::ChildrenPolicyPaymentMethodCapabilities

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payment_method/children_policy_payment_method_capabilities.rb

Overview

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

#confirms_use ⇒ Array<Boolean> (readonly)

Value of the confirms_use field in the Inttegro API payload.

Required in the API payload. Wire name: confirms_use.

Returns:

  • (Array<Boolean>)


30
31
32
33
# File 'lib/inttegro/payment_method/children_policy_payment_method_capabilities.rb', line 30

class ChildrenPolicyPaymentMethodCapabilities < T::Struct
  const :enabled, T::Array[T::Boolean]
  const :confirms_use, T::Array[T::Boolean]
end

#enabled ⇒ Array<Boolean> (readonly)

Value of the enabled field in the Inttegro API payload.

Required in the API payload. Wire name: enabled.

Returns:

  • (Array<Boolean>)


30
31
32
33
# File 'lib/inttegro/payment_method/children_policy_payment_method_capabilities.rb', line 30

class ChildrenPolicyPaymentMethodCapabilities < T::Struct
  const :enabled, T::Array[T::Boolean]
  const :confirms_use, T::Array[T::Boolean]
end