Class DeviceInfo


  • public class DeviceInfo
    extends Object
    DeviceInfo
    • Constructor Detail

      • DeviceInfo

        public DeviceInfo()
    • Method Detail

      • cardCaptureTechnology

        public DeviceInfo cardCaptureTechnology​(String cardCaptureTechnology)
        The technology used to capture the card details.
        Parameters:
        cardCaptureTechnology -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getCardCaptureTechnology

        public String getCardCaptureTechnology()
        The technology used to capture the card details.
        Returns:
        cardCaptureTechnology
      • setCardCaptureTechnology

        public void setCardCaptureTechnology​(String cardCaptureTechnology)
        The technology used to capture the card details.
        Parameters:
        cardCaptureTechnology -
      • deviceName

        public DeviceInfo deviceName​(String deviceName)
        The name of the device.
        Parameters:
        deviceName -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getDeviceName

        public String getDeviceName()
        The name of the device.
        Returns:
        deviceName
      • setDeviceName

        public void setDeviceName​(String deviceName)
        The name of the device.
        Parameters:
        deviceName -
      • formFactor

        public DeviceInfo formFactor​(String formFactor)
        The form factor of the device to be provisioned.
        Parameters:
        formFactor -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getFormFactor

        public String getFormFactor()
        The form factor of the device to be provisioned.
        Returns:
        formFactor
      • setFormFactor

        public void setFormFactor​(String formFactor)
        The form factor of the device to be provisioned.
        Parameters:
        formFactor -
      • imei

        public DeviceInfo imei​(String imei)
        The IMEI number of the device being provisioned.
        Parameters:
        imei -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getImei

        public String getImei()
        The IMEI number of the device being provisioned.
        Returns:
        imei
      • setImei

        public void setImei​(String imei)
        The IMEI number of the device being provisioned.
        Parameters:
        imei -
      • isoDeviceType

        public DeviceInfo isoDeviceType​(String isoDeviceType)
        The 2-digit device type provided on the ISO messages that the token is being provisioned to.
        Parameters:
        isoDeviceType -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getIsoDeviceType

        public String getIsoDeviceType()
        The 2-digit device type provided on the ISO messages that the token is being provisioned to.
        Returns:
        isoDeviceType
      • setIsoDeviceType

        public void setIsoDeviceType​(String isoDeviceType)
        The 2-digit device type provided on the ISO messages that the token is being provisioned to.
        Parameters:
        isoDeviceType -
      • msisdn

        public DeviceInfo msisdn​(String msisdn)
        The MSISDN of the device being provisioned.
        Parameters:
        msisdn -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getMsisdn

        public String getMsisdn()
        The MSISDN of the device being provisioned.
        Returns:
        msisdn
      • setMsisdn

        public void setMsisdn​(String msisdn)
        The MSISDN of the device being provisioned.
        Parameters:
        msisdn -
      • osName

        public DeviceInfo osName​(String osName)
        The name of the device operating system.
        Parameters:
        osName -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getOsName

        public String getOsName()
        The name of the device operating system.
        Returns:
        osName
      • setOsName

        public void setOsName​(String osName)
        The name of the device operating system.
        Parameters:
        osName -
      • osVersion

        public DeviceInfo osVersion​(String osVersion)
        The version of the device operating system.
        Parameters:
        osVersion -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getOsVersion

        public String getOsVersion()
        The version of the device operating system.
        Returns:
        osVersion
      • setOsVersion

        public void setOsVersion​(String osVersion)
        The version of the device operating system.
        Parameters:
        osVersion -
      • paymentTypes

        public DeviceInfo paymentTypes​(List<String> paymentTypes)
        Different types of payments supported for the network token.
        Parameters:
        paymentTypes -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • addPaymentTypesItem

        public DeviceInfo addPaymentTypesItem​(String paymentTypesItem)
      • getPaymentTypes

        public List<String> getPaymentTypes()
        Different types of payments supported for the network token.
        Returns:
        paymentTypes
      • setPaymentTypes

        public void setPaymentTypes​(List<String> paymentTypes)
        Different types of payments supported for the network token.
        Parameters:
        paymentTypes -
      • serialNumber

        public DeviceInfo serialNumber​(String serialNumber)
        The serial number of the device.
        Parameters:
        serialNumber -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getSerialNumber

        public String getSerialNumber()
        The serial number of the device.
        Returns:
        serialNumber
      • setSerialNumber

        public void setSerialNumber​(String serialNumber)
        The serial number of the device.
        Parameters:
        serialNumber -
      • storageTechnology

        public DeviceInfo storageTechnology​(String storageTechnology)
        The architecture or technology used for network token storage.
        Parameters:
        storageTechnology -
        Returns:
        the current DeviceInfo instance, allowing for method chaining
      • getStorageTechnology

        public String getStorageTechnology()
        The architecture or technology used for network token storage.
        Returns:
        storageTechnology
      • setStorageTechnology

        public void setStorageTechnology​(String storageTechnology)
        The architecture or technology used for network token storage.
        Parameters:
        storageTechnology -
      • equals

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

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

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

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