Package com.adyen.model.payment
Class SecureRemoteCommerceCheckoutData
- java.lang.Object
-
- com.adyen.model.payment.SecureRemoteCommerceCheckoutData
-
public class SecureRemoteCommerceCheckoutData extends Object
SecureRemoteCommerceCheckoutData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecureRemoteCommerceCheckoutData.SchemeEnumThe Secure Remote Commerce scheme.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CHECKOUT_PAYLOADstatic StringJSON_PROPERTY_CORRELATION_IDstatic StringJSON_PROPERTY_CVCstatic StringJSON_PROPERTY_DIGITAL_CARD_IDstatic StringJSON_PROPERTY_SCHEMEstatic StringJSON_PROPERTY_TOKEN_REFERENCE
-
Constructor Summary
Constructors Constructor Description SecureRemoteCommerceCheckoutData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SecureRemoteCommerceCheckoutDatacheckoutPayload(String checkoutPayload)The Secure Remote Commerce checkout payload to process the payment with.SecureRemoteCommerceCheckoutDatacorrelationId(String correlationId)This is the unique identifier generated by SRC system to track and link SRC messages.SecureRemoteCommerceCheckoutDatacvc(String cvc)The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).SecureRemoteCommerceCheckoutDatadigitalCardId(String digitalCardId)A unique identifier that represents the token associated with a card enrolled.booleanequals(Object o)Return true if this SecureRemoteCommerceCheckoutData object is equal to o.static SecureRemoteCommerceCheckoutDatafromJson(String jsonString)Create an instance of SecureRemoteCommerceCheckoutData given an JSON stringStringgetCheckoutPayload()The Secure Remote Commerce checkout payload to process the payment with.StringgetCorrelationId()This is the unique identifier generated by SRC system to track and link SRC messages.StringgetCvc()The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).StringgetDigitalCardId()A unique identifier that represents the token associated with a card enrolled.SecureRemoteCommerceCheckoutData.SchemeEnumgetScheme()The Secure Remote Commerce scheme.StringgetTokenReference()A unique identifier that represents the token associated with a card enrolled.inthashCode()SecureRemoteCommerceCheckoutDatascheme(SecureRemoteCommerceCheckoutData.SchemeEnum scheme)The Secure Remote Commerce scheme.voidsetCheckoutPayload(String checkoutPayload)The Secure Remote Commerce checkout payload to process the payment with.voidsetCorrelationId(String correlationId)This is the unique identifier generated by SRC system to track and link SRC messages.voidsetCvc(String cvc)The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).voidsetDigitalCardId(String digitalCardId)A unique identifier that represents the token associated with a card enrolled.voidsetScheme(SecureRemoteCommerceCheckoutData.SchemeEnum scheme)The Secure Remote Commerce scheme.voidsetTokenReference(String tokenReference)A unique identifier that represents the token associated with a card enrolled.StringtoJson()Convert an instance of SecureRemoteCommerceCheckoutData to an JSON stringSecureRemoteCommerceCheckoutDatatokenReference(String tokenReference)A unique identifier that represents the token associated with a card enrolled.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CHECKOUT_PAYLOAD
public static final String JSON_PROPERTY_CHECKOUT_PAYLOAD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CORRELATION_ID
public static final String JSON_PROPERTY_CORRELATION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CVC
public static final String JSON_PROPERTY_CVC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DIGITAL_CARD_ID
public static final String JSON_PROPERTY_DIGITAL_CARD_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEME
public static final String JSON_PROPERTY_SCHEME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN_REFERENCE
public static final String JSON_PROPERTY_TOKEN_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkoutPayload
public SecureRemoteCommerceCheckoutData checkoutPayload(String checkoutPayload)
The Secure Remote Commerce checkout payload to process the payment with.- Parameters:
checkoutPayload-- Returns:
- the current
SecureRemoteCommerceCheckoutDatainstance, allowing for method chaining
-
getCheckoutPayload
public String getCheckoutPayload()
The Secure Remote Commerce checkout payload to process the payment with.- Returns:
- checkoutPayload
-
setCheckoutPayload
public void setCheckoutPayload(String checkoutPayload)
The Secure Remote Commerce checkout payload to process the payment with.- Parameters:
checkoutPayload-
-
correlationId
public SecureRemoteCommerceCheckoutData correlationId(String correlationId)
This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session).- Parameters:
correlationId-- Returns:
- the current
SecureRemoteCommerceCheckoutDatainstance, allowing for method chaining
-
getCorrelationId
public String getCorrelationId()
This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session).- Returns:
- correlationId
-
setCorrelationId
public void setCorrelationId(String correlationId)
This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session).- Parameters:
correlationId-
-
cvc
public SecureRemoteCommerceCheckoutData cvc(String cvc)
The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).- Parameters:
cvc-- Returns:
- the current
SecureRemoteCommerceCheckoutDatainstance, allowing for method chaining
-
getCvc
public String getCvc()
The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).- Returns:
- cvc
-
setCvc
public void setCvc(String cvc)
The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).- Parameters:
cvc-
-
digitalCardId
public SecureRemoteCommerceCheckoutData digitalCardId(String digitalCardId)
A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'.- Parameters:
digitalCardId-- Returns:
- the current
SecureRemoteCommerceCheckoutDatainstance, allowing for method chaining
-
getDigitalCardId
public String getDigitalCardId()
A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'.- Returns:
- digitalCardId
-
setDigitalCardId
public void setDigitalCardId(String digitalCardId)
A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'.- Parameters:
digitalCardId-
-
scheme
public SecureRemoteCommerceCheckoutData scheme(SecureRemoteCommerceCheckoutData.SchemeEnum scheme)
The Secure Remote Commerce scheme.- Parameters:
scheme-- Returns:
- the current
SecureRemoteCommerceCheckoutDatainstance, allowing for method chaining
-
getScheme
public SecureRemoteCommerceCheckoutData.SchemeEnum getScheme()
The Secure Remote Commerce scheme.- Returns:
- scheme
-
setScheme
public void setScheme(SecureRemoteCommerceCheckoutData.SchemeEnum scheme)
The Secure Remote Commerce scheme.- Parameters:
scheme-
-
tokenReference
public SecureRemoteCommerceCheckoutData tokenReference(String tokenReference)
A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'.- Parameters:
tokenReference-- Returns:
- the current
SecureRemoteCommerceCheckoutDatainstance, allowing for method chaining
-
getTokenReference
public String getTokenReference()
A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'.- Returns:
- tokenReference
-
setTokenReference
public void setTokenReference(String tokenReference)
A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'.- Parameters:
tokenReference-
-
equals
public boolean equals(Object o)
Return true if this SecureRemoteCommerceCheckoutData object is equal to o.
-
fromJson
public static SecureRemoteCommerceCheckoutData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SecureRemoteCommerceCheckoutData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SecureRemoteCommerceCheckoutData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SecureRemoteCommerceCheckoutData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SecureRemoteCommerceCheckoutData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-