Package com.stripe.param
Class PaymentLinkCreateParams.SubscriptionData.Builder
- java.lang.Object
-
- com.stripe.param.PaymentLinkCreateParams.SubscriptionData.Builder
-
- Enclosing class:
- PaymentLinkCreateParams.SubscriptionData
public static class PaymentLinkCreateParams.SubscriptionData.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentLinkCreateParams.SubscriptionData
build()
Finalize and obtain parameter instance from this builder.PaymentLinkCreateParams.SubscriptionData.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PaymentLinkCreateParams.SubscriptionData.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PaymentLinkCreateParams.SubscriptionData.Builder
setTrialPeriodDays(java.lang.Long trialPeriodDays)
-
-
-
Method Detail
-
build
public PaymentLinkCreateParams.SubscriptionData build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public PaymentLinkCreateParams.SubscriptionData.Builder putExtraParam(java.lang.String key, java.lang.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. SeePaymentLinkCreateParams.SubscriptionData.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentLinkCreateParams.SubscriptionData.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeePaymentLinkCreateParams.SubscriptionData.extraParams
for the field documentation.
-
setTrialPeriodDays
public PaymentLinkCreateParams.SubscriptionData.Builder setTrialPeriodDays(java.lang.Long trialPeriodDays)
-
-