Package com.stripe.model.v2.payments
Class OffSessionPayment.RetryDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.payments.OffSessionPayment.RetryDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- OffSessionPayment
Details about the OffSessionPayment retries.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Number of authorization attempts so far.The pre-configured retry policy to use for the payment.Indicates the strategy for how you want Stripe to retry the payment.int
hashCode()
void
setAttempts
(Long attempts) Number of authorization attempts so far.void
setRetryPolicy
(String retryPolicy) The pre-configured retry policy to use for the payment.void
setRetryStrategy
(String retryStrategy) Indicates the strategy for how you want Stripe to retry the payment.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RetryDetails
public RetryDetails()
-
-
Method Details
-
getAttempts
Number of authorization attempts so far. -
getRetryPolicy
The pre-configured retry policy to use for the payment. -
getRetryStrategy
Indicates the strategy for how you want Stripe to retry the payment.One of
heuristic
,none
,scheduled
, orsmart
. -
setAttempts
Number of authorization attempts so far. -
setRetryPolicy
The pre-configured retry policy to use for the payment. -
setRetryStrategy
Indicates the strategy for how you want Stripe to retry the payment.One of
heuristic
,none
,scheduled
, orsmart
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-