Package com.stripe.param
Class SubscriptionCreateParams.BillingSchedule.AppliesTo.Builder
java.lang.Object
com.stripe.param.SubscriptionCreateParams.BillingSchedule.AppliesTo.Builder
- Enclosing class:
- SubscriptionCreateParams.BillingSchedule.AppliesTo
-
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.The ID of the price object.Required. Controls which subscription items the billing schedule applies to.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SubscriptionCreateParams.BillingSchedule.AppliesTo.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. SeeSubscriptionCreateParams.BillingSchedule.AppliesTo.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionCreateParams.BillingSchedule.AppliesTo.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. SeeSubscriptionCreateParams.BillingSchedule.AppliesTo.extraParams
for the field documentation. -
setPrice
The ID of the price object. -
setType
public SubscriptionCreateParams.BillingSchedule.AppliesTo.Builder setType(SubscriptionCreateParams.BillingSchedule.AppliesTo.Type type) Required. Controls which subscription items the billing schedule applies to.
-