Class Reader.Action.CollectPaymentMethod

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

public static class Reader.Action.CollectPaymentMethod extends StripeObject
Represents a reader action to collect a payment method.
  • Constructor Details

    • CollectPaymentMethod

      public CollectPaymentMethod()
  • Method Details

    • getPaymentIntent

      public String getPaymentIntent()
      Get ID of expandable paymentIntent object.
    • setPaymentIntent

      public void setPaymentIntent(String id)
    • getPaymentIntentObject

      public PaymentIntent getPaymentIntentObject()
      Get expanded paymentIntent.
    • setPaymentIntentObject

      public void setPaymentIntentObject(PaymentIntent expandableObject)
    • getAccount

      public String getAccount()
      Account the payment intent belongs to.
    • getCollectConfig

      Represents a per-transaction override of a reader configuration.
    • getPaymentMethod

      public PaymentMethod getPaymentMethod()
      PaymentMethod objects represent your customer's payment instruments. You can use them with PaymentIntents to collect payments or save them to Customer objects to store instrument details for future payments.

      Related guides: Payment Methods and More Payment Scenarios.

    • setAccount

      public void setAccount(String account)
      Account the payment intent belongs to.
    • setCollectConfig

      public void setCollectConfig(Reader.Action.CollectPaymentMethod.CollectConfig collectConfig)
      Represents a per-transaction override of a reader configuration.
    • setPaymentMethod

      public void setPaymentMethod(PaymentMethod paymentMethod)
      PaymentMethod objects represent your customer's payment instruments. You can use them with PaymentIntents to collect payments or save them to Customer objects to store instrument details for future payments.

      Related guides: Payment Methods and More Payment Scenarios.

    • 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