Package com.adyen.model.balanceplatform
Class MerchantNamesRestriction
- java.lang.Object
-
- com.adyen.model.balanceplatform.MerchantNamesRestriction
-
public class MerchantNamesRestriction extends Object
MerchantNamesRestriction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantNamesRestriction.CustomTypeAdapterFactory
-
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 MerchantNamesRestriction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantNamesRestrictionaddValueItem(StringMatch valueItem)booleanequals(Object o)static MerchantNamesRestrictionfromJson(String jsonString)Create an instance of MerchantNamesRestriction given an JSON stringStringgetOperation()Defines how the condition must be evaluated.List<StringMatch>getValue()Get valueinthashCode()MerchantNamesRestrictionoperation(String operation)voidsetOperation(String operation)voidsetValue(List<StringMatch> value)StringtoJson()Convert an instance of MerchantNamesRestriction to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundMerchantNamesRestrictionvalue(List<StringMatch> 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 MerchantNamesRestriction operation(String operation)
-
getOperation
public String getOperation()
Defines how the condition must be evaluated.- Returns:
- operation
-
setOperation
public void setOperation(String operation)
-
value
public MerchantNamesRestriction value(List<StringMatch> value)
-
addValueItem
public MerchantNamesRestriction addValueItem(StringMatch valueItem)
-
getValue
public List<StringMatch> getValue()
Get value- Returns:
- value
-
setValue
public void setValue(List<StringMatch> 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 MerchantNamesRestriction
-
fromJson
public static MerchantNamesRestriction fromJson(String jsonString) throws IOException
Create an instance of MerchantNamesRestriction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantNamesRestriction
- Throws:
IOException- if the JSON string is invalid with respect to MerchantNamesRestriction
-
toJson
public String toJson()
Convert an instance of MerchantNamesRestriction to an JSON string- Returns:
- JSON string
-
-