Package com.stripe.param
Class InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.Builder
java.lang.Object
com.stripe.param.InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.Builder
- Enclosing class:
- InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax
public static class InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.Builder
extends Object
-
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.setEnabled
(Boolean enabled) Required. Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.The account that's liable for tax.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEnabled
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.Builder setEnabled(Boolean enabled) Required. Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription. -
putExtraParam
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.extraParams
for the field documentation. -
setLiability
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.Builder setLiability(InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.AutomaticTax.Liability liability) The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
-