Class CollectionSettingUpdateParams.Builder

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

public static class CollectionSettingUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setCollectionMethod

      Either automatic, or send_invoice. When charging automatically, Stripe will attempt to pay this bill at the end of the period using the payment method attached to the payer profile. When sending an invoice, Stripe will email your payer profile an invoice with payment instructions.
    • setDisplayName

      public CollectionSettingUpdateParams.Builder setDisplayName(String displayName)
      An optional customer-facing display name for the CollectionSetting object. To remove the display name, set it to an empty string in the request. Maximum length of 250 characters.
    • setDisplayName

      public CollectionSettingUpdateParams.Builder setDisplayName(EmptyParam displayName)
      An optional customer-facing display name for the CollectionSetting object. To remove the display name, set it to an empty string in the request. Maximum length of 250 characters.
    • setEmailDelivery

      Email delivery settings.
    • setEmailDelivery

      public CollectionSettingUpdateParams.Builder setEmailDelivery(EmptyParam emailDelivery)
      Email delivery settings.
    • putExtraParam

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

      public CollectionSettingUpdateParams.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 CollectionSettingUpdateParams.extraParams for the field documentation.
    • setLiveVersion

      public CollectionSettingUpdateParams.Builder setLiveVersion(String liveVersion)
      Optionally change the live version of the CollectionSetting. Billing Cadences and other objects that refer to this CollectionSetting will use this version when no overrides are set. Providing live_version = "latest" will set the CollectionSetting's live_version to its latest version.
    • setLiveVersion

      public CollectionSettingUpdateParams.Builder setLiveVersion(EmptyParam liveVersion)
      Optionally change the live version of the CollectionSetting. Billing Cadences and other objects that refer to this CollectionSetting will use this version when no overrides are set. Providing live_version = "latest" will set the CollectionSetting's live_version to its latest version.
    • setLookupKey

      public CollectionSettingUpdateParams.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 CollectionSettingUpdateParams.Builder setLookupKey(EmptyParam lookupKey)
      A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters.
    • setPaymentMethodConfiguration

      public CollectionSettingUpdateParams.Builder setPaymentMethodConfiguration(String paymentMethodConfiguration)
      The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers.
    • setPaymentMethodConfiguration

      public CollectionSettingUpdateParams.Builder setPaymentMethodConfiguration(EmptyParam paymentMethodConfiguration)
      The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers.
    • setPaymentMethodOptions

      Payment Method specific configuration to be stored on the object.