Package com.stripe.model.v2.payments
Class OffSessionPayment.Capture
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.payments.OffSessionPayment.Capture
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- OffSessionPayment
Details about the capture configuration for the OffSessionPayment.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The timestamp when this payment is no longer eligible to be captured.The method to use to capture the payment.int
hashCode()
void
setCaptureBefore
(Instant captureBefore) The timestamp when this payment is no longer eligible to be captured.void
setCaptureMethod
(String captureMethod) The method to use to capture the payment.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Capture
public Capture()
-
-
Method Details
-
getCaptureBefore
The timestamp when this payment is no longer eligible to be captured. -
getCaptureMethod
The method to use to capture the payment.One of
automatic
, ormanual
. -
setCaptureBefore
The timestamp when this payment is no longer eligible to be captured. -
setCaptureMethod
The method to use to capture the payment.One of
automatic
, ormanual
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-