Class: Inttegro::PaymentMethod::UpdateRequestOwner

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

Overview

Owner details to patch onto the payment method.

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::UpdateRequestOwnerAddress? (readonly)

Postal address for the payment method owner.

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



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

class UpdateRequestOwner < T::Struct
  const :name, T.nilable(String), default: nil
  const :address, T.nilable(Inttegro::PaymentMethod::UpdateRequestOwnerAddress), default: nil
end

#name ⇒ String? (readonly)

Full legal name of the account holder.

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

Returns:

  • (String, nil)


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

class UpdateRequestOwner < T::Struct
  const :name, T.nilable(String), default: nil
  const :address, T.nilable(Inttegro::PaymentMethod::UpdateRequestOwnerAddress), default: nil
end