Package com.adyen.model.transfers
Class BRLocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.transfers.BRLocalAccountIdentification
-
public class BRLocalAccountIdentification extends Object
BRLocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBRLocalAccountIdentification.TypeEnum**brLocal**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_BANK_CODEstatic StringJSON_PROPERTY_BRANCH_NUMBERstatic StringJSON_PROPERTY_ISPBstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description BRLocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BRLocalAccountIdentificationaccountNumber(String accountNumber)The bank account number, without separators or whitespace.BRLocalAccountIdentificationbankCode(String bankCode)The 3-digit bank code, with leading zeros.BRLocalAccountIdentificationbranchNumber(String branchNumber)The bank account branch number, without separators or whitespace.booleanequals(Object o)Return true if this BRLocalAccountIdentification object is equal to o.static BRLocalAccountIdentificationfromJson(String jsonString)Create an instance of BRLocalAccountIdentification given an JSON stringStringgetAccountNumber()The bank account number, without separators or whitespace.StringgetBankCode()The 3-digit bank code, with leading zeros.StringgetBranchNumber()The bank account branch number, without separators or whitespace.StringgetIspb()The 8-digit ISPB, with leading zeros.BRLocalAccountIdentification.TypeEnumgetType()**brLocal**inthashCode()BRLocalAccountIdentificationispb(String ispb)The 8-digit ISPB, with leading zeros.voidsetAccountNumber(String accountNumber)The bank account number, without separators or whitespace.voidsetBankCode(String bankCode)The 3-digit bank code, with leading zeros.voidsetBranchNumber(String branchNumber)The bank account branch number, without separators or whitespace.voidsetIspb(String ispb)The 8-digit ISPB, with leading zeros.voidsetType(BRLocalAccountIdentification.TypeEnum type)**brLocal**StringtoJson()Convert an instance of BRLocalAccountIdentification to an JSON stringStringtoString()BRLocalAccountIdentificationtype(BRLocalAccountIdentification.TypeEnum type)**brLocal**
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_CODE
public static final String JSON_PROPERTY_BANK_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BRANCH_NUMBER
public static final String JSON_PROPERTY_BRANCH_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ISPB
public static final String JSON_PROPERTY_ISPB
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public BRLocalAccountIdentification accountNumber(String accountNumber)
The bank account number, without separators or whitespace.- Parameters:
accountNumber-- Returns:
- the current
BRLocalAccountIdentificationinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The bank account number, without separators or whitespace.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The bank account number, without separators or whitespace.- Parameters:
accountNumber-
-
bankCode
public BRLocalAccountIdentification bankCode(String bankCode)
The 3-digit bank code, with leading zeros.- Parameters:
bankCode-- Returns:
- the current
BRLocalAccountIdentificationinstance, allowing for method chaining
-
getBankCode
public String getBankCode()
The 3-digit bank code, with leading zeros.- Returns:
- bankCode
-
setBankCode
public void setBankCode(String bankCode)
The 3-digit bank code, with leading zeros.- Parameters:
bankCode-
-
branchNumber
public BRLocalAccountIdentification branchNumber(String branchNumber)
The bank account branch number, without separators or whitespace.- Parameters:
branchNumber-- Returns:
- the current
BRLocalAccountIdentificationinstance, allowing for method chaining
-
getBranchNumber
public String getBranchNumber()
The bank account branch number, without separators or whitespace.- Returns:
- branchNumber
-
setBranchNumber
public void setBranchNumber(String branchNumber)
The bank account branch number, without separators or whitespace.- Parameters:
branchNumber-
-
ispb
public BRLocalAccountIdentification ispb(String ispb)
The 8-digit ISPB, with leading zeros.- Parameters:
ispb-- Returns:
- the current
BRLocalAccountIdentificationinstance, allowing for method chaining
-
getIspb
public String getIspb()
The 8-digit ISPB, with leading zeros.- Returns:
- ispb
-
setIspb
public void setIspb(String ispb)
The 8-digit ISPB, with leading zeros.- Parameters:
ispb-
-
type
public BRLocalAccountIdentification type(BRLocalAccountIdentification.TypeEnum type)
**brLocal**- Parameters:
type-- Returns:
- the current
BRLocalAccountIdentificationinstance, allowing for method chaining
-
getType
public BRLocalAccountIdentification.TypeEnum getType()
**brLocal**- Returns:
- type
-
setType
public void setType(BRLocalAccountIdentification.TypeEnum type)
**brLocal**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this BRLocalAccountIdentification object is equal to o.
-
fromJson
public static BRLocalAccountIdentification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BRLocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BRLocalAccountIdentification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BRLocalAccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BRLocalAccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-