Package com.adyen.model.checkout
Class CheckoutForwardRequestOptions
- java.lang.Object
-
- com.adyen.model.checkout.CheckoutForwardRequestOptions
-
public class CheckoutForwardRequestOptions extends Object
CheckoutForwardRequestOptions
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_UPDATEstatic StringJSON_PROPERTY_DRY_RUNstatic StringJSON_PROPERTY_NETWORK_TOKENstatic StringJSON_PROPERTY_NETWORK_TX_REFERENCE_PATHSstatic StringJSON_PROPERTY_TOKENIZE
-
Constructor Summary
Constructors Constructor Description CheckoutForwardRequestOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckoutForwardRequestOptionsaccountUpdate(Boolean accountUpdate)Whether to check for a card account update (true) or not (false)CheckoutForwardRequestOptionsaddNetworkTxReferencePathsItem(String networkTxReferencePathsItem)CheckoutForwardRequestOptionsdryRun(Boolean dryRun)Set to **true** to receive a copy of the request Adyen is making to the third party in the response.booleanequals(Object o)Return true if this CheckoutForwardRequestOptions object is equal to o.static CheckoutForwardRequestOptionsfromJson(String jsonString)Create an instance of CheckoutForwardRequestOptions given an JSON stringBooleangetAccountUpdate()Whether to check for a card account update (true) or not (false)BooleangetDryRun()Set to **true** to receive a copy of the request Adyen is making to the third party in the response.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.CheckoutNetworkTokenOptiongetNetworkToken()Get networkTokenList<String>getNetworkTxReferencePaths()Set in tokenize:true case when forwarding PAN.BooleangetTokenize()Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).inthashCode()CheckoutForwardRequestOptionsincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.CheckoutForwardRequestOptionsnetworkToken(CheckoutNetworkTokenOption networkToken)networkTokenCheckoutForwardRequestOptionsnetworkTxReferencePaths(List<String> networkTxReferencePaths)Set in tokenize:true case when forwarding PAN.voidsetAccountUpdate(Boolean accountUpdate)Whether to check for a card account update (true) or not (false)voidsetDryRun(Boolean dryRun)Set to **true** to receive a copy of the request Adyen is making to the third party in the response.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetNetworkToken(CheckoutNetworkTokenOption networkToken)networkTokenvoidsetNetworkTxReferencePaths(List<String> networkTxReferencePaths)Set in tokenize:true case when forwarding PAN.voidsetTokenize(Boolean tokenize)Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).StringtoJson()Convert an instance of CheckoutForwardRequestOptions to an JSON stringCheckoutForwardRequestOptionstokenize(Boolean tokenize)Set to **true**, the payment details are [tokenized](https://docs.adyen.com/online-payments/tokenization).StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_UPDATE
public static final String JSON_PROPERTY_ACCOUNT_UPDATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DRY_RUN
public static final String JSON_PROPERTY_DRY_RUN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_TOKEN
public static final String JSON_PROPERTY_NETWORK_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_TX_REFERENCE_PATHS
public static final String JSON_PROPERTY_NETWORK_TX_REFERENCE_PATHS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKENIZE
public static final String JSON_PROPERTY_TOKENIZE
- See Also:
- Constant Field Values
-
-
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
CheckoutForwardRequestOptionsinstance, 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
CheckoutForwardRequestOptionsinstance, 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.
-
networkToken
public CheckoutForwardRequestOptions networkToken(CheckoutNetworkTokenOption networkToken)
networkToken- Parameters:
networkToken-- Returns:
- the current
CheckoutForwardRequestOptionsinstance, allowing for method chaining
-
getNetworkToken
public CheckoutNetworkTokenOption getNetworkToken()
Get networkToken- Returns:
- networkToken
-
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
CheckoutForwardRequestOptionsinstance, allowing for method chaining
-
addNetworkTxReferencePathsItem
public CheckoutForwardRequestOptions addNetworkTxReferencePathsItem(String networkTxReferencePathsItem)
-
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
CheckoutForwardRequestOptionsinstance, 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).
-
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.
-
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
-
-