Package com.adyen.model.balanceplatform
Class BalancePlatform
- java.lang.Object
-
- com.adyen.model.balanceplatform.BalancePlatform
-
public class BalancePlatform extends Object
BalancePlatform
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBalancePlatform.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description BalancePlatform()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BalancePlatformdescription(String description)booleanequals(Object o)static BalancePlatformfromJson(String jsonString)Create an instance of BalancePlatform given an JSON stringStringgetDescription()Your description of the balance platform, maximum 300 characters.StringgetId()The unique identifier of the balance platform.StringgetStatus()The status of the balance platform.inthashCode()BalancePlatformid(String id)voidsetDescription(String description)voidsetId(String id)voidsetStatus(String status)BalancePlatformstatus(String status)StringtoJson()Convert an instance of BalancePlatform to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj, boolean strictValidation)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public BalancePlatform description(String description)
-
getDescription
public String getDescription()
Your description of the balance platform, maximum 300 characters.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
id
public BalancePlatform id(String id)
-
getId
public String getId()
The unique identifier of the balance platform.- Returns:
- id
-
setId
public void setId(String id)
-
status
public BalancePlatform status(String status)
-
getStatus
public String getStatus()
The status of the balance platform. Possible values: **Active**, **Inactive**, **Closed**, **Suspended**.- Returns:
- status
-
setStatus
public void setStatus(String status)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException- Throws:
IOException
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj, boolean strictValidation) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON ObjectstrictValidation- reject (new) fields missing from the specifications- Throws:
IOException- if the JSON Object is invalid with respect to BalancePlatform
-
fromJson
public static BalancePlatform fromJson(String jsonString) throws IOException
Create an instance of BalancePlatform given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BalancePlatform
- Throws:
IOException- if the JSON string is invalid with respect to BalancePlatform
-
toJson
public String toJson()
Convert an instance of BalancePlatform to an JSON string- Returns:
- JSON string
-
-