Class Retry.RetryBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.responses.requestapaymentorpayoutresponsecreated.retry.Retry.RetryBuilder
-
- Enclosing class:
- Retry
public static class Retry.RetryBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Retrybuild()Retry.RetryBuilderendsOn(java.time.Instant endsOn)A timestamp that details the date on which the retry schedule expires, in ISO 8601 format.Retry.RetryBuildermaxAttempts(java.lang.Integer maxAttempts)Default: 6 The maximum number of authorization retry attempts, excluding the initial authorization.Retry.RetryBuildernextAttemptOn(java.time.Instant nextAttemptOn)A timestamp of the date on which the next authorization attempt will take place, in ISO 8601 format.java.lang.StringtoString()
-
-
-
Method Detail
-
maxAttempts
public Retry.RetryBuilder maxAttempts(java.lang.Integer maxAttempts)
Default: 6 The maximum number of authorization retry attempts, excluding the initial authorization. [Optional] [ 1 .. 15 ]- Returns:
this.
-
endsOn
public Retry.RetryBuilder endsOn(java.time.Instant endsOn)
A timestamp that details the date on which the retry schedule expires, in ISO 8601 format. [Optional]- Returns:
this.
-
nextAttemptOn
public Retry.RetryBuilder nextAttemptOn(java.time.Instant nextAttemptOn)
A timestamp of the date on which the next authorization attempt will take place, in ISO 8601 format. [Optional]- Returns:
this.
-
build
public Retry build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-