Class ReaderCollectedData

java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.terminal.ReaderCollectedData
All Implemented Interfaces:
HasId, StripeActiveObject, StripeObjectInterface

public class ReaderCollectedData extends ApiResource implements HasId
Returns data collected by Terminal readers. This data is only stored for 24 hours.
  • Constructor Details

    • ReaderCollectedData

      public ReaderCollectedData()
  • Method Details

    • retrieve

      public static ReaderCollectedData retrieve(String readerCollectedData) throws StripeException
      Retrieve data collected using Reader hardware.
      Throws:
      StripeException
    • retrieve

      public static ReaderCollectedData retrieve(String readerCollectedData, RequestOptions options) throws StripeException
      Retrieve data collected using Reader hardware.
      Throws:
      StripeException
    • retrieve

      public static ReaderCollectedData retrieve(String readerCollectedData, Map<String,Object> params, RequestOptions options) throws StripeException
      Retrieve data collected using Reader hardware.
      Throws:
      StripeException
    • retrieve

      public static ReaderCollectedData retrieve(String readerCollectedData, ReaderCollectedDataRetrieveParams params, RequestOptions options) throws StripeException
      Retrieve data collected using Reader hardware.
      Throws:
      StripeException
    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Overrides:
      setResponseGetter in class ApiResource
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getLivemode

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

      public ReaderCollectedData.Magstripe getMagstripe()
      The magstripe data collected by the reader.
    • getObject

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

      Equal to terminal.reader_collected_data.

    • getType

      public String getType()
      The type of data collected by the reader.

      Equal to magstripe.

    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setLivemode

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

      public void setMagstripe(ReaderCollectedData.Magstripe magstripe)
      The magstripe data collected by the reader.
    • setObject

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

      Equal to terminal.reader_collected_data.

    • setType

      public void setType(String type)
      The type of data collected by the reader.

      Equal to magstripe.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

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