Package com.adyen.model.checkout
Class DokuDetails
- java.lang.Object
-
- com.adyen.model.checkout.DokuDetails
-
public class DokuDetails extends Object
DokuDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDokuDetails.TypeEnum**doku**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CHECKOUT_ATTEMPT_IDstatic StringJSON_PROPERTY_FIRST_NAMEstatic StringJSON_PROPERTY_LAST_NAMEstatic StringJSON_PROPERTY_SHOPPER_EMAILstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description DokuDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DokuDetailscheckoutAttemptId(String checkoutAttemptId)booleanequals(Object o)Return true if this DokuDetails object is equal to o.DokuDetailsfirstName(String firstName)static DokuDetailsfromJson(String jsonString)Create an instance of DokuDetails given an JSON stringStringgetCheckoutAttemptId()The checkout attempt identifier.StringgetFirstName()The shopper's first name.StringgetLastName()The shopper's last name.StringgetShopperEmail()The shopper's email.DokuDetails.TypeEnumgetType()**doku**inthashCode()DokuDetailslastName(String lastName)voidsetCheckoutAttemptId(String checkoutAttemptId)The checkout attempt identifier.voidsetFirstName(String firstName)The shopper's first name.voidsetLastName(String lastName)The shopper's last name.voidsetShopperEmail(String shopperEmail)The shopper's email.voidsetType(DokuDetails.TypeEnum type)**doku**DokuDetailsshopperEmail(String shopperEmail)StringtoJson()Convert an instance of DokuDetails to an JSON stringStringtoString()DokuDetailstype(DokuDetails.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_CHECKOUT_ATTEMPT_ID
public static final String JSON_PROPERTY_CHECKOUT_ATTEMPT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIRST_NAME
public static final String JSON_PROPERTY_FIRST_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_NAME
public static final String JSON_PROPERTY_LAST_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_EMAIL
public static final String JSON_PROPERTY_SHOPPER_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkoutAttemptId
public DokuDetails checkoutAttemptId(String checkoutAttemptId)
-
getCheckoutAttemptId
public String getCheckoutAttemptId()
The checkout attempt identifier.- Returns:
- checkoutAttemptId
-
setCheckoutAttemptId
public void setCheckoutAttemptId(String checkoutAttemptId)
The checkout attempt identifier.- Parameters:
checkoutAttemptId-
-
firstName
public DokuDetails firstName(String firstName)
-
getFirstName
public String getFirstName()
The shopper's first name.- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
The shopper's first name.- Parameters:
firstName-
-
lastName
public DokuDetails lastName(String lastName)
-
getLastName
public String getLastName()
The shopper's last name.- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
The shopper's last name.- Parameters:
lastName-
-
shopperEmail
public DokuDetails shopperEmail(String shopperEmail)
-
getShopperEmail
public String getShopperEmail()
The shopper's email.- Returns:
- shopperEmail
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
The shopper's email.- Parameters:
shopperEmail-
-
type
public DokuDetails type(DokuDetails.TypeEnum type)
-
getType
public DokuDetails.TypeEnum getType()
**doku**- Returns:
- type
-
setType
public void setType(DokuDetails.TypeEnum type)
**doku**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this DokuDetails object is equal to o.
-
fromJson
public static DokuDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DokuDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DokuDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DokuDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DokuDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-