Class: Inttegro::Shared::BillingDetails
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::BillingDetails
- Defined in:
- lib/inttegro/shared/billing_details.rb
Overview
Typed representation of the billing details 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::Shared::Address?
readonly
Value of the
addressfield in the Inttegro API payload. -
#email_address ⇒ String
readonly
Billing email address.
-
#name ⇒ String
readonly
Billing contact name.
-
#phone_number ⇒ String
readonly
Billing phone number.
Instance Attribute Details
#address ⇒ Inttegro::Shared::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.
42 43 44 45 46 47 |
# File 'lib/inttegro/shared/billing_details.rb', line 42 class BillingDetails < T::Struct const :name, String const :email_address, String const :phone_number, String const :address, T.nilable(Inttegro::Shared::Address), default: nil end |
#email_address ⇒ String (readonly)
Billing email address
Required in the API payload. Wire name: email_address.
42 43 44 45 46 47 |
# File 'lib/inttegro/shared/billing_details.rb', line 42 class BillingDetails < T::Struct const :name, String const :email_address, String const :phone_number, String const :address, T.nilable(Inttegro::Shared::Address), default: nil end |
#name ⇒ String (readonly)
Billing contact name
Required in the API payload. Wire name: name.
42 43 44 45 46 47 |
# File 'lib/inttegro/shared/billing_details.rb', line 42 class BillingDetails < T::Struct const :name, String const :email_address, String const :phone_number, String const :address, T.nilable(Inttegro::Shared::Address), default: nil end |
#phone_number ⇒ String (readonly)
Billing phone number
Required in the API payload. Wire name: phone_number.
42 43 44 45 46 47 |
# File 'lib/inttegro/shared/billing_details.rb', line 42 class BillingDetails < T::Struct const :name, String const :email_address, String const :phone_number, String const :address, T.nilable(Inttegro::Shared::Address), default: nil end |