Class TerminalProductsResponse


  • public class TerminalProductsResponse
    extends Object
    TerminalProductsResponse
    • Constructor Detail

      • TerminalProductsResponse

        public TerminalProductsResponse()
    • Method Detail

      • getData

        public List<TerminalProduct> getData()
        Terminal products that can be ordered.
        Returns:
        data
      • setData

        public void setData​(List<TerminalProduct> data)
        Terminal products that can be ordered.
        Parameters:
        data -
      • equals

        public boolean equals​(Object o)
        Return true if this TerminalProductsResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

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

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