Package com.adyen.model.transfers
Class ConfirmationTrackingData
- java.lang.Object
-
- com.adyen.model.transfers.ConfirmationTrackingData
-
public class ConfirmationTrackingData extends Object
ConfirmationTrackingData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfirmationTrackingData.StatusEnumThe status of the transfer.static classConfirmationTrackingData.TypeEnumThe type of the tracking event.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_STATUSstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description ConfirmationTrackingData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this ConfirmationTrackingData object is equal to o.static ConfirmationTrackingDatafromJson(String jsonString)Create an instance of ConfirmationTrackingData given an JSON stringConfirmationTrackingData.StatusEnumgetStatus()The status of the transfer.ConfirmationTrackingData.TypeEnumgetType()The type of the tracking event.inthashCode()voidsetStatus(ConfirmationTrackingData.StatusEnum status)The status of the transfer.voidsetType(ConfirmationTrackingData.TypeEnum type)The type of the tracking event.ConfirmationTrackingDatastatus(ConfirmationTrackingData.StatusEnum status)StringtoJson()Convert an instance of ConfirmationTrackingData to an JSON stringStringtoString()ConfirmationTrackingDatatype(ConfirmationTrackingData.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public ConfirmationTrackingData status(ConfirmationTrackingData.StatusEnum status)
-
getStatus
public ConfirmationTrackingData.StatusEnum getStatus()
The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account.- Returns:
- status
-
setStatus
public void setStatus(ConfirmationTrackingData.StatusEnum status)
The status of the transfer. Possible values: - **credited**: the funds are credited to your user's transfer instrument or bank account.- Parameters:
status-
-
type
public ConfirmationTrackingData type(ConfirmationTrackingData.TypeEnum type)
-
getType
public ConfirmationTrackingData.TypeEnum getType()
The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review.- Returns:
- type
-
setType
public void setType(ConfirmationTrackingData.TypeEnum type)
The type of the tracking event. Possible values: - **confirmation**: the transfer passed Adyen's internal review.- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this ConfirmationTrackingData object is equal to o.
-
fromJson
public static ConfirmationTrackingData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ConfirmationTrackingData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ConfirmationTrackingData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ConfirmationTrackingData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ConfirmationTrackingData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-