Class CloudDeviceApiAsyncResponse


  • public class CloudDeviceApiAsyncResponse
    extends Object
    Response of the /async endpoint. When successful the `results` contains `ok` In case of failure the `saleToPOIRequest` contains the EventNotification details
    • Constructor Detail

      • CloudDeviceApiAsyncResponse

        public CloudDeviceApiAsyncResponse()
    • Method Detail

      • getResult

        public String getResult()
      • setResult

        public void setResult​(String result)
      • getSaleToPOIRequest

        public SaleToPOIRequest getSaleToPOIRequest()
        Gets sale to POI request.
        Returns:
        the sale to POI request
      • setSaleToPOIRequest

        public void setSaleToPOIRequest​(SaleToPOIRequest saleToPOIRequest)
        Sets sale to POI request.
        Parameters:
        saleToPOIRequest - the sale to POI request
      • fromJson

        public static CloudDeviceApiAsyncResponse fromJson​(String jsonString)
                                                    throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CloudDeviceApiAsyncResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CloudDeviceApiAsyncResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CloudDeviceApiAsyncResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CloudDeviceApiAsyncResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object