Package com.stripe.param
Class InvoiceCreatePreviewParams.SubscriptionDetails.Pause.Builder
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.SubscriptionDetails.Pause.Builder
- Enclosing class:
- InvoiceCreatePreviewParams.SubscriptionDetails.Pause
-
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.Controls what to bill for when pausing the subscription.setInvoicingBehavior(InvoiceCreatePreviewParams.SubscriptionDetails.Pause.InvoicingBehavior invoicingBehavior) Determines how to handle debits and credits when pausing.The type of pause to apply.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillFor
public InvoiceCreatePreviewParams.SubscriptionDetails.Pause.Builder setBillFor(InvoiceCreatePreviewParams.SubscriptionDetails.Pause.BillFor billFor) Controls what to bill for when pausing the subscription. -
putExtraParam
public InvoiceCreatePreviewParams.SubscriptionDetails.Pause.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. SeeInvoiceCreatePreviewParams.SubscriptionDetails.Pause.extraParamsfor the field documentation. -
putAllExtraParam
public InvoiceCreatePreviewParams.SubscriptionDetails.Pause.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. SeeInvoiceCreatePreviewParams.SubscriptionDetails.Pause.extraParamsfor the field documentation. -
setInvoicingBehavior
public InvoiceCreatePreviewParams.SubscriptionDetails.Pause.Builder setInvoicingBehavior(InvoiceCreatePreviewParams.SubscriptionDetails.Pause.InvoicingBehavior invoicingBehavior) Determines how to handle debits and credits when pausing. Defaults topending_invoice_item. -
setType
public InvoiceCreatePreviewParams.SubscriptionDetails.Pause.Builder setType(InvoiceCreatePreviewParams.SubscriptionDetails.Pause.Type type) The type of pause to apply. Defaults tosubscription.
-