Package com.stripe.model.terminal
Class Reader.TestHelpers
java.lang.Object
com.stripe.model.terminal.Reader.TestHelpers
- Enclosing class:
- Reader
-
Method Summary
Modifier and TypeMethodDescriptionPresents a payment method on a simulated reader.presentPaymentMethod
(RequestOptions options) Presents a payment method on a simulated reader.Presents a payment method on a simulated reader.presentPaymentMethod
(ReaderPresentPaymentMethodParams params, RequestOptions options) Presents a payment method on a simulated reader.presentPaymentMethod
(Map<String, Object> params) Presents a payment method on a simulated reader.presentPaymentMethod
(Map<String, Object> params, RequestOptions options) Presents a payment method on a simulated reader.
-
Method Details
-
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
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(Map<String, Object> params, RequestOptions options) throws StripeExceptionPresents 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(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
-