Package com.adyen.model.transfers
Class RoutingDetails
- java.lang.Object
-
- com.adyen.model.transfers.RoutingDetails
-
public class RoutingDetails extends Object
RoutingDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoutingDetails.PriorityEnumThe priority for the bank transfer.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DETAILstatic StringJSON_PROPERTY_ERROR_CODEstatic StringJSON_PROPERTY_PRIORITYstatic StringJSON_PROPERTY_TITLE
-
Constructor Summary
Constructors Constructor Description RoutingDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutingDetailsdetail(String detail)A human-readable explanation specific to this occurrence of the problem.booleanequals(Object o)Return true if this RoutingDetails object is equal to o.RoutingDetailserrorCode(String errorCode)A code that identifies the problem type.static RoutingDetailsfromJson(String jsonString)Create an instance of RoutingDetails given an JSON stringStringgetDetail()A human-readable explanation specific to this occurrence of the problem.StringgetErrorCode()A code that identifies the problem type.RoutingDetails.PriorityEnumgetPriority()The priority for the bank transfer.StringgetTitle()A short, human-readable summary of the problem type.inthashCode()RoutingDetailspriority(RoutingDetails.PriorityEnum priority)The priority for the bank transfer.voidsetDetail(String detail)A human-readable explanation specific to this occurrence of the problem.voidsetErrorCode(String errorCode)A code that identifies the problem type.voidsetPriority(RoutingDetails.PriorityEnum priority)The priority for the bank transfer.voidsetTitle(String title)A short, human-readable summary of the problem type.RoutingDetailstitle(String title)A short, human-readable summary of the problem type.StringtoJson()Convert an instance of RoutingDetails to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DETAIL
public static final String JSON_PROPERTY_DETAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ERROR_CODE
public static final String JSON_PROPERTY_ERROR_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_PRIORITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TITLE
public static final String JSON_PROPERTY_TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
detail
public RoutingDetails detail(String detail)
A human-readable explanation specific to this occurrence of the problem.- Parameters:
detail-- Returns:
- the current
RoutingDetailsinstance, allowing for method chaining
-
getDetail
public String getDetail()
A human-readable explanation specific to this occurrence of the problem.- Returns:
- detail
-
setDetail
public void setDetail(String detail)
A human-readable explanation specific to this occurrence of the problem.- Parameters:
detail-
-
errorCode
public RoutingDetails errorCode(String errorCode)
A code that identifies the problem type.- Parameters:
errorCode-- Returns:
- the current
RoutingDetailsinstance, allowing for method chaining
-
getErrorCode
public String getErrorCode()
A code that identifies the problem type.- Returns:
- errorCode
-
setErrorCode
public void setErrorCode(String errorCode)
A code that identifies the problem type.- Parameters:
errorCode-
-
priority
public RoutingDetails priority(RoutingDetails.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
RoutingDetailsinstance, allowing for method chaining
-
getPriority
public RoutingDetails.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(RoutingDetails.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-
-
title
public RoutingDetails title(String title)
A short, human-readable summary of the problem type.- Parameters:
title-- Returns:
- the current
RoutingDetailsinstance, allowing for method chaining
-
getTitle
public String getTitle()
A short, human-readable summary of the problem type.- Returns:
- title
-
setTitle
public void setTitle(String title)
A short, human-readable summary of the problem type.- Parameters:
title-
-
equals
public boolean equals(Object o)
Return true if this RoutingDetails object is equal to o.
-
fromJson
public static RoutingDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RoutingDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RoutingDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RoutingDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RoutingDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-