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
Modifier and TypeClassDescriptionstatic class
Represents a reader action to process a payment intent.static class
Represents a reader action to process a setup intent.static class
Represents a reader action to refund a payment.static class
Represents a reader action to set the reader display. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Failure 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.int
hashCode()
void
setFailureCode
(String failureCode) Failure code, only set if status isfailed
.void
setFailureMessage
(String failureMessage) Detailed failure message, only set if status isfailed
.void
setProcessPaymentIntent
(Reader.Action.ProcessPaymentIntent processPaymentIntent) Represents a reader action to process a payment intent.void
setProcessSetupIntent
(Reader.Action.ProcessSetupIntent processSetupIntent) Represents a reader action to process a setup intent.void
setRefundPayment
(Reader.Action.RefundPayment refundPayment) Represents a reader action to refund a payment.void
setSetReaderDisplay
(Reader.Action.SetReaderDisplay setReaderDisplay) Represents a reader action to set the reader display.void
Status of the action performed by the reader.void
Type 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()
-