Package com.adyen.model.tapi
Class SaleSoftware
- java.lang.Object
-
- com.adyen.model.tapi.SaleSoftware
-
public class SaleSoftware extends Object
Information related to the software of the Sale System which manages the NEXO Sale to POI protocol.
-
-
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 SaleSoftware()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SaleSoftwareapplicationName(String applicationName)Name of the software product.SaleSoftwarecertificationCode(String certificationCode)Certification code of the software which manages the Sale to POI protocol.booleanequals(Object o)Return true if this SaleSoftware object is equal to o.static SaleSoftwarefromJson(String jsonString)Create an instance of SaleSoftware 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()SaleSoftwareincludeNullValues(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.SaleSoftwaremanufacturerID(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.SaleSoftwaresoftwareVersion(String softwareVersion)Version of the software product.StringtoJson()Convert an instance of SaleSoftware 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 SaleSoftware manufacturerID(String manufacturerID)
Identification of the Manufacturer.- Parameters:
manufacturerID- Identification of the Manufacturer.- Returns:
- the current
SaleSoftwareinstance, allowing for method chaining
-
getManufacturerID
public String getManufacturerID()
Identification of the Manufacturer.- Returns:
- manufacturerID Identification of the Manufacturer.
-
setManufacturerID
public void setManufacturerID(String manufacturerID)
Identification of the Manufacturer.- Parameters:
manufacturerID- Identification of the Manufacturer.
-
applicationName
public SaleSoftware applicationName(String applicationName)
Name of the software product.- Parameters:
applicationName- Name of the software product.- Returns:
- the current
SaleSoftwareinstance, allowing for method chaining
-
getApplicationName
public String getApplicationName()
Name of the software product.- Returns:
- applicationName Name of the software product.
-
setApplicationName
public void setApplicationName(String applicationName)
Name of the software product.- Parameters:
applicationName- Name of the software product.
-
softwareVersion
public SaleSoftware softwareVersion(String softwareVersion)
Version of the software product.- Parameters:
softwareVersion- Version of the software product.- Returns:
- the current
SaleSoftwareinstance, allowing for method chaining
-
getSoftwareVersion
public String getSoftwareVersion()
Version of the software product.- Returns:
- softwareVersion Version of the software product.
-
setSoftwareVersion
public void setSoftwareVersion(String softwareVersion)
Version of the software product.- Parameters:
softwareVersion- Version of the software product.
-
certificationCode
public SaleSoftware certificationCode(String certificationCode)
Certification code of the software which manages the Sale to POI protocol.- Parameters:
certificationCode- Certification code of the software which manages the Sale to POI protocol.- Returns:
- the current
SaleSoftwareinstance, allowing for method chaining
-
getCertificationCode
public String getCertificationCode()
Certification code of the software which manages the Sale to POI protocol.- Returns:
- certificationCode Certification code of the software which manages the Sale to POI protocol.
-
setCertificationCode
public void setCertificationCode(String certificationCode)
Certification code of the software which manages the Sale to POI protocol.- Parameters:
certificationCode- Certification code of the software which manages the Sale to POI protocol.
-
includeNullValues
public SaleSoftware 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 SaleSoftware 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 SaleSoftware fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SaleSoftware given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SaleSoftware
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SaleSoftware
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SaleSoftware to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-