Class: Inttegro::FinancialAccount::UpdateRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::UpdateRequest
- Defined in:
- lib/inttegro/financial_account/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
-
#account_id ⇒ String
readonly
Value of the
account_idfield in the Inttegro API payload. -
#custom_data ⇒ Inttegro::CustomDataPatch?
readonly
Changes to merchant-defined data.
-
#description ⇒ String?
readonly
Value of the
descriptionfield in the Inttegro API payload. -
#label ⇒ String?
readonly
Value of the
labelfield in the Inttegro API payload. -
#owner ⇒ Inttegro::FinancialAccount::OwnerUpdateInput?
readonly
Value of the
ownerfield in the Inttegro API payload. -
#reference ⇒ String?
readonly
Value of the
referencefield in the Inttegro API payload.
Instance Attribute Details
#account_id ⇒ String (readonly)
Value of the account_id field in the Inttegro API payload.
Required in the API payload. Wire name: account_id.
56 57 58 59 60 61 62 63 |
# File 'lib/inttegro/financial_account/update_request.rb', line 56 class UpdateRequest < T::Struct const :account_id, String const :custom_data, T.nilable(Inttegro::CustomDataPatch), default: nil const :description, T.nilable(String), default: nil const :label, T.nilable(String), default: nil const :owner, T.nilable(Inttegro::FinancialAccount::OwnerUpdateInput), default: nil const :reference, T.nilable(String), default: nil end |
#custom_data ⇒ Inttegro::CustomDataPatch? (readonly)
Changes to merchant-defined data. JSON null removes a key; every other JSON value is serialized to a string.
Optional in the API payload; omitted values default to nil. Wire name: custom_data.
56 57 58 59 60 61 62 63 |
# File 'lib/inttegro/financial_account/update_request.rb', line 56 class UpdateRequest < T::Struct const :account_id, String const :custom_data, T.nilable(Inttegro::CustomDataPatch), default: nil const :description, T.nilable(String), default: nil const :label, T.nilable(String), default: nil const :owner, T.nilable(Inttegro::FinancialAccount::OwnerUpdateInput), default: nil const :reference, T.nilable(String), default: nil end |
#description ⇒ String? (readonly)
Value of the description field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: description.
56 57 58 59 60 61 62 63 |
# File 'lib/inttegro/financial_account/update_request.rb', line 56 class UpdateRequest < T::Struct const :account_id, String const :custom_data, T.nilable(Inttegro::CustomDataPatch), default: nil const :description, T.nilable(String), default: nil const :label, T.nilable(String), default: nil const :owner, T.nilable(Inttegro::FinancialAccount::OwnerUpdateInput), default: nil const :reference, T.nilable(String), default: nil end |
#label ⇒ String? (readonly)
Value of the label field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: label.
56 57 58 59 60 61 62 63 |
# File 'lib/inttegro/financial_account/update_request.rb', line 56 class UpdateRequest < T::Struct const :account_id, String const :custom_data, T.nilable(Inttegro::CustomDataPatch), default: nil const :description, T.nilable(String), default: nil const :label, T.nilable(String), default: nil const :owner, T.nilable(Inttegro::FinancialAccount::OwnerUpdateInput), default: nil const :reference, T.nilable(String), default: nil end |
#owner ⇒ Inttegro::FinancialAccount::OwnerUpdateInput? (readonly)
Value of the owner field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: owner.
56 57 58 59 60 61 62 63 |
# File 'lib/inttegro/financial_account/update_request.rb', line 56 class UpdateRequest < T::Struct const :account_id, String const :custom_data, T.nilable(Inttegro::CustomDataPatch), default: nil const :description, T.nilable(String), default: nil const :label, T.nilable(String), default: nil const :owner, T.nilable(Inttegro::FinancialAccount::OwnerUpdateInput), default: nil const :reference, 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.
56 57 58 59 60 61 62 63 |
# File 'lib/inttegro/financial_account/update_request.rb', line 56 class UpdateRequest < T::Struct const :account_id, String const :custom_data, T.nilable(Inttegro::CustomDataPatch), default: nil const :description, T.nilable(String), default: nil const :label, T.nilable(String), default: nil const :owner, T.nilable(Inttegro::FinancialAccount::OwnerUpdateInput), default: nil const :reference, T.nilable(String), default: nil end |