Class: Inttegro::PaymentMethod::OwnerInput

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

Overview

Typed representation of the owner 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

#address ⇒ Inttegro::PaymentMethod::OwnerInputAddress (readonly)

Value of the address field in the Inttegro API payload.

Required in the API payload. Wire name: address.



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

class OwnerInput < T::Struct
  const :address, Inttegro::PaymentMethod::OwnerInputAddress
  const :name, String
end

#name ⇒ String (readonly)

Payment method owner's name.

Required in the API payload. Wire name: name.

Returns:

  • (String)


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

class OwnerInput < T::Struct
  const :address, Inttegro::PaymentMethod::OwnerInputAddress
  const :name, String
end