Class CheckoutForwardRequestOptions


  • public class CheckoutForwardRequestOptions
    extends Object
    CheckoutForwardRequestOptions
    • Constructor Detail

      • CheckoutForwardRequestOptions

        public CheckoutForwardRequestOptions()
    • Method Detail

      • accountUpdate

        public CheckoutForwardRequestOptions accountUpdate​(Boolean accountUpdate)
        Whether to check for a card account update (true) or not (false)
        Parameters:
        accountUpdate - Whether to check for a card account update (true) or not (false)
        Returns:
        the current CheckoutForwardRequestOptions instance, allowing for method chaining
      • getAccountUpdate

        public Boolean getAccountUpdate()
        Whether to check for a card account update (true) or not (false)
        Returns:
        accountUpdate Whether to check for a card account update (true) or not (false)
      • setAccountUpdate

        public void setAccountUpdate​(Boolean accountUpdate)
        Whether to check for a card account update (true) or not (false)
        Parameters:
        accountUpdate - Whether to check for a card account update (true) or not (false)
      • dryRun

        public CheckoutForwardRequestOptions dryRun​(Boolean dryRun)
        Set to **true** to receive a copy of the request Adyen is making to the third party in the response. Any sensitive information will be masked in the response you receive. This functionality is only available in the test environment.
        Parameters:
        dryRun - Set to **true** to receive a copy of the request Adyen is making to the third party in the response. Any sensitive information will be masked in the response you receive. This functionality is only available in the test environment.
        Returns:
        the current CheckoutForwardRequestOptions instance, allowing for method chaining
      • getDryRun

        public Boolean getDryRun()
        Set to **true** to receive a copy of the request Adyen is making to the third party in the response. Any sensitive information will be masked in the response you receive. This functionality is only available in the test environment.
        Returns:
        dryRun Set to **true** to receive a copy of the request Adyen is making to the third party in the response. Any sensitive information will be masked in the response you receive. This functionality is only available in the test environment.
      • setDryRun

        public void setDryRun​(Boolean dryRun)
        Set to **true** to receive a copy of the request Adyen is making to the third party in the response. Any sensitive information will be masked in the response you receive. This functionality is only available in the test environment.
        Parameters:
        dryRun - Set to **true** to receive a copy of the request Adyen is making to the third party in the response. Any sensitive information will be masked in the response you receive. This functionality is only available in the test environment.
      • setNetworkToken

        public void setNetworkToken​(CheckoutNetworkTokenOption networkToken)
        networkToken
        Parameters:
        networkToken -
      • networkTxReferencePaths

        public CheckoutForwardRequestOptions networkTxReferencePaths​(List<String> networkTxReferencePaths)
        Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of networkTxReference in the incoming 3rd party response
        Parameters:
        networkTxReferencePaths - Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of networkTxReference in the incoming 3rd party response
        Returns:
        the current CheckoutForwardRequestOptions instance, allowing for method chaining
      • getNetworkTxReferencePaths

        public List<String> getNetworkTxReferencePaths()
        Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of networkTxReference in the incoming 3rd party response
        Returns:
        networkTxReferencePaths Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of networkTxReference in the incoming 3rd party response
      • setNetworkTxReferencePaths

        public void setNetworkTxReferencePaths​(List<String> networkTxReferencePaths)
        Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of networkTxReference in the incoming 3rd party response
        Parameters:
        networkTxReferencePaths - Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of networkTxReference in the incoming 3rd party response
      • tokenize

        public CheckoutForwardRequestOptions tokenize​(Boolean tokenize)
        Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).
        Parameters:
        tokenize - Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).
        Returns:
        the current CheckoutForwardRequestOptions instance, allowing for method chaining
      • getTokenize

        public Boolean getTokenize()
        Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).
        Returns:
        tokenize Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).
      • setTokenize

        public void setTokenize​(Boolean tokenize)
        Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).
        Parameters:
        tokenize - Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).
      • transactionLinkIdPaths

        public CheckoutForwardRequestOptions transactionLinkIdPaths​(List<String> transactionLinkIdPaths)
        Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of transactionLinkId in the incoming 3rd party response
        Parameters:
        transactionLinkIdPaths - Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of transactionLinkId in the incoming 3rd party response
        Returns:
        the current CheckoutForwardRequestOptions instance, allowing for method chaining
      • getTransactionLinkIdPaths

        public List<String> getTransactionLinkIdPaths()
        Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of transactionLinkId in the incoming 3rd party response
        Returns:
        transactionLinkIdPaths Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of transactionLinkId in the incoming 3rd party response
      • setTransactionLinkIdPaths

        public void setTransactionLinkIdPaths​(List<String> transactionLinkIdPaths)
        Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of transactionLinkId in the incoming 3rd party response
        Parameters:
        transactionLinkIdPaths - Set in tokenize:true case when forwarding PAN. Addresses to the possible location(s) of transactionLinkId in the incoming 3rd party response
      • includeNullValues

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

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