Class ReaderService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.terminal.ReaderService
-
Constructor Summary
-
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.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
-