Class Reader.Action

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.terminal.Reader.Action
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Reader

public static class Reader.Action extends StripeObject
Represents an action performed by the reader.
  • Constructor Details

    • Action

      public Action()
  • Method Details

    • getFailureCode

      public String getFailureCode()
      Failure code, only set if status is failed.
    • getFailureMessage

      public String getFailureMessage()
      Detailed failure message, only set if status is failed.
    • getProcessPaymentIntent

      public Reader.Action.ProcessPaymentIntent getProcessPaymentIntent()
      Represents a reader action to process a payment intent.
    • getProcessSetupIntent

      public Reader.Action.ProcessSetupIntent getProcessSetupIntent()
      Represents a reader action to process a setup intent.
    • getRefundPayment

      public Reader.Action.RefundPayment getRefundPayment()
      Represents a reader action to refund a payment.
    • getSetReaderDisplay

      public Reader.Action.SetReaderDisplay getSetReaderDisplay()
      Represents a reader action to set the reader display.
    • getStatus

      public String getStatus()
      Status of the action performed by the reader.

      One of failed, in_progress, or succeeded.

    • getType

      public String getType()
      Type of action performed by the reader.

      One of process_payment_intent, process_setup_intent, refund_payment, or set_reader_display.

    • setFailureCode

      public void setFailureCode(String failureCode)
      Failure code, only set if status is failed.
    • setFailureMessage

      public void setFailureMessage(String failureMessage)
      Detailed failure message, only set if status is failed.
    • setProcessPaymentIntent

      public void setProcessPaymentIntent(Reader.Action.ProcessPaymentIntent processPaymentIntent)
      Represents a reader action to process a payment intent.
    • setProcessSetupIntent

      public void setProcessSetupIntent(Reader.Action.ProcessSetupIntent processSetupIntent)
      Represents a reader action to process a setup intent.
    • setRefundPayment

      public void setRefundPayment(Reader.Action.RefundPayment refundPayment)
      Represents a reader action to refund a payment.
    • setSetReaderDisplay

      public void setSetReaderDisplay(Reader.Action.SetReaderDisplay setReaderDisplay)
      Represents a reader action to set the reader display.
    • setStatus

      public void setStatus(String status)
      Status of the action performed by the reader.

      One of failed, in_progress, or succeeded.

    • setType

      public void setType(String type)
      Type of action performed by the reader.

      One of process_payment_intent, process_setup_intent, refund_payment, or set_reader_display.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object