Class TerminalModelsResponse


  • public class TerminalModelsResponse
    extends Object
    TerminalModelsResponse
    • Constructor Detail

      • TerminalModelsResponse

        public TerminalModelsResponse()
    • Method Detail

      • getData

        public List<IdName> getData()
        The terminal models that the API credential has access to.
        Returns:
        data
      • setData

        public void setData​(List<IdName> data)
        The terminal models that the API credential has access to.
        Parameters:
        data -
      • equals

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

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

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

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