Class ReaderService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.terminal.ReaderService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpresentPaymentMethod
(String reader) Presents a payment method on a simulated reader.presentPaymentMethod
(String reader, RequestOptions options) Presents a payment method on a simulated reader.presentPaymentMethod
(String reader, ReaderPresentPaymentMethodParams params) Presents a payment method on a simulated reader.presentPaymentMethod
(String reader, ReaderPresentPaymentMethodParams params, RequestOptions options) Presents a payment method on a simulated reader.succeedInputCollection
(String reader) Use this endpoint to trigger a successful input collection on a simulated reader.succeedInputCollection
(String reader, RequestOptions options) Use this endpoint to trigger a successful input collection on a simulated reader.succeedInputCollection
(String reader, ReaderSucceedInputCollectionParams params) Use this endpoint to trigger a successful input collection on a simulated reader.succeedInputCollection
(String reader, ReaderSucceedInputCollectionParams params, RequestOptions options) Use this endpoint to trigger a successful input collection on a simulated reader.timeoutInputCollection
(String reader) Use this endpoint to complete an input collection with a timeout error on a simulated reader.timeoutInputCollection
(String reader, RequestOptions options) Use this endpoint to complete an input collection with a timeout error on a simulated reader.timeoutInputCollection
(String reader, ReaderTimeoutInputCollectionParams params) Use this endpoint to complete an input collection with a timeout error on a simulated reader.timeoutInputCollection
(String reader, ReaderTimeoutInputCollectionParams params, RequestOptions options) Use this endpoint to complete an input collection with a timeout error on a simulated reader.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ReaderService
-
-
Method Details
-
presentPaymentMethod
public Reader presentPaymentMethod(String reader, ReaderPresentPaymentMethodParams params) throws StripeException Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.- Throws:
StripeException
-
presentPaymentMethod
Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.- Throws:
StripeException
-
presentPaymentMethod
Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.- Throws:
StripeException
-
presentPaymentMethod
public Reader presentPaymentMethod(String reader, ReaderPresentPaymentMethodParams params, RequestOptions options) throws StripeException Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.- Throws:
StripeException
-
succeedInputCollection
public Reader succeedInputCollection(String reader, ReaderSucceedInputCollectionParams params) throws StripeException Use this endpoint to trigger a successful input collection on a simulated reader.- Throws:
StripeException
-
succeedInputCollection
Use this endpoint to trigger a successful input collection on a simulated reader.- Throws:
StripeException
-
succeedInputCollection
Use this endpoint to trigger a successful input collection on a simulated reader.- Throws:
StripeException
-
succeedInputCollection
public Reader succeedInputCollection(String reader, ReaderSucceedInputCollectionParams params, RequestOptions options) throws StripeException Use this endpoint to trigger a successful input collection on a simulated reader.- Throws:
StripeException
-
timeoutInputCollection
public Reader timeoutInputCollection(String reader, ReaderTimeoutInputCollectionParams params) throws StripeException Use this endpoint to complete an input collection with a timeout error on a simulated reader.- Throws:
StripeException
-
timeoutInputCollection
Use this endpoint to complete an input collection with a timeout error on a simulated reader.- Throws:
StripeException
-
timeoutInputCollection
Use this endpoint to complete an input collection with a timeout error on a simulated reader.- Throws:
StripeException
-
timeoutInputCollection
public Reader timeoutInputCollection(String reader, ReaderTimeoutInputCollectionParams params, RequestOptions options) throws StripeException Use this endpoint to complete an input collection with a timeout error on a simulated reader.- Throws:
StripeException
-