Package com.adyen.model.payments
Class PlatformChargebackLogic
- java.lang.Object
-
- com.adyen.model.payments.PlatformChargebackLogic
-
public class PlatformChargebackLogic extends Object
PlatformChargebackLogic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlatformChargebackLogic.BehaviorEnumGets or Sets behaviorstatic classPlatformChargebackLogic.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BEHAVIORstatic StringSERIALIZED_NAME_TARGET_ACCOUNT
-
Constructor Summary
Constructors Constructor Description PlatformChargebackLogic()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformChargebackLogicbehavior(PlatformChargebackLogic.BehaviorEnum behavior)booleanequals(Object o)static PlatformChargebackLogicfromJson(String jsonString)Create an instance of PlatformChargebackLogic given an JSON stringPlatformChargebackLogic.BehaviorEnumgetBehavior()Get behaviorStringgetTargetAccount()Get targetAccountinthashCode()voidsetBehavior(PlatformChargebackLogic.BehaviorEnum behavior)voidsetTargetAccount(String targetAccount)PlatformChargebackLogictargetAccount(String targetAccount)StringtoJson()Convert an instance of PlatformChargebackLogic 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_BEHAVIOR
public static final String SERIALIZED_NAME_BEHAVIOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TARGET_ACCOUNT
public static final String SERIALIZED_NAME_TARGET_ACCOUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
behavior
public PlatformChargebackLogic behavior(PlatformChargebackLogic.BehaviorEnum behavior)
-
getBehavior
public PlatformChargebackLogic.BehaviorEnum getBehavior()
Get behavior- Returns:
- behavior
-
setBehavior
public void setBehavior(PlatformChargebackLogic.BehaviorEnum behavior)
-
targetAccount
public PlatformChargebackLogic targetAccount(String targetAccount)
-
getTargetAccount
public String getTargetAccount()
Get targetAccount- Returns:
- targetAccount
-
setTargetAccount
public void setTargetAccount(String targetAccount)
-
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 PlatformChargebackLogic
-
fromJson
public static PlatformChargebackLogic fromJson(String jsonString) throws IOException
Create an instance of PlatformChargebackLogic given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PlatformChargebackLogic
- Throws:
IOException- if the JSON string is invalid with respect to PlatformChargebackLogic
-
toJson
public String toJson()
Convert an instance of PlatformChargebackLogic to an JSON string- Returns:
- JSON string
-
-