Package com.stripe.param.threedsecure
Class AuthenticationCreateParams.FutureUsage.Installment.Builder
java.lang.Object
com.stripe.param.threedsecure.AuthenticationCreateParams.FutureUsage.Installment.Builder
- Enclosing class:
- AuthenticationCreateParams.FutureUsage.Installment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.Required. A non-negative integer representing the future authorizations' amount in the smallest currency unit.Required. Information about the expiry of the future usage of this authentication.The unit of time forinterval_count.setIntervalCount(Long intervalCount) The minimum number of time intervals between authorizations.Required. The maximum number of installments.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. A non-negative integer representing the future authorizations' amount in the smallest currency unit. -
setExpiry
public AuthenticationCreateParams.FutureUsage.Installment.Builder setExpiry(AuthenticationCreateParams.FutureUsage.Installment.Expiry expiry) Required. Information about the expiry of the future usage of this authentication. -
putExtraParam
public AuthenticationCreateParams.FutureUsage.Installment.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthenticationCreateParams.FutureUsage.Installment.extraParamsfor the field documentation. -
putAllExtraParam
public AuthenticationCreateParams.FutureUsage.Installment.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthenticationCreateParams.FutureUsage.Installment.extraParamsfor the field documentation. -
setInterval
public AuthenticationCreateParams.FutureUsage.Installment.Builder setInterval(AuthenticationCreateParams.FutureUsage.Installment.Interval interval) The unit of time forinterval_count. -
setIntervalCount
public AuthenticationCreateParams.FutureUsage.Installment.Builder setIntervalCount(Long intervalCount) The minimum number of time intervals between authorizations. Must be greater than 0, and defaults to 1. -
setNumber
Required. The maximum number of installments. Must be greater than 1.
-