Class: Inttegro::Payment::BillingDetailsOwner
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payment::BillingDetailsOwner
- Defined in:
- lib/inttegro/payment/billing_details_owner.rb
Overview
Typed representation of the billing details owner 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
-
#address ⇒ Inttegro::Order::Address?
readonly
Value of the
addressfield in the Inttegro API payload. -
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload.
Instance Attribute Details
#address ⇒ Inttegro::Order::Address? (readonly)
Value of the address field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: address.
30 31 32 33 |
# File 'lib/inttegro/payment/billing_details_owner.rb', line 30 class BillingDetailsOwner < T::Struct const :name, String const :address, T.nilable(Inttegro::Order::Address), default: nil end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
30 31 32 33 |
# File 'lib/inttegro/payment/billing_details_owner.rb', line 30 class BillingDetailsOwner < T::Struct const :name, String const :address, T.nilable(Inttegro::Order::Address), default: nil end |