Package com.stripe.param.v2.billing
Class BillSettingUpdateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.BillSettingUpdateParams.Builder
- Enclosing class:
- BillSettingUpdateParams
-
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.setCalculation
(BillSettingUpdateParams.Calculation calculation) Settings related to calculating a bill.setDisplayName
(EmptyParam displayName) An optional customer-facing display name for the BillSetting object.setDisplayName
(String displayName) An optional customer-facing display name for the BillSetting object.Settings related to invoice behavior.setInvoiceRenderingTemplate
(EmptyParam invoiceRenderingTemplate) The ID of the invoice rendering template to be used when generating invoices.setInvoiceRenderingTemplate
(String invoiceRenderingTemplate) The ID of the invoice rendering template to be used when generating invoices.setLiveVersion
(EmptyParam liveVersion) Optionally change the live version of the BillSetting.setLiveVersion
(String liveVersion) Optionally change the live version of the BillSetting.setLookupKey
(EmptyParam lookupKey) A lookup key used to retrieve settings dynamically from a static string.setLookupKey
(String lookupKey) A lookup key used to retrieve settings dynamically from a static string.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCalculation
public BillSettingUpdateParams.Builder setCalculation(BillSettingUpdateParams.Calculation calculation) Settings related to calculating a bill. -
setDisplayName
An optional customer-facing display name for the BillSetting object. To remove the display name, set it to an empty string in the request. Maximum length of 250 characters. -
setDisplayName
An optional customer-facing display name for the BillSetting object. To remove the display name, set it to an empty string in the request. Maximum length of 250 characters. -
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. SeeBillSettingUpdateParams.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. SeeBillSettingUpdateParams.extraParams
for the field documentation. -
setInvoice
Settings related to invoice behavior. -
setInvoiceRenderingTemplate
The ID of the invoice rendering template to be used when generating invoices. -
setInvoiceRenderingTemplate
public BillSettingUpdateParams.Builder setInvoiceRenderingTemplate(EmptyParam invoiceRenderingTemplate) The ID of the invoice rendering template to be used when generating invoices. -
setLiveVersion
Optionally change the live version of the BillSetting. Providinglive_version = "latest"
will set the BillSetting'live_version
to its latest version. -
setLiveVersion
Optionally change the live version of the BillSetting. Providinglive_version = "latest"
will set the BillSetting'live_version
to its latest version. -
setLookupKey
A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters. -
setLookupKey
A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters.
-