Class RoutingDetails


  • public class RoutingDetails
    extends Object
    RoutingDetails
    • Constructor Detail

      • RoutingDetails

        public RoutingDetails()
    • Method Detail

      • detail

        public RoutingDetails detail​(String detail)
        A human-readable explanation specific to this occurrence of the problem.
        Parameters:
        detail -
        Returns:
        the current RoutingDetails instance, 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 RoutingDetails instance, 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 RoutingDetails instance, 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 RoutingDetails instance, 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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