Package com.stripe.model.terminal
Class Reader.Action
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.terminal.Reader.Action
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Reader
Represents an action performed by the reader.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a reader action to process a payment intent.static classRepresents a reader action to process a setup intent.static classRepresents a reader action to refund a payment.static classRepresents a reader action to set the reader display. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanFailure code, only set if status isfailed.Detailed failure message, only set if status isfailed.Represents a reader action to process a payment intent.Represents a reader action to process a setup intent.Represents a reader action to refund a payment.Represents a reader action to set the reader display.Status of the action performed by the reader.getType()Type of action performed by the reader.inthashCode()voidsetFailureCode(String failureCode) Failure code, only set if status isfailed.voidsetFailureMessage(String failureMessage) Detailed failure message, only set if status isfailed.voidsetProcessPaymentIntent(Reader.Action.ProcessPaymentIntent processPaymentIntent) Represents a reader action to process a payment intent.voidsetProcessSetupIntent(Reader.Action.ProcessSetupIntent processSetupIntent) Represents a reader action to process a setup intent.voidsetRefundPayment(Reader.Action.RefundPayment refundPayment) Represents a reader action to refund a payment.voidsetSetReaderDisplay(Reader.Action.SetReaderDisplay setReaderDisplay) Represents a reader action to set the reader display.voidStatus of the action performed by the reader.voidType of action performed by the reader.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
getFailureCode
Failure code, only set if status isfailed. -
getFailureMessage
Detailed failure message, only set if status isfailed. -
getProcessPaymentIntent
Represents a reader action to process a payment intent. -
getProcessSetupIntent
Represents a reader action to process a setup intent. -
getRefundPayment
Represents a reader action to refund a payment. -
getSetReaderDisplay
Represents a reader action to set the reader display. -
getStatus
Status of the action performed by the reader.One of
failed,in_progress, orsucceeded. -
getType
Type of action performed by the reader.One of
process_payment_intent,process_setup_intent,refund_payment, orset_reader_display. -
setFailureCode
Failure code, only set if status isfailed. -
setFailureMessage
Detailed failure message, only set if status isfailed. -
setProcessPaymentIntent
Represents a reader action to process a payment intent. -
setProcessSetupIntent
Represents a reader action to process a setup intent. -
setRefundPayment
Represents a reader action to refund a payment. -
setSetReaderDisplay
Represents a reader action to set the reader display. -
setStatus
Status of the action performed by the reader.One of
failed,in_progress, orsucceeded. -
setType
Type of action performed by the reader.One of
process_payment_intent,process_setup_intent,refund_payment, orset_reader_display. -
equals
-
canEqual
-
hashCode
public int hashCode()
-