Class CheckoutForwardRequest


  • public class CheckoutForwardRequest
    extends Object
    CheckoutForwardRequest
    • Constructor Detail

      • CheckoutForwardRequest

        public CheckoutForwardRequest()
    • Method Detail

      • baseUrl

        public CheckoutForwardRequest baseUrl​(String baseUrl)
        The base URL of the third party API, where Adyen will send the request to forward the payment details.
        Parameters:
        baseUrl - The base URL of the third party API, where Adyen will send the request to forward the payment details.
        Returns:
        the current CheckoutForwardRequest instance, allowing for method chaining
      • getBaseUrl

        public String getBaseUrl()
        The base URL of the third party API, where Adyen will send the request to forward the payment details.
        Returns:
        baseUrl The base URL of the third party API, where Adyen will send the request to forward the payment details.
      • setBaseUrl

        public void setBaseUrl​(String baseUrl)
        The base URL of the third party API, where Adyen will send the request to forward the payment details.
        Parameters:
        baseUrl - The base URL of the third party API, where Adyen will send the request to forward the payment details.
      • merchantAccount

        public CheckoutForwardRequest merchantAccount​(String merchantAccount)
        Your merchant account.
        Parameters:
        merchantAccount - Your merchant account.
        Returns:
        the current CheckoutForwardRequest instance, allowing for method chaining
      • getMerchantAccount

        public String getMerchantAccount()
        Your merchant account.
        Returns:
        merchantAccount Your merchant account.
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        Your merchant account.
        Parameters:
        merchantAccount - Your merchant account.
      • setPaymentMethod

        public void setPaymentMethod​(CheckoutForwardRequestCard paymentMethod)
        paymentMethod
        Parameters:
        paymentMethod -
      • shopperReference

        public CheckoutForwardRequest shopperReference​(String shopperReference)
        Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
        Parameters:
        shopperReference - Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
        Returns:
        the current CheckoutForwardRequest instance, allowing for method chaining
      • getShopperReference

        public String getShopperReference()
        Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
        Returns:
        shopperReference Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
      • setShopperReference

        public void setShopperReference​(String shopperReference)
        Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
        Parameters:
        shopperReference - Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
      • storedPaymentMethodId

        public CheckoutForwardRequest storedPaymentMethodId​(String storedPaymentMethodId)
        The unique identifier of the token that you want to forward to the third party. This is the `storedPaymentMethodId` you received in the webhook after you created the token.
        Parameters:
        storedPaymentMethodId - The unique identifier of the token that you want to forward to the third party. This is the `storedPaymentMethodId` you received in the webhook after you created the token.
        Returns:
        the current CheckoutForwardRequest instance, allowing for method chaining
      • getStoredPaymentMethodId

        public String getStoredPaymentMethodId()
        The unique identifier of the token that you want to forward to the third party. This is the `storedPaymentMethodId` you received in the webhook after you created the token.
        Returns:
        storedPaymentMethodId The unique identifier of the token that you want to forward to the third party. This is the `storedPaymentMethodId` you received in the webhook after you created the token.
      • setStoredPaymentMethodId

        public void setStoredPaymentMethodId​(String storedPaymentMethodId)
        The unique identifier of the token that you want to forward to the third party. This is the `storedPaymentMethodId` you received in the webhook after you created the token.
        Parameters:
        storedPaymentMethodId - The unique identifier of the token that you want to forward to the third party. This is the `storedPaymentMethodId` you received in the webhook after you created the token.
      • includeNullValues

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

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