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 - A human-readable explanation specific to this occurrence of the problem.
        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 A human-readable explanation specific to this occurrence of the problem.
      • setDetail

        public void setDetail​(String detail)
        A human-readable explanation specific to this occurrence of the problem.
        Parameters:
        detail - A human-readable explanation specific to this occurrence of the problem.
      • errorCode

        public RoutingDetails errorCode​(String errorCode)
        A code that identifies the problem type.
        Parameters:
        errorCode - A code that identifies the problem type.
        Returns:
        the current RoutingDetails instance, allowing for method chaining
      • getErrorCode

        public String getErrorCode()
        A code that identifies the problem type.
        Returns:
        errorCode A code that identifies the problem type.
      • setErrorCode

        public void setErrorCode​(String errorCode)
        A code that identifies the problem type.
        Parameters:
        errorCode - A code that identifies the problem type.
      • 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 within the United States and in [SEPA locations](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 - 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 within the United States and in [SEPA locations](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:
        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 within the United States and in [SEPA locations](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 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 within the United States and in [SEPA locations](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).
      • 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 within the United States and in [SEPA locations](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 - 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 within the United States and in [SEPA locations](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).
      • title

        public RoutingDetails title​(String title)
        A short, human-readable summary of the problem type.
        Parameters:
        title - A short, human-readable summary of the problem type.
        Returns:
        the current RoutingDetails instance, allowing for method chaining
      • getTitle

        public String getTitle()
        A short, human-readable summary of the problem type.
        Returns:
        title A short, human-readable summary of the problem type.
      • setTitle

        public void setTitle​(String title)
        A short, human-readable summary of the problem type.
        Parameters:
        title - A short, human-readable summary of the problem type.
      • includeNullValues

        public RoutingDetails includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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