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)The date when the recurring details were created.RecurringDetailsResultdetails(List<RecurringDetailWrapper> details)Payment details stored for recurring payments.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. user ID or account ID).inthashCode()RecurringDetailsResultlastKnownShopperEmail(String lastKnownShopperEmail)The most recent email for this shopper (if available).voidsetCreationDate(OffsetDateTime creationDate)The date when the recurring details were created.voidsetDetails(List<RecurringDetailWrapper> details)Payment details stored for recurring payments.voidsetLastKnownShopperEmail(String lastKnownShopperEmail)The most recent email for this shopper (if available).voidsetShopperReference(String shopperReference)The reference you use to uniquely identify the shopper (e.g. user ID or account ID).RecurringDetailsResultshopperReference(String shopperReference)The reference you use to uniquely identify the shopper (e.g. user ID or account ID).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)
The date when the recurring details were created.- Parameters:
creationDate-- Returns:
- the current
RecurringDetailsResultinstance, allowing for method chaining
-
getCreationDate
public OffsetDateTime getCreationDate()
The date when the recurring details were created.- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(OffsetDateTime creationDate)
The date when the recurring details were created.- Parameters:
creationDate-
-
details
public RecurringDetailsResult details(List<RecurringDetailWrapper> details)
Payment details stored for recurring payments.- Parameters:
details-- Returns:
- the current
RecurringDetailsResultinstance, allowing for method chaining
-
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)
Payment details stored for recurring payments.- Parameters:
details-
-
lastKnownShopperEmail
public RecurringDetailsResult lastKnownShopperEmail(String lastKnownShopperEmail)
The most recent email for this shopper (if available).- Parameters:
lastKnownShopperEmail-- Returns:
- the current
RecurringDetailsResultinstance, allowing for method chaining
-
getLastKnownShopperEmail
public String getLastKnownShopperEmail()
The most recent email for this shopper (if available).- Returns:
- lastKnownShopperEmail
-
setLastKnownShopperEmail
public void setLastKnownShopperEmail(String lastKnownShopperEmail)
The most recent email for this shopper (if available).- Parameters:
lastKnownShopperEmail-
-
shopperReference
public RecurringDetailsResult shopperReference(String shopperReference)
The reference you use to uniquely identify the shopper (e.g. user ID or account ID).- Parameters:
shopperReference-- Returns:
- the current
RecurringDetailsResultinstance, allowing for method chaining
-
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)
The reference you use to uniquely identify the shopper (e.g. user ID or account ID).- Parameters:
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
-
-