Package com.adyen.model.recurring
Class CreatePermitResult
- java.lang.Object
-
- com.adyen.model.recurring.CreatePermitResult
-
public class CreatePermitResult extends Object
CreatePermitResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreatePermitResult.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PERMIT_RESULT_LISTstatic StringSERIALIZED_NAME_PSP_REFERENCE
-
Constructor Summary
Constructors Constructor Description CreatePermitResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePermitResultaddPermitResultListItem(PermitResult permitResultListItem)booleanequals(Object o)static CreatePermitResultfromJson(String jsonString)Create an instance of CreatePermitResult given an JSON stringList<PermitResult>getPermitResultList()List of new permits.StringgetPspReference()A unique reference associated with the request.inthashCode()CreatePermitResultpermitResultList(List<PermitResult> permitResultList)CreatePermitResultpspReference(String pspReference)voidsetPermitResultList(List<PermitResult> permitResultList)voidsetPspReference(String pspReference)StringtoJson()Convert an instance of CreatePermitResult to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_PERMIT_RESULT_LIST
public static final String SERIALIZED_NAME_PERMIT_RESULT_LIST
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PSP_REFERENCE
public static final String SERIALIZED_NAME_PSP_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
permitResultList
public CreatePermitResult permitResultList(List<PermitResult> permitResultList)
-
addPermitResultListItem
public CreatePermitResult addPermitResultListItem(PermitResult permitResultListItem)
-
getPermitResultList
public List<PermitResult> getPermitResultList()
List of new permits.- Returns:
- permitResultList
-
setPermitResultList
public void setPermitResultList(List<PermitResult> permitResultList)
-
pspReference
public CreatePermitResult pspReference(String pspReference)
-
getPspReference
public String getPspReference()
A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
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 CreatePermitResult
-
fromJson
public static CreatePermitResult fromJson(String jsonString) throws IOException
Create an instance of CreatePermitResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreatePermitResult
- Throws:
IOException- if the JSON string is invalid with respect to CreatePermitResult
-
toJson
public String toJson()
Convert an instance of CreatePermitResult to an JSON string- Returns:
- JSON string
-
-