Package com.stripe.model.terminal
Class ReaderCollectedData
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.terminal.ReaderCollectedData
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
Returns data collected by Terminal readers. This data is only stored for 24 hours.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents magstripe data collected by the reader.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTime at which the object was created.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.The magstripe data collected by the reader.String representing the object's type.getType()The type of data collected by the reader.inthashCode()static ReaderCollectedDataRetrieve data collected using Reader hardware.static ReaderCollectedDataretrieve(String readerCollectedData, RequestOptions options) Retrieve data collected using Reader hardware.static ReaderCollectedDataretrieve(String readerCollectedData, ReaderCollectedDataRetrieveParams params, RequestOptions options) Retrieve data collected using Reader hardware.static ReaderCollectedDataRetrieve data collected using Reader hardware.voidsetCreated(Long created) Time at which the object was created.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMagstripe(ReaderCollectedData.Magstripe magstripe) The magstripe data collected by the reader.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe type of data collected by the reader.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
ReaderCollectedData
public ReaderCollectedData()
-
-
Method Details
-
retrieve
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 StripeExceptionRetrieve 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
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getMagstripe
The magstripe data collected by the reader. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
terminal.reader_collected_data. -
getType
The type of data collected by the reader.Equal to
magstripe. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setMagstripe
The magstripe data collected by the reader. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
terminal.reader_collected_data. -
setType
The type of data collected by the reader.Equal to
magstripe. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-