Package com.adyen.model.recurring
Class RecurringDetailWrapper
- java.lang.Object
-
- com.adyen.model.recurring.RecurringDetailWrapper
-
public class RecurringDetailWrapper extends Object
RecurringDetailWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecurringDetailWrapper.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_RECURRING_DETAIL
-
Constructor Summary
Constructors Constructor Description RecurringDetailWrapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static RecurringDetailWrapperfromJson(String jsonString)Create an instance of RecurringDetailWrapper given an JSON stringRecurringDetailgetRecurringDetail()Get recurringDetailinthashCode()RecurringDetailWrapperrecurringDetail(RecurringDetail recurringDetail)voidsetRecurringDetail(RecurringDetail recurringDetail)StringtoJson()Convert an instance of RecurringDetailWrapper to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
recurringDetail
public RecurringDetailWrapper recurringDetail(RecurringDetail recurringDetail)
-
getRecurringDetail
public RecurringDetail getRecurringDetail()
Get recurringDetail- Returns:
- recurringDetail
-
setRecurringDetail
public void setRecurringDetail(RecurringDetail recurringDetail)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to RecurringDetailWrapper
-
fromJson
public static RecurringDetailWrapper fromJson(String jsonString) throws IOException
Create an instance of RecurringDetailWrapper given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RecurringDetailWrapper
- Throws:
IOException- if the JSON string is invalid with respect to RecurringDetailWrapper
-
toJson
public String toJson()
Convert an instance of RecurringDetailWrapper to an JSON string- Returns:
- JSON string
-
-