public enum PaymentStatus
A PaymentStatus
represents any of the states that a single payment can be in.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Enum Constant and Description |
---|
NOT_READY
Terminal is not ready to start a payment. It may be busy with another command, or a
reader may not be connected.
|
PROCESSING
Terminal is processing a
class PaymentIntent |
READY
Terminal is ready to start a payment. Create a
class PaymentIntent , and then call
Terminal.collectPaymentMethod to begin reading a card. |
WAITING_FOR_INPUT
Terminal is waiting for input from the customer (e.g. for a card to be presented to
the reader).
|
public static PaymentStatus NOT_READY
Terminal is not ready to start a payment. It may be busy with another command, or a reader may not be connected.
public static PaymentStatus READY
Terminal is ready to start a payment. Create a class PaymentIntent
, and then call
Terminal.collectPaymentMethod to begin reading a card.
class PaymentIntent
,
Terminal.collectPaymentMethodpublic static PaymentStatus WAITING_FOR_INPUT
Terminal is waiting for input from the customer (e.g. for a card to be presented to the reader).
public static PaymentStatus PROCESSING
Terminal is processing a class PaymentIntent
class PaymentIntent