Package model
Class CreatePaymentInstrumentBankAccount
java.lang.Object
model.CreatePaymentInstrumentBankAccount
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-23T14:43:42.612114-07:00[America/Los_Angeles]")
public class CreatePaymentInstrumentBankAccount
extends Object
CreatePaymentInstrumentBankAccount
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of bank account.static classstatic enumType of `Payment Instrument`. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(String accountNumber) booleanCreate an instance of CreatePaymentInstrumentBankAccount given an JSON stringThe bank account number (no dashes in between numbers).The type of bank account.The routing number of the bank account.3 Letter country code (e.g.getName()The name of the bank account or card owner.getType()Type of `Payment Instrument`.inthashCode()voidsetAccountNumber(String accountNumber) voidvoidsetBankCode(String bankCode) voidsetCountry(String country) voidvoidtoJson()Convert an instance of CreatePaymentInstrumentBankAccount to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_ACCOUNT_TYPE
- See Also:
-
SERIALIZED_NAME_BANK_CODE
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreatePaymentInstrumentBankAccount
public CreatePaymentInstrumentBankAccount()
-
-
Method Details
-
name
-
getName
The name of the bank account or card owner.- Returns:
- name
-
setName
-
accountNumber
-
getAccountNumber
The bank account number (no dashes in between numbers).- Returns:
- accountNumber
-
setAccountNumber
-
accountType
public CreatePaymentInstrumentBankAccount accountType(CreatePaymentInstrumentBankAccount.AccountTypeEnum accountType) -
getAccountType
The type of bank account.- Returns:
- accountType
-
setAccountType
-
bankCode
-
getBankCode
The routing number of the bank account.- Returns:
- bankCode
-
setBankCode
-
country
-
getCountry
3 Letter country code (e.g. USA).- Returns:
- country
-
setCountry
-
type
-
getType
Type of `Payment Instrument`.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to CreatePaymentInstrumentBankAccount
-
fromJson
Create an instance of CreatePaymentInstrumentBankAccount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreatePaymentInstrumentBankAccount
- Throws:
IOException- if the JSON string is invalid with respect to CreatePaymentInstrumentBankAccount
-
toJson
Convert an instance of CreatePaymentInstrumentBankAccount to an JSON string- Returns:
- JSON string
-