Class BillSettingUpdateParams.Builder

java.lang.Object
com.stripe.param.v2.billing.BillSettingUpdateParams.Builder
Enclosing class:
BillSettingUpdateParams

public static class BillSettingUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public BillSettingUpdateParams build()
      Finalize and obtain parameter instance from this builder.
    • setCalculation

      Settings related to calculating a bill.
    • setDisplayName

      public BillSettingUpdateParams.Builder setDisplayName(String displayName)
      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

      public BillSettingUpdateParams.Builder setDisplayName(EmptyParam displayName)
      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

      public BillSettingUpdateParams.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. See BillSettingUpdateParams.extraParams for the field documentation.
    • putAllExtraParam

      public BillSettingUpdateParams.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. See BillSettingUpdateParams.extraParams for the field documentation.
    • setInvoice

      Settings related to invoice behavior.
    • setInvoiceRenderingTemplate

      public BillSettingUpdateParams.Builder setInvoiceRenderingTemplate(String invoiceRenderingTemplate)
      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

      public BillSettingUpdateParams.Builder setLiveVersion(String liveVersion)
      Optionally change the live version of the BillSetting. Providing live_version = "latest" will set the BillSetting' live_version to its latest version.
    • setLiveVersion

      public BillSettingUpdateParams.Builder setLiveVersion(EmptyParam liveVersion)
      Optionally change the live version of the BillSetting. Providing live_version = "latest" will set the BillSetting' live_version to its latest version.
    • setLookupKey

      public BillSettingUpdateParams.Builder setLookupKey(String lookupKey)
      A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters.
    • setLookupKey

      public BillSettingUpdateParams.Builder setLookupKey(EmptyParam lookupKey)
      A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters.