Package com.stripe.param
Class SubscriptionUpdateParams.BillingSchedule.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.BillingSchedule.Builder
- Enclosing class:
- SubscriptionUpdateParams.BillingSchedule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `appliesTo` list.Add an element to `appliesTo` list.build()
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 end date for the billing schedule.setKey
(EmptyParam key) Specify a key for the billing schedule.Specify a key for the billing schedule.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAppliesTo
public SubscriptionUpdateParams.BillingSchedule.Builder addAppliesTo(SubscriptionUpdateParams.BillingSchedule.AppliesTo element) Add an element to `appliesTo` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionUpdateParams.BillingSchedule.appliesTo
for the field documentation. -
addAllAppliesTo
public SubscriptionUpdateParams.BillingSchedule.Builder addAllAppliesTo(List<SubscriptionUpdateParams.BillingSchedule.AppliesTo> elements) Add all elements to `appliesTo` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionUpdateParams.BillingSchedule.appliesTo
for the field documentation. -
setBillUntil
public SubscriptionUpdateParams.BillingSchedule.Builder setBillUntil(SubscriptionUpdateParams.BillingSchedule.BillUntil billUntil) The end date for the billing schedule. -
putExtraParam
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. SeeSubscriptionUpdateParams.BillingSchedule.extraParams
for the field documentation. -
putAllExtraParam
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. SeeSubscriptionUpdateParams.BillingSchedule.extraParams
for the field documentation. -
setKey
Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated. -
setKey
Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
-