Class: Inttegro::Customer::UpdateRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Customer::UpdateRequest
- Defined in:
- lib/inttegro/customer/update_request.rb
Overview
Typed representation of the update request 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
-
#billing_address ⇒ Inttegro::Customer::AddressInput?
readonly
Value of the
billing_addressfield in the Inttegro API payload. -
#custom_data ⇒ Inttegro::CustomDataInput?
readonly
Merchant-defined values accepted on resource creation.
-
#customer_id ⇒ String
readonly
Value of the
customer_idfield in the Inttegro API payload. -
#email_address ⇒ String?
readonly
Value of the
email_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. -
#reference ⇒ String?
readonly
Value of the
referencefield in the Inttegro API payload. -
#shipping_address ⇒ Inttegro::Customer::AddressInput?
readonly
Value of the
shipping_addressfield in the Inttegro API payload. -
#suffix ⇒ String?
readonly
Value of the
suffixfield in the Inttegro API payload. -
#title ⇒ String?
readonly
Value of the
titlefield in the Inttegro API payload.
Instance Attribute Details
#billing_address ⇒ Inttegro::Customer::AddressInput? (readonly)
Value of the billing_address field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: billing_address.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |
#custom_data ⇒ Inttegro::CustomDataInput? (readonly)
Merchant-defined values accepted on resource creation. Values are serialized to strings before storage.
Optional in the API payload; omitted values default to nil. Wire name: custom_data.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |
#customer_id ⇒ String (readonly)
Value of the customer_id field in the Inttegro API payload.
Required in the API payload. Wire name: customer_id.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |
#email_address ⇒ String? (readonly)
Value of the email_address field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: email_address.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |
#name ⇒ String? (readonly)
Value of the name field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: name.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil 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.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |
#reference ⇒ String? (readonly)
Value of the reference field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: reference.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |
#shipping_address ⇒ Inttegro::Customer::AddressInput? (readonly)
Value of the shipping_address field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: shipping_address.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |
#suffix ⇒ String? (readonly)
Value of the suffix field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: suffix.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |
#title ⇒ String? (readonly)
Value of the title field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: title.
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/inttegro/customer/update_request.rb', line 80 class UpdateRequest < T::Struct const :billing_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :customer_id, String const :email_address, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :shipping_address, T.nilable(Inttegro::Customer::AddressInput), default: nil const :suffix, T.nilable(String), default: nil const :title, T.nilable(String), default: nil end |