Class: Inttegro::PaymentMethod::Owner
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::Owner
- Defined in:
- lib/inttegro/payment_method/owner.rb
Overview
Owner identity captured during tokenization when provided
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
-
#address ⇒ Inttegro::PaymentMethod::OwnerAddress?
readonly
Postal address for the owner when available.
-
#name ⇒ String
readonly
Owner full legal name.
Instance Attribute Details
#address ⇒ Inttegro::PaymentMethod::OwnerAddress? (readonly)
Postal address for the owner when available
Optional in the API payload; omitted values default to nil. Wire name: address.
30 31 32 33 |
# File 'lib/inttegro/payment_method/owner.rb', line 30 class Owner < T::Struct const :address, T.nilable(Inttegro::PaymentMethod::OwnerAddress), default: nil const :name, String end |
#name ⇒ String (readonly)
Owner full legal name
Required in the API payload. Wire name: name.
30 31 32 33 |
# File 'lib/inttegro/payment_method/owner.rb', line 30 class Owner < T::Struct const :address, T.nilable(Inttegro::PaymentMethod::OwnerAddress), default: nil const :name, String end |