Class Reader

    • Constructor Detail

      • Reader

        public Reader()
    • Method Detail

      • getLocation

        public java.lang.String getLocation()
        Get ID of expandable location object.
      • setLocation

        public void setLocation​(java.lang.String id)
      • getLocationObject

        public Location getLocationObject()
        Get expanded location.
      • setLocationObject

        public void setLocationObject​(Location expandableObject)
      • update

        public Reader update​(java.util.Map<java.lang.String,​java.lang.Object> params)
                      throws StripeException
        Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
        Specified by:
        update in interface MetadataStore<Reader>
        Throws:
        StripeException
      • getDeleted

        public java.lang.Boolean getDeleted()
        Always true for a deleted object.
      • getDeviceSwVersion

        public java.lang.String getDeviceSwVersion()
        The current software version of the reader.
      • getDeviceType

        public java.lang.String getDeviceType()
        Type of reader, one of bbpos_chipper2x, bbpos_wisepos_e, or verifone_P400.
      • getIpAddress

        public java.lang.String getIpAddress()
        The local IP address of the reader.
      • getLabel

        public java.lang.String getLabel()
        Custom label given to the reader for easier identification.
      • getLivemode

        public java.lang.Boolean getLivemode()
        Has the value true if the object exists in live mode or the value false if the object exists in test mode.
      • getObject

        public java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.

        Equal to terminal.reader.

      • getSerialNumber

        public java.lang.String getSerialNumber()
        Serial number of the reader.
      • getStatus

        public java.lang.String getStatus()
        The networking status of the reader.
      • setDeleted

        public void setDeleted​(java.lang.Boolean deleted)
        Always true for a deleted object.
      • setDeviceSwVersion

        public void setDeviceSwVersion​(java.lang.String deviceSwVersion)
        The current software version of the reader.
      • setDeviceType

        public void setDeviceType​(java.lang.String deviceType)
        Type of reader, one of bbpos_chipper2x, bbpos_wisepos_e, or verifone_P400.
      • setId

        public void setId​(java.lang.String id)
        Unique identifier for the object.
      • setIpAddress

        public void setIpAddress​(java.lang.String ipAddress)
        The local IP address of the reader.
      • setLabel

        public void setLabel​(java.lang.String label)
        Custom label given to the reader for easier identification.
      • setLivemode

        public void setLivemode​(java.lang.Boolean livemode)
        Has the value true if the object exists in live mode or the value false if the object exists in test mode.
      • setMetadata

        public void setMetadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)
        Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
      • setObject

        public void setObject​(java.lang.String object)
        String representing the object's type. Objects of the same type share the same value.

        Equal to terminal.reader.

      • setSerialNumber

        public void setSerialNumber​(java.lang.String serialNumber)
        Serial number of the reader.
      • setStatus

        public void setStatus​(java.lang.String status)
        The networking status of the reader.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getId

        public java.lang.String getId()
        Unique identifier for the object.
        Specified by:
        getId in interface HasId
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.String> getMetadata()
        Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
        Specified by:
        getMetadata in interface MetadataStore<Reader>