Class: Inttegro::Payment::MethodSnapshotBankAccountGhanaBankAccount
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payment::MethodSnapshotBankAccountGhanaBankAccount
- Defined in:
- lib/inttegro/payment/method_snapshot_bank_account_ghana_bank_account.rb
Overview
Typed representation of the method snapshot bank account ghana bank account 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_number ⇒ String
readonly
Value of the
account_numberfield in the Inttegro API payload. -
#branch ⇒ String?
readonly
Value of the
branchfield in the Inttegro API payload. -
#name ⇒ String?
readonly
Value of the
namefield 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
#account_number ⇒ String (readonly)
Value of the account_number field in the Inttegro API payload.
Required in the API payload. Wire name: account_number.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/payment/method_snapshot_bank_account_ghana_bank_account.rb', line 48 class MethodSnapshotBankAccountGhanaBankAccount < T::Struct const :account_number, String const :branch, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :sort_code, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#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.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/payment/method_snapshot_bank_account_ghana_bank_account.rb', line 48 class MethodSnapshotBankAccountGhanaBankAccount < T::Struct const :account_number, String const :branch, T.nilable(String), default: nil const :name, T.nilable(String), default: nil 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.
Optional in the API payload; omitted values default to nil. Wire name: name.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/payment/method_snapshot_bank_account_ghana_bank_account.rb', line 48 class MethodSnapshotBankAccountGhanaBankAccount < T::Struct const :account_number, String const :branch, T.nilable(String), default: nil const :name, T.nilable(String), default: nil 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.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/payment/method_snapshot_bank_account_ghana_bank_account.rb', line 48 class MethodSnapshotBankAccountGhanaBankAccount < T::Struct const :account_number, String const :branch, T.nilable(String), default: nil const :name, T.nilable(String), default: nil 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.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/payment/method_snapshot_bank_account_ghana_bank_account.rb', line 48 class MethodSnapshotBankAccountGhanaBankAccount < T::Struct const :account_number, String const :branch, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :sort_code, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |