Class: Inttegro::FinancialAccount::BankRequestBankAccountGhanaBankAccount

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/financial_account/bank_request_bank_account_ghana_bank_account.rb

Overview

Typed representation of the bank request 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

Instance Attribute Details

#holder ⇒ Inttegro::FinancialAccount::OwnerInput? (readonly)

Value of the holder field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: holder.



43
44
45
46
47
48
# File 'lib/inttegro/financial_account/bank_request_bank_account_ghana_bank_account.rb', line 43

class BankRequestBankAccountGhanaBankAccount < T::Struct
  const :holder, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil
  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.

Returns:

  • (String)


43
44
45
46
47
48
# File 'lib/inttegro/financial_account/bank_request_bank_account_ghana_bank_account.rb', line 43

class BankRequestBankAccountGhanaBankAccount < T::Struct
  const :holder, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil
  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.

Returns:

  • (String, nil)


43
44
45
46
47
48
# File 'lib/inttegro/financial_account/bank_request_bank_account_ghana_bank_account.rb', line 43

class BankRequestBankAccountGhanaBankAccount < T::Struct
  const :holder, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil
  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.

Returns:

  • (String, nil)


43
44
45
46
47
48
# File 'lib/inttegro/financial_account/bank_request_bank_account_ghana_bank_account.rb', line 43

class BankRequestBankAccountGhanaBankAccount < T::Struct
  const :holder, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil
  const :number, String
  const :sort_code, T.nilable(String), default: nil
  const :swift_code, T.nilable(String), default: nil
end