Package com.stripe.param
Class QuoteUpdateParams.Line.CancelSubscriptionSchedule.Builder
java.lang.Object
com.stripe.param.QuoteUpdateParams.Line.CancelSubscriptionSchedule.Builder
- Enclosing class:
- QuoteUpdateParams.Line.CancelSubscriptionSchedule
-
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.Required. Timestamp helper to cancel the underlying schedule on the accompanying line's start date.setInvoiceNow
(Boolean invoiceNow) If the subscription schedule isactive
, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items.setProrate
(Boolean prorate) If the subscription schedule isactive
, indicates if the cancellation should be prorated.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCancelAt
public QuoteUpdateParams.Line.CancelSubscriptionSchedule.Builder setCancelAt(QuoteUpdateParams.Line.CancelSubscriptionSchedule.CancelAt cancelAt) Required. Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set toline_starts_at
. -
putExtraParam
public QuoteUpdateParams.Line.CancelSubscriptionSchedule.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. SeeQuoteUpdateParams.Line.CancelSubscriptionSchedule.extraParams
for the field documentation. -
putAllExtraParam
public QuoteUpdateParams.Line.CancelSubscriptionSchedule.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. SeeQuoteUpdateParams.Line.CancelSubscriptionSchedule.extraParams
for the field documentation. -
setInvoiceNow
If the subscription schedule isactive
, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults totrue
. -
setProrate
If the subscription schedule isactive
, indicates if the cancellation should be prorated. Boolean that defaults totrue
.
-