Package com.stripe.param
Class SubscriptionScheduleAmendParams.Prebilling.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Prebilling.Builder
- Enclosing class:
- SubscriptionScheduleAmendParams.Prebilling
-
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 beginning of the prebilled time period.The end of the prebilled time period.When the prebilling invoice should be created.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. -
setBillFrom
public SubscriptionScheduleAmendParams.Prebilling.Builder setBillFrom(SubscriptionScheduleAmendParams.Prebilling.BillFrom billFrom) The beginning of the prebilled time period. The default value isnow
. -
setBillUntil
public SubscriptionScheduleAmendParams.Prebilling.Builder setBillUntil(SubscriptionScheduleAmendParams.Prebilling.BillUntil billUntil) The end of the prebilled time period. -
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. SeeSubscriptionScheduleAmendParams.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. SeeSubscriptionScheduleAmendParams.Prebilling.extraParams
for the field documentation. -
setInvoiceAt
public SubscriptionScheduleAmendParams.Prebilling.Builder setInvoiceAt(SubscriptionScheduleAmendParams.Prebilling.InvoiceAt invoiceAt) When the prebilling invoice should be created. The default value isnow
. -
setUpdateBehavior
public SubscriptionScheduleAmendParams.Prebilling.Builder setUpdateBehavior(SubscriptionScheduleAmendParams.Prebilling.UpdateBehavior updateBehavior) Whether to cancel or preserveprebilling
if the subscription is updated during the prebilled period. The default value isreset
.
-