Package com.adyen.model.transfers
Class BankCategoryData
- java.lang.Object
-
- com.adyen.model.transfers.BankCategoryData
-
public class BankCategoryData extends Object
BankCategoryData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankCategoryData.PriorityEnumThe priority for the bank transfer.static classBankCategoryData.TypeEnum**bank**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PRIORITYstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description BankCategoryData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this BankCategoryData object is equal to o.static BankCategoryDatafromJson(String jsonString)Create an instance of BankCategoryData given an JSON stringBankCategoryData.PriorityEnumgetPriority()The priority for the bank transfer.BankCategoryData.TypeEnumgetType()**bank**inthashCode()BankCategoryDatapriority(BankCategoryData.PriorityEnum priority)The priority for the bank transfer.voidsetPriority(BankCategoryData.PriorityEnum priority)The priority for the bank transfer.voidsetType(BankCategoryData.TypeEnum type)**bank**StringtoJson()Convert an instance of BankCategoryData to an JSON stringStringtoString()BankCategoryDatatype(BankCategoryData.TypeEnum type)**bank**
-
-
-
Field Detail
-
JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_PRIORITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
priority
public BankCategoryData priority(BankCategoryData.PriorityEnum priority)
The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).- Parameters:
priority-- Returns:
- the current
BankCategoryDatainstance, allowing for method chaining
-
getPriority
public BankCategoryData.PriorityEnum getPriority()
The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).- Returns:
- priority
-
setPriority
public void setPriority(BankCategoryData.PriorityEnum priority)
The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).- Parameters:
priority-
-
type
public BankCategoryData type(BankCategoryData.TypeEnum type)
**bank**- Parameters:
type-- Returns:
- the current
BankCategoryDatainstance, allowing for method chaining
-
getType
public BankCategoryData.TypeEnum getType()
**bank**- Returns:
- type
-
setType
public void setType(BankCategoryData.TypeEnum type)
**bank**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this BankCategoryData object is equal to o.
-
fromJson
public static BankCategoryData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BankCategoryData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankCategoryData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BankCategoryData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankCategoryData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-