Class: Inttegro::Payment::OperatingPolicyCapabilitiesInput

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

Overview

Typed representation of the operating policy capabilities input 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/operating_policy_capabilities_input.rb', line 30

class OperatingPolicyCapabilitiesInput < 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/operating_policy_capabilities_input.rb', line 30

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