Class: Inttegro::PaymentMethod::OperatingPolicyPaymentMethodCapabilities

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

Overview

Typed representation of the operating 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 ⇒ Boolean (readonly)

Value of the confirms_use field in the Inttegro API payload.

Required in the API payload. Wire name: confirms_use.

Returns:

  • (Boolean)


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

class OperatingPolicyPaymentMethodCapabilities < T::Struct
  const :enabled, T::Boolean
  const :confirms_use, T::Boolean
end

#enabled ⇒ Boolean (readonly)

Value of the enabled field in the Inttegro API payload.

Required in the API payload. Wire name: enabled.

Returns:

  • (Boolean)


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

class OperatingPolicyPaymentMethodCapabilities < T::Struct
  const :enabled, T::Boolean
  const :confirms_use, T::Boolean
end