Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.Builder
public static class PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.Builder
extends Object
-
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. The number of intervals, as an whole number greater than 0.setInterval
(PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.Interval interval)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCount
public PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.Builder setCount(Long count) Required. The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. -
putExtraParam
public PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.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. SeePaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.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. SeePaymentIntentConfirmParams.PaymentDetails.Subscription.BillingInterval.extraParams
for the field documentation. -
setInterval
-