Class CheckoutForwardResponse


  • public class CheckoutForwardResponse
    extends Object
    CheckoutForwardResponse
    • Constructor Detail

      • CheckoutForwardResponse

        public CheckoutForwardResponse()
    • Method Detail

      • merchantReference

        public CheckoutForwardResponse merchantReference​(String merchantReference)
        Merchant defined payment reference.
        Parameters:
        merchantReference - Merchant defined payment reference.
        Returns:
        the current CheckoutForwardResponse instance, allowing for method chaining
      • getMerchantReference

        public String getMerchantReference()
        Merchant defined payment reference.
        Returns:
        merchantReference Merchant defined payment reference.
      • setMerchantReference

        public void setMerchantReference​(String merchantReference)
        Merchant defined payment reference.
        Parameters:
        merchantReference - Merchant defined payment reference.
      • pspReference

        public CheckoutForwardResponse pspReference​(String pspReference)
        Adyen's 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request.
        Parameters:
        pspReference - Adyen's 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request.
        Returns:
        the current CheckoutForwardResponse instance, allowing for method chaining
      • getPspReference

        public String getPspReference()
        Adyen's 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request.
        Returns:
        pspReference Adyen's 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request.
      • setPspReference

        public void setPspReference​(String pspReference)
        Adyen's 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request.
        Parameters:
        pspReference - Adyen's 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request.
      • storedPaymentMethodId

        public CheckoutForwardResponse storedPaymentMethodId​(String storedPaymentMethodId)
        The unique identifier of the token.
        Parameters:
        storedPaymentMethodId - The unique identifier of the token.
        Returns:
        the current CheckoutForwardResponse instance, allowing for method chaining
      • getStoredPaymentMethodId

        public String getStoredPaymentMethodId()
        The unique identifier of the token.
        Returns:
        storedPaymentMethodId The unique identifier of the token.
      • setStoredPaymentMethodId

        public void setStoredPaymentMethodId​(String storedPaymentMethodId)
        The unique identifier of the token.
        Parameters:
        storedPaymentMethodId - The unique identifier of the token.
      • includeNullValues

        public CheckoutForwardResponse 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 CheckoutForwardResponse 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 CheckoutForwardResponse fromJson​(String jsonString)
                                                throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CheckoutForwardResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CheckoutForwardResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CheckoutForwardResponse
      • toJson

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