Package com.adyen.model.balanceplatform
Class CardOrderItemDeliveryStatus
- java.lang.Object
-
- com.adyen.model.balanceplatform.CardOrderItemDeliveryStatus
-
public class CardOrderItemDeliveryStatus extends Object
CardOrderItemDeliveryStatus
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardOrderItemDeliveryStatus.StatusEnumThe status of the PIN delivery.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ERROR_MESSAGEstatic StringJSON_PROPERTY_STATUSstatic StringJSON_PROPERTY_TRACKING_NUMBER
-
Constructor Summary
Constructors Constructor Description CardOrderItemDeliveryStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this CardOrderItemDeliveryStatus object is equal to o.CardOrderItemDeliveryStatuserrorMessage(String errorMessage)An error message.static CardOrderItemDeliveryStatusfromJson(String jsonString)Create an instance of CardOrderItemDeliveryStatus given an JSON stringStringgetErrorMessage()An error message.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.CardOrderItemDeliveryStatus.StatusEnumgetStatus()The status of the PIN delivery.StringgetTrackingNumber()The tracking number of the PIN delivery.inthashCode()CardOrderItemDeliveryStatusincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetErrorMessage(String errorMessage)An error message.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetStatus(CardOrderItemDeliveryStatus.StatusEnum status)The status of the PIN delivery.voidsetTrackingNumber(String trackingNumber)The tracking number of the PIN delivery.CardOrderItemDeliveryStatusstatus(CardOrderItemDeliveryStatus.StatusEnum status)The status of the PIN delivery.StringtoJson()Convert an instance of CardOrderItemDeliveryStatus to an JSON stringStringtoString()CardOrderItemDeliveryStatustrackingNumber(String trackingNumber)The tracking number of the PIN delivery.
-
-
-
Field Detail
-
JSON_PROPERTY_ERROR_MESSAGE
public static final String JSON_PROPERTY_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRACKING_NUMBER
public static final String JSON_PROPERTY_TRACKING_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
errorMessage
public CardOrderItemDeliveryStatus errorMessage(String errorMessage)
An error message.- Parameters:
errorMessage- An error message.- Returns:
- the current
CardOrderItemDeliveryStatusinstance, allowing for method chaining
-
getErrorMessage
public String getErrorMessage()
An error message.- Returns:
- errorMessage An error message.
-
setErrorMessage
public void setErrorMessage(String errorMessage)
An error message.- Parameters:
errorMessage- An error message.
-
status
public CardOrderItemDeliveryStatus status(CardOrderItemDeliveryStatus.StatusEnum status)
The status of the PIN delivery.- Parameters:
status- The status of the PIN delivery.- Returns:
- the current
CardOrderItemDeliveryStatusinstance, allowing for method chaining
-
getStatus
public CardOrderItemDeliveryStatus.StatusEnum getStatus()
The status of the PIN delivery.- Returns:
- status The status of the PIN delivery.
-
setStatus
public void setStatus(CardOrderItemDeliveryStatus.StatusEnum status)
The status of the PIN delivery.- Parameters:
status- The status of the PIN delivery.
-
trackingNumber
public CardOrderItemDeliveryStatus trackingNumber(String trackingNumber)
The tracking number of the PIN delivery.- Parameters:
trackingNumber- The tracking number of the PIN delivery.- Returns:
- the current
CardOrderItemDeliveryStatusinstance, allowing for method chaining
-
getTrackingNumber
public String getTrackingNumber()
The tracking number of the PIN delivery.- Returns:
- trackingNumber The tracking number of the PIN delivery.
-
setTrackingNumber
public void setTrackingNumber(String trackingNumber)
The tracking number of the PIN delivery.- Parameters:
trackingNumber- The tracking number of the PIN delivery.
-
includeNullValues
public CardOrderItemDeliveryStatus includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this CardOrderItemDeliveryStatus object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static CardOrderItemDeliveryStatus fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CardOrderItemDeliveryStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CardOrderItemDeliveryStatus
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CardOrderItemDeliveryStatus
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CardOrderItemDeliveryStatus to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-