Package com.adyen.model.tapi
Class POISoftware
- java.lang.Object
-
- com.adyen.model.tapi.POISoftware
-
public class POISoftware extends Object
Information related to the software of the POI System which manages the Sale to POI protocol. In a session allows identifying the product features of a POI System.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_APPLICATION_NAMEstatic StringJSON_PROPERTY_CERTIFICATION_CODEstatic StringJSON_PROPERTY_MANUFACTURER_I_Dstatic StringJSON_PROPERTY_SOFTWARE_VERSION
-
Constructor Summary
Constructors Constructor Description POISoftware()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description POISoftwareapplicationName(String applicationName)Name of the software product.POISoftwarecertificationCode(String certificationCode)Certification code of the software which manages the Sale to POI protocol.booleanequals(Object o)Return true if this POISoftware object is equal to o.static POISoftwarefromJson(String jsonString)Create an instance of POISoftware given an JSON stringStringgetApplicationName()Name of the software product.StringgetCertificationCode()Certification code of the software which manages the Sale to POI protocol.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetManufacturerID()Identification of the Manufacturer.StringgetSoftwareVersion()Version of the software product.inthashCode()POISoftwareincludeNullValues(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.POISoftwaremanufacturerID(String manufacturerID)Identification of the Manufacturer.voidsetApplicationName(String applicationName)Name of the software product.voidsetCertificationCode(String certificationCode)Certification code of the software which manages the Sale to POI protocol.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetManufacturerID(String manufacturerID)Identification of the Manufacturer.voidsetSoftwareVersion(String softwareVersion)Version of the software product.POISoftwaresoftwareVersion(String softwareVersion)Version of the software product.StringtoJson()Convert an instance of POISoftware to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MANUFACTURER_I_D
public static final String JSON_PROPERTY_MANUFACTURER_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_APPLICATION_NAME
public static final String JSON_PROPERTY_APPLICATION_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOFTWARE_VERSION
public static final String JSON_PROPERTY_SOFTWARE_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CERTIFICATION_CODE
public static final String JSON_PROPERTY_CERTIFICATION_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
manufacturerID
public POISoftware manufacturerID(String manufacturerID)
Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.- Parameters:
manufacturerID- Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.- Returns:
- the current
POISoftwareinstance, allowing for method chaining
-
getManufacturerID
public String getManufacturerID()
Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.- Returns:
- manufacturerID Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.
-
setManufacturerID
public void setManufacturerID(String manufacturerID)
Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.- Parameters:
manufacturerID- Identification of the Manufacturer. Sent in the Login Request (Response) to identify the Sale System (POI System) manufacturer during the session.
-
applicationName
public POISoftware applicationName(String applicationName)
Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.- Parameters:
applicationName- Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.- Returns:
- the current
POISoftwareinstance, allowing for method chaining
-
getApplicationName
public String getApplicationName()
Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.- Returns:
- applicationName Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.
-
setApplicationName
public void setApplicationName(String applicationName)
Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.- Parameters:
applicationName- Name of the software product. Sent in the Login Request (Response) to identify the Sale System (POI System) product name during the session.
-
softwareVersion
public POISoftware softwareVersion(String softwareVersion)
Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.- Parameters:
softwareVersion- Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.- Returns:
- the current
POISoftwareinstance, allowing for method chaining
-
getSoftwareVersion
public String getSoftwareVersion()
Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.- Returns:
- softwareVersion Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.
-
setSoftwareVersion
public void setSoftwareVersion(String softwareVersion)
Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.- Parameters:
softwareVersion- Version of the software product. Sent in the Login Request (Response) to identify the version of the Sale System (POI System) product software during the session.
-
certificationCode
public POISoftware certificationCode(String certificationCode)
Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.- Parameters:
certificationCode- Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.- Returns:
- the current
POISoftwareinstance, allowing for method chaining
-
getCertificationCode
public String getCertificationCode()
Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.- Returns:
- certificationCode Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.
-
setCertificationCode
public void setCertificationCode(String certificationCode)
Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.- Parameters:
certificationCode- Certification code of the software which manages the Sale to POI protocol. Sent in the Login Request (Response) to get the certification code of the Sale System (POI System) product software. This code can be a software checksum or any number associated with the software.
-
includeNullValues
public POISoftware 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 POISoftware 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 POISoftware fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of POISoftware given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of POISoftware
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to POISoftware
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of POISoftware to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-