Package com.adyen.model.checkout
Class CheckoutDelegatedAuthenticationAction
- java.lang.Object
-
- com.adyen.model.checkout.CheckoutDelegatedAuthenticationAction
-
public class CheckoutDelegatedAuthenticationAction extends Object
CheckoutDelegatedAuthenticationAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckoutDelegatedAuthenticationAction.TypeEnum**delegatedAuthentication**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AUTHORISATION_TOKENstatic StringJSON_PROPERTY_PAYMENT_DATAstatic StringJSON_PROPERTY_PAYMENT_METHOD_TYPEstatic StringJSON_PROPERTY_TOKENstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_URL
-
Constructor Summary
Constructors Constructor Description CheckoutDelegatedAuthenticationAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckoutDelegatedAuthenticationActionauthorisationToken(String authorisationToken)booleanequals(Object o)Return true if this CheckoutDelegatedAuthenticationAction object is equal to o.static CheckoutDelegatedAuthenticationActionfromJson(String jsonString)Create an instance of CheckoutDelegatedAuthenticationAction given an JSON stringStringgetAuthorisationToken()A token needed to authorise a payment.StringgetPaymentData()Encoded payment data.StringgetPaymentMethodType()Specifies the payment method.StringgetToken()A token to pass to the delegatedAuthentication component.CheckoutDelegatedAuthenticationAction.TypeEnumgetType()**delegatedAuthentication**StringgetUrl()Specifies the URL to redirect to.inthashCode()CheckoutDelegatedAuthenticationActionpaymentData(String paymentData)CheckoutDelegatedAuthenticationActionpaymentMethodType(String paymentMethodType)voidsetAuthorisationToken(String authorisationToken)A token needed to authorise a payment.voidsetPaymentData(String paymentData)Encoded payment data.voidsetPaymentMethodType(String paymentMethodType)Specifies the payment method.voidsetToken(String token)A token to pass to the delegatedAuthentication component.voidsetType(CheckoutDelegatedAuthenticationAction.TypeEnum type)**delegatedAuthentication**voidsetUrl(String url)Specifies the URL to redirect to.StringtoJson()Convert an instance of CheckoutDelegatedAuthenticationAction to an JSON stringCheckoutDelegatedAuthenticationActiontoken(String token)StringtoString()CheckoutDelegatedAuthenticationActiontype(CheckoutDelegatedAuthenticationAction.TypeEnum type)CheckoutDelegatedAuthenticationActionurl(String url)
-
-
-
Field Detail
-
JSON_PROPERTY_AUTHORISATION_TOKEN
public static final String JSON_PROPERTY_AUTHORISATION_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_DATA
public static final String JSON_PROPERTY_PAYMENT_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_METHOD_TYPE
public static final String JSON_PROPERTY_PAYMENT_METHOD_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN
public static final String JSON_PROPERTY_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL
public static final String JSON_PROPERTY_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
authorisationToken
public CheckoutDelegatedAuthenticationAction authorisationToken(String authorisationToken)
-
getAuthorisationToken
public String getAuthorisationToken()
A token needed to authorise a payment.- Returns:
- authorisationToken
-
setAuthorisationToken
public void setAuthorisationToken(String authorisationToken)
A token needed to authorise a payment.- Parameters:
authorisationToken-
-
paymentData
public CheckoutDelegatedAuthenticationAction paymentData(String paymentData)
-
getPaymentData
public String getPaymentData()
Encoded payment data.- Returns:
- paymentData
-
setPaymentData
public void setPaymentData(String paymentData)
Encoded payment data.- Parameters:
paymentData-
-
paymentMethodType
public CheckoutDelegatedAuthenticationAction paymentMethodType(String paymentMethodType)
-
getPaymentMethodType
public String getPaymentMethodType()
Specifies the payment method.- Returns:
- paymentMethodType
-
setPaymentMethodType
public void setPaymentMethodType(String paymentMethodType)
Specifies the payment method.- Parameters:
paymentMethodType-
-
token
public CheckoutDelegatedAuthenticationAction token(String token)
-
getToken
public String getToken()
A token to pass to the delegatedAuthentication component.- Returns:
- token
-
setToken
public void setToken(String token)
A token to pass to the delegatedAuthentication component.- Parameters:
token-
-
type
public CheckoutDelegatedAuthenticationAction type(CheckoutDelegatedAuthenticationAction.TypeEnum type)
-
getType
public CheckoutDelegatedAuthenticationAction.TypeEnum getType()
**delegatedAuthentication**- Returns:
- type
-
setType
public void setType(CheckoutDelegatedAuthenticationAction.TypeEnum type)
**delegatedAuthentication**- Parameters:
type-
-
url
public CheckoutDelegatedAuthenticationAction url(String url)
-
getUrl
public String getUrl()
Specifies the URL to redirect to.- Returns:
- url
-
setUrl
public void setUrl(String url)
Specifies the URL to redirect to.- Parameters:
url-
-
equals
public boolean equals(Object o)
Return true if this CheckoutDelegatedAuthenticationAction object is equal to o.
-
fromJson
public static CheckoutDelegatedAuthenticationAction fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CheckoutDelegatedAuthenticationAction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CheckoutDelegatedAuthenticationAction
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CheckoutDelegatedAuthenticationAction
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CheckoutDelegatedAuthenticationAction to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-