Package com.adyen.model.tapi
Class POISystemData
- java.lang.Object
-
- com.adyen.model.tapi.POISystemData
-
public class POISystemData extends Object
POISystemData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATE_TIMEstatic StringJSON_PROPERTY_PO_I_SOFTWAREstatic StringJSON_PROPERTY_PO_I_STATUS
-
Constructor Summary
Constructors Constructor Description POISystemData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description POISystemDatadateTime(OffsetDateTime dateTime)Date and Time.booleanequals(Object o)Return true if this POISystemData object is equal to o.static POISystemDatafromJson(String jsonString)Create an instance of POISystemData given an JSON stringOffsetDateTimegetDateTime()Date and Time.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.POISoftwaregetPoISoftware()Get poISoftwarePOIStatusgetPoIStatus()Get poIStatusinthashCode()POISystemDataincludeNullValues(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.POISystemDatapoISoftware(POISoftware poISoftware)poISoftwarePOISystemDatapoIStatus(POIStatus poIStatus)poIStatusvoidsetDateTime(OffsetDateTime dateTime)Date and Time.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetPoISoftware(POISoftware poISoftware)poISoftwarevoidsetPoIStatus(POIStatus poIStatus)poIStatusStringtoJson()Convert an instance of POISystemData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DATE_TIME
public static final String JSON_PROPERTY_DATE_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PO_I_SOFTWARE
public static final String JSON_PROPERTY_PO_I_SOFTWARE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PO_I_STATUS
public static final String JSON_PROPERTY_PO_I_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
dateTime
public POISystemData dateTime(OffsetDateTime dateTime)
Date and Time. In the response, the POI System gives its date and time to the Sale System.- Parameters:
dateTime- Date and Time. In the response, the POI System gives its date and time to the Sale System.- Returns:
- the current
POISystemDatainstance, allowing for method chaining
-
getDateTime
public OffsetDateTime getDateTime()
Date and Time. In the response, the POI System gives its date and time to the Sale System.- Returns:
- dateTime Date and Time. In the response, the POI System gives its date and time to the Sale System.
-
setDateTime
public void setDateTime(OffsetDateTime dateTime)
Date and Time. In the response, the POI System gives its date and time to the Sale System.- Parameters:
dateTime- Date and Time. In the response, the POI System gives its date and time to the Sale System.
-
poISoftware
public POISystemData poISoftware(POISoftware poISoftware)
poISoftware- Parameters:
poISoftware-- Returns:
- the current
POISystemDatainstance, allowing for method chaining
-
getPoISoftware
public POISoftware getPoISoftware()
Get poISoftware- Returns:
- poISoftware
-
setPoISoftware
public void setPoISoftware(POISoftware poISoftware)
poISoftware- Parameters:
poISoftware-
-
poIStatus
public POISystemData poIStatus(POIStatus poIStatus)
poIStatus- Parameters:
poIStatus-- Returns:
- the current
POISystemDatainstance, allowing for method chaining
-
getPoIStatus
public POIStatus getPoIStatus()
Get poIStatus- Returns:
- poIStatus
-
setPoIStatus
public void setPoIStatus(POIStatus poIStatus)
poIStatus- Parameters:
poIStatus-
-
includeNullValues
public POISystemData 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 POISystemData 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 POISystemData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of POISystemData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of POISystemData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to POISystemData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of POISystemData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-