Package com.adyen.model.balanceplatform
Class TargetUpdate
- java.lang.Object
-
- com.adyen.model.balanceplatform.TargetUpdate
-
public class TargetUpdate extends Object
TargetUpdate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTargetUpdate.TypeEnumThe resource for which you want to receive notifications.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description TargetUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this TargetUpdate object is equal to o.static TargetUpdatefromJson(String jsonString)Create an instance of TargetUpdate given an JSON stringStringgetId()The unique identifier of the `target.type`.TargetUpdate.TypeEnumgetType()The resource for which you want to receive notifications.inthashCode()TargetUpdateid(String id)The unique identifier of the `target.type`.voidsetId(String id)The unique identifier of the `target.type`.voidsetType(TargetUpdate.TypeEnum type)The resource for which you want to receive notifications.StringtoJson()Convert an instance of TargetUpdate to an JSON stringStringtoString()TargetUpdatetype(TargetUpdate.TypeEnum type)The resource for which you want to receive notifications.
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public TargetUpdate id(String id)
The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account- Parameters:
id- The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account- Returns:
- the current
TargetUpdateinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account- Returns:
- id The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account
-
setId
public void setId(String id)
The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account- Parameters:
id- The unique identifier of the `target.type`. This can be the ID of your: * balance platform * account holder * account holder's balance account
-
type
public TargetUpdate type(TargetUpdate.TypeEnum type)
The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.- Parameters:
type- The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.- Returns:
- the current
TargetUpdateinstance, allowing for method chaining
-
getType
public TargetUpdate.TypeEnum getType()
The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.- Returns:
- type The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
-
setType
public void setType(TargetUpdate.TypeEnum type)
The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.- Parameters:
type- The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
-
equals
public boolean equals(Object o)
Return true if this TargetUpdate object is equal to o.
-
fromJson
public static TargetUpdate fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TargetUpdate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TargetUpdate
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TargetUpdate
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TargetUpdate to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-