Class: Inttegro::BankAccount::Created
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::BankAccount::Created
- Defined in:
- lib/inttegro/bank_account/created.rb
Overview
Typed representation of the created 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
-
#branch ⇒ String?
readonly
Value of the
branchfield in the Inttegro API payload. -
#holder ⇒ Inttegro::FinancialAccount::CreatedOwner
readonly
Value of the
holderfield in the Inttegro API payload. -
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload. -
#number ⇒ String
readonly
Value of the
numberfield in the Inttegro API payload. -
#sort_code ⇒ String?
readonly
Value of the
sort_codefield in the Inttegro API payload. -
#swift_code ⇒ String?
readonly
Value of the
swift_codefield in the Inttegro API payload.
Instance Attribute Details
#branch ⇒ String? (readonly)
Value of the branch field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: branch.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/bank_account/created.rb', line 54 class Created < T::Struct const :branch, T.nilable(String), default: nil const :holder, Inttegro::FinancialAccount::CreatedOwner const :name, String const :number, String const :sort_code, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#holder ⇒ Inttegro::FinancialAccount::CreatedOwner (readonly)
Value of the holder field in the Inttegro API payload.
Required in the API payload. Wire name: holder.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/bank_account/created.rb', line 54 class Created < T::Struct const :branch, T.nilable(String), default: nil const :holder, Inttegro::FinancialAccount::CreatedOwner const :name, String const :number, String const :sort_code, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/bank_account/created.rb', line 54 class Created < T::Struct const :branch, T.nilable(String), default: nil const :holder, Inttegro::FinancialAccount::CreatedOwner const :name, String const :number, String const :sort_code, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#number ⇒ String (readonly)
Value of the number field in the Inttegro API payload.
Required in the API payload. Wire name: number.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/bank_account/created.rb', line 54 class Created < T::Struct const :branch, T.nilable(String), default: nil const :holder, Inttegro::FinancialAccount::CreatedOwner const :name, String const :number, String const :sort_code, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#sort_code ⇒ String? (readonly)
Value of the sort_code field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: sort_code.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/bank_account/created.rb', line 54 class Created < T::Struct const :branch, T.nilable(String), default: nil const :holder, Inttegro::FinancialAccount::CreatedOwner const :name, String const :number, String const :sort_code, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#swift_code ⇒ String? (readonly)
Value of the swift_code field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: swift_code.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/bank_account/created.rb', line 54 class Created < T::Struct const :branch, T.nilable(String), default: nil const :holder, Inttegro::FinancialAccount::CreatedOwner const :name, String const :number, String const :sort_code, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |