Class OffSessionPayment.Capture

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.payments.OffSessionPayment.Capture
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
OffSessionPayment

public static class OffSessionPayment.Capture extends StripeObject
Details about the capture configuration for the OffSessionPayment.
  • Constructor Details

    • Capture

      public Capture()
  • Method Details

    • getCaptureBefore

      public Instant getCaptureBefore()
      The timestamp when this payment is no longer eligible to be captured.
    • getCaptureMethod

      public String getCaptureMethod()
      The method to use to capture the payment.

      One of automatic, or manual.

    • setCaptureBefore

      public void setCaptureBefore(Instant captureBefore)
      The timestamp when this payment is no longer eligible to be captured.
    • setCaptureMethod

      public void setCaptureMethod(String captureMethod)
      The method to use to capture the payment.

      One of automatic, or manual.

    • 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