Package com.adyen.model.transferwebhooks
Class TransferNotificationTransferTracking
- java.lang.Object
-
- com.adyen.model.transferwebhooks.TransferNotificationTransferTracking
-
public class TransferNotificationTransferTracking extends Object
TransferNotificationTransferTracking
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransferNotificationTransferTracking.CustomTypeAdapterFactorystatic classTransferNotificationTransferTracking.StatusEnumThe tracking status of the transfer.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ESTIMATED_ARRIVAL_TIMEstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description TransferNotificationTransferTracking()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)TransferNotificationTransferTrackingestimatedArrivalTime(OffsetDateTime estimatedArrivalTime)static TransferNotificationTransferTrackingfromJson(String jsonString)Create an instance of TransferNotificationTransferTracking given an JSON stringOffsetDateTimegetEstimatedArrivalTime()The estimated time the beneficiary should have access to the funds.TransferNotificationTransferTracking.StatusEnumgetStatus()The tracking status of the transfer.inthashCode()voidsetEstimatedArrivalTime(OffsetDateTime estimatedArrivalTime)voidsetStatus(TransferNotificationTransferTracking.StatusEnum status)TransferNotificationTransferTrackingstatus(TransferNotificationTransferTracking.StatusEnum status)StringtoJson()Convert an instance of TransferNotificationTransferTracking 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_ESTIMATED_ARRIVAL_TIME
public static final String SERIALIZED_NAME_ESTIMATED_ARRIVAL_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
estimatedArrivalTime
public TransferNotificationTransferTracking estimatedArrivalTime(OffsetDateTime estimatedArrivalTime)
-
getEstimatedArrivalTime
public OffsetDateTime getEstimatedArrivalTime()
The estimated time the beneficiary should have access to the funds.- Returns:
- estimatedArrivalTime
-
setEstimatedArrivalTime
public void setEstimatedArrivalTime(OffsetDateTime estimatedArrivalTime)
-
status
public TransferNotificationTransferTracking status(TransferNotificationTransferTracking.StatusEnum status)
-
getStatus
public TransferNotificationTransferTracking.StatusEnum getStatus()
The tracking status of the transfer.- Returns:
- status
-
setStatus
public void setStatus(TransferNotificationTransferTracking.StatusEnum status)
-
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 TransferNotificationTransferTracking
-
fromJson
public static TransferNotificationTransferTracking fromJson(String jsonString) throws IOException
Create an instance of TransferNotificationTransferTracking given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferNotificationTransferTracking
- Throws:
IOException- if the JSON string is invalid with respect to TransferNotificationTransferTracking
-
toJson
public String toJson()
Convert an instance of TransferNotificationTransferTracking to an JSON string- Returns:
- JSON string
-
-