Package com.stripe.param
Class SubscriptionScheduleUpdateParams.Prebilling.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.Prebilling.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.Prebilling
-
Constructor Summary
-
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.setIterations
(Long iterations) This is used to determine the number of billing cycles to prebill.Whether to cancel or preserveprebilling
if the subscription is updated during the prebilled period.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeeSubscriptionScheduleUpdateParams.Prebilling.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. SeeSubscriptionScheduleUpdateParams.Prebilling.extraParams
for the field documentation. -
setIterations
This is used to determine the number of billing cycles to prebill. -
setUpdateBehavior
public SubscriptionScheduleUpdateParams.Prebilling.Builder setUpdateBehavior(SubscriptionScheduleUpdateParams.Prebilling.UpdateBehavior updateBehavior) Whether to cancel or preserveprebilling
if the subscription is updated during the prebilled period. The default value isreset
.
-