Package com.adyen.model.balanceplatform
Class ProcessingTypesRestriction
- java.lang.Object
-
- com.adyen.model.balanceplatform.ProcessingTypesRestriction
-
public class ProcessingTypesRestriction extends Object
ProcessingTypesRestriction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessingTypesRestriction.CustomTypeAdapterFactorystatic classProcessingTypesRestriction.ValueEnumGets or Sets value
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_OPERATIONstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description ProcessingTypesRestriction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessingTypesRestrictionaddValueItem(ProcessingTypesRestriction.ValueEnum valueItem)booleanequals(Object o)static ProcessingTypesRestrictionfromJson(String jsonString)Create an instance of ProcessingTypesRestriction given an JSON stringStringgetOperation()Defines how the condition must be evaluated.List<ProcessingTypesRestriction.ValueEnum>getValue()List of processing types.inthashCode()ProcessingTypesRestrictionoperation(String operation)voidsetOperation(String operation)voidsetValue(List<ProcessingTypesRestriction.ValueEnum> value)StringtoJson()Convert an instance of ProcessingTypesRestriction to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundProcessingTypesRestrictionvalue(List<ProcessingTypesRestriction.ValueEnum> value)
-
-
-
Field Detail
-
SERIALIZED_NAME_OPERATION
public static final String SERIALIZED_NAME_OPERATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
operation
public ProcessingTypesRestriction operation(String operation)
-
getOperation
public String getOperation()
Defines how the condition must be evaluated.- Returns:
- operation
-
setOperation
public void setOperation(String operation)
-
value
public ProcessingTypesRestriction value(List<ProcessingTypesRestriction.ValueEnum> value)
-
addValueItem
public ProcessingTypesRestriction addValueItem(ProcessingTypesRestriction.ValueEnum valueItem)
-
getValue
public List<ProcessingTypesRestriction.ValueEnum> getValue()
List of processing types. Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **recurring**, **token**.- Returns:
- value
-
setValue
public void setValue(List<ProcessingTypesRestriction.ValueEnum> value)
-
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 ProcessingTypesRestriction
-
fromJson
public static ProcessingTypesRestriction fromJson(String jsonString) throws IOException
Create an instance of ProcessingTypesRestriction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProcessingTypesRestriction
- Throws:
IOException- if the JSON string is invalid with respect to ProcessingTypesRestriction
-
toJson
public String toJson()
Convert an instance of ProcessingTypesRestriction to an JSON string- Returns:
- JSON string
-
-