Class AdditionalDataRetry


  • public class AdditionalDataRetry
    extends Object
    AdditionalDataRetry
    • Constructor Detail

      • AdditionalDataRetry

        public AdditionalDataRetry()
    • Method Detail

      • retryChainAttemptNumber

        public AdditionalDataRetry retryChainAttemptNumber​(String retryChainAttemptNumber)
        The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Parameters:
        retryChainAttemptNumber -
        Returns:
        the current AdditionalDataRetry instance, allowing for method chaining
      • getRetryChainAttemptNumber

        public String getRetryChainAttemptNumber()
        The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Returns:
        retryChainAttemptNumber
      • setRetryChainAttemptNumber

        public void setRetryChainAttemptNumber​(String retryChainAttemptNumber)
        The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Parameters:
        retryChainAttemptNumber -
      • retryOrderAttemptNumber

        public AdditionalDataRetry retryOrderAttemptNumber​(String retryOrderAttemptNumber)
        The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Parameters:
        retryOrderAttemptNumber -
        Returns:
        the current AdditionalDataRetry instance, allowing for method chaining
      • getRetryOrderAttemptNumber

        public String getRetryOrderAttemptNumber()
        The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Returns:
        retryOrderAttemptNumber
      • setRetryOrderAttemptNumber

        public void setRetryOrderAttemptNumber​(String retryOrderAttemptNumber)
        The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Parameters:
        retryOrderAttemptNumber -
      • retrySkipRetry

        public AdditionalDataRetry retrySkipRetry​(String retrySkipRetry)
        The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Parameters:
        retrySkipRetry -
        Returns:
        the current AdditionalDataRetry instance, allowing for method chaining
      • getRetrySkipRetry

        public String getRetrySkipRetry()
        The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Returns:
        retrySkipRetry
      • setRetrySkipRetry

        public void setRetrySkipRetry​(String retrySkipRetry)
        The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
        Parameters:
        retrySkipRetry -
      • equals

        public boolean equals​(Object o)
        Return true if this AdditionalDataRetry object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static AdditionalDataRetry fromJson​(String jsonString)
                                            throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of AdditionalDataRetry given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AdditionalDataRetry
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to AdditionalDataRetry
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AdditionalDataRetry to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException