Class MerchantDevice


  • public class MerchantDevice
    extends Object
    MerchantDevice
    • Constructor Detail

      • MerchantDevice

        public MerchantDevice()
    • Method Detail

      • os

        public MerchantDevice os​(String os)
        Operating system running on the merchant device.
        Parameters:
        os -
        Returns:
        the current MerchantDevice instance, allowing for method chaining
      • getOs

        public String getOs()
        Operating system running on the merchant device.
        Returns:
        os
      • setOs

        public void setOs​(String os)
        Operating system running on the merchant device.
        Parameters:
        os -
      • osVersion

        public MerchantDevice osVersion​(String osVersion)
        Version of the operating system on the merchant device.
        Parameters:
        osVersion -
        Returns:
        the current MerchantDevice instance, allowing for method chaining
      • getOsVersion

        public String getOsVersion()
        Version of the operating system on the merchant device.
        Returns:
        osVersion
      • setOsVersion

        public void setOsVersion​(String osVersion)
        Version of the operating system on the merchant device.
        Parameters:
        osVersion -
      • reference

        public MerchantDevice reference​(String reference)
        Merchant device reference.
        Parameters:
        reference -
        Returns:
        the current MerchantDevice instance, allowing for method chaining
      • getReference

        public String getReference()
        Merchant device reference.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Merchant device reference.
        Parameters:
        reference -
      • equals

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

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

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

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