Package com.adyen.model.transferwebhooks
Class EstimationTrackingData
- java.lang.Object
-
- com.adyen.model.transferwebhooks.EstimationTrackingData
-
public class EstimationTrackingData extends Object
EstimationTrackingData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEstimationTrackingData.TypeEnumThe type of tracking event.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ESTIMATED_ARRIVAL_TIMEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description EstimationTrackingData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this EstimationTrackingData object is equal to o.EstimationTrackingDataestimatedArrivalTime(OffsetDateTime estimatedArrivalTime)The estimated time the beneficiary should have access to the funds.static EstimationTrackingDatafromJson(String jsonString)Create an instance of EstimationTrackingData given an JSON stringOffsetDateTimegetEstimatedArrivalTime()The estimated time the beneficiary should have access to the funds.EstimationTrackingData.TypeEnumgetType()The type of tracking event.inthashCode()voidsetEstimatedArrivalTime(OffsetDateTime estimatedArrivalTime)The estimated time the beneficiary should have access to the funds.voidsetType(EstimationTrackingData.TypeEnum type)The type of tracking event.StringtoJson()Convert an instance of EstimationTrackingData to an JSON stringStringtoString()EstimationTrackingDatatype(EstimationTrackingData.TypeEnum type)The type of tracking event.
-
-
-
Field Detail
-
JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME
public static final String JSON_PROPERTY_ESTIMATED_ARRIVAL_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
estimatedArrivalTime
public EstimationTrackingData estimatedArrivalTime(OffsetDateTime estimatedArrivalTime)
The estimated time the beneficiary should have access to the funds.- Parameters:
estimatedArrivalTime-- Returns:
- the current
EstimationTrackingDatainstance, allowing for method chaining
-
getEstimatedArrivalTime
public OffsetDateTime getEstimatedArrivalTime()
The estimated time the beneficiary should have access to the funds.- Returns:
- estimatedArrivalTime
-
setEstimatedArrivalTime
public void setEstimatedArrivalTime(OffsetDateTime estimatedArrivalTime)
The estimated time the beneficiary should have access to the funds.- Parameters:
estimatedArrivalTime-
-
type
public EstimationTrackingData type(EstimationTrackingData.TypeEnum type)
The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined.- Parameters:
type-- Returns:
- the current
EstimationTrackingDatainstance, allowing for method chaining
-
getType
public EstimationTrackingData.TypeEnum getType()
The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined.- Returns:
- type
-
setType
public void setType(EstimationTrackingData.TypeEnum type)
The type of tracking event. Possible values: - **estimation**: the estimated date and time of when the funds will be credited has been determined.- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this EstimationTrackingData object is equal to o.
-
fromJson
public static EstimationTrackingData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of EstimationTrackingData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EstimationTrackingData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to EstimationTrackingData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of EstimationTrackingData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-