Class: Inttegro::PaymentMethod::BillingDetailsInput
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::BillingDetailsInput
- Defined in:
- lib/inttegro/payment_method/billing_details_input.rb
Overview
Typed representation of the billing details 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
-
#address ⇒ Inttegro::PaymentMethod::AddressInput
readonly
Value of the
addressfield in the Inttegro API payload. -
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload. -
#phone_number ⇒ String?
readonly
Value of the
phone_numberfield in the Inttegro API payload.
Instance Attribute Details
#address ⇒ Inttegro::PaymentMethod::AddressInput (readonly)
Value of the address field in the Inttegro API payload.
Required in the API payload. Wire name: address.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/billing_details_input.rb', line 36 class BillingDetailsInput < T::Struct const :name, String const :phone_number, T.nilable(String), default: nil const :address, Inttegro::PaymentMethod::AddressInput end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/billing_details_input.rb', line 36 class BillingDetailsInput < T::Struct const :name, String const :phone_number, T.nilable(String), default: nil const :address, Inttegro::PaymentMethod::AddressInput end |
#phone_number ⇒ String? (readonly)
Value of the phone_number field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: phone_number.
36 37 38 39 40 |
# File 'lib/inttegro/payment_method/billing_details_input.rb', line 36 class BillingDetailsInput < T::Struct const :name, String const :phone_number, T.nilable(String), default: nil const :address, Inttegro::PaymentMethod::AddressInput end |