Package com.adyen.model.recurring
Class RecurringDetailsResult
- java.lang.Object
-
- com.adyen.model.recurring.RecurringDetailsResult
-
public class RecurringDetailsResult extends Object
RecurringDetailsResult
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATION_DATEstatic StringJSON_PROPERTY_DETAILSstatic StringJSON_PROPERTY_LAST_KNOWN_SHOPPER_EMAILstatic StringJSON_PROPERTY_SHOPPER_REFERENCE
-
Constructor Summary
Constructors Constructor Description RecurringDetailsResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RecurringDetailsResultaddDetailsItem(RecurringDetailWrapper detailsItem)RecurringDetailsResultcreationDate(OffsetDateTime creationDate)RecurringDetailsResultdetails(List<RecurringDetailWrapper> details)booleanequals(Object o)Return true if this RecurringDetailsResult object is equal to o.static RecurringDetailsResultfromJson(String jsonString)Create an instance of RecurringDetailsResult given an JSON stringOffsetDateTimegetCreationDate()The date when the recurring details were created.List<RecurringDetailWrapper>getDetails()Payment details stored for recurring payments.StringgetLastKnownShopperEmail()The most recent email for this shopper (if available).StringgetShopperReference()The reference you use to uniquely identify the shopper (e.g.inthashCode()RecurringDetailsResultlastKnownShopperEmail(String lastKnownShopperEmail)voidsetCreationDate(OffsetDateTime creationDate)voidsetDetails(List<RecurringDetailWrapper> details)voidsetLastKnownShopperEmail(String lastKnownShopperEmail)voidsetShopperReference(String shopperReference)RecurringDetailsResultshopperReference(String shopperReference)StringtoJson()Convert an instance of RecurringDetailsResult to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CREATION_DATE
public static final String JSON_PROPERTY_CREATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DETAILS
public static final String JSON_PROPERTY_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_KNOWN_SHOPPER_EMAIL
public static final String JSON_PROPERTY_LAST_KNOWN_SHOPPER_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_REFERENCE
public static final String JSON_PROPERTY_SHOPPER_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
creationDate
public RecurringDetailsResult creationDate(OffsetDateTime creationDate)
-
getCreationDate
public OffsetDateTime getCreationDate()
The date when the recurring details were created.- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(OffsetDateTime creationDate)
-
details
public RecurringDetailsResult details(List<RecurringDetailWrapper> details)
-
addDetailsItem
public RecurringDetailsResult addDetailsItem(RecurringDetailWrapper detailsItem)
-
getDetails
public List<RecurringDetailWrapper> getDetails()
Payment details stored for recurring payments.- Returns:
- details
-
setDetails
public void setDetails(List<RecurringDetailWrapper> details)
-
lastKnownShopperEmail
public RecurringDetailsResult lastKnownShopperEmail(String lastKnownShopperEmail)
-
getLastKnownShopperEmail
public String getLastKnownShopperEmail()
The most recent email for this shopper (if available).- Returns:
- lastKnownShopperEmail
-
setLastKnownShopperEmail
public void setLastKnownShopperEmail(String lastKnownShopperEmail)
-
shopperReference
public RecurringDetailsResult shopperReference(String shopperReference)
-
getShopperReference
public String getShopperReference()
The reference you use to uniquely identify the shopper (e.g. user ID or account ID).- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
-
equals
public boolean equals(Object o)
Return true if this RecurringDetailsResult object is equal to o.
-
fromJson
public static RecurringDetailsResult fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RecurringDetailsResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RecurringDetailsResult
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RecurringDetailsResult
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RecurringDetailsResult to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-