Package com.stripe.param.v2.billing
Class CollectionSettingUpdateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.CollectionSettingUpdateParams.Builder
- Enclosing class:
- CollectionSettingUpdateParams
-
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.setCollectionMethod
(CollectionSettingUpdateParams.CollectionMethod collectionMethod) Either automatic, or send_invoice.setDisplayName
(EmptyParam displayName) An optional customer-facing display name for the CollectionSetting object.setDisplayName
(String displayName) An optional customer-facing display name for the CollectionSetting object.setEmailDelivery
(EmptyParam emailDelivery) Email delivery settings.setEmailDelivery
(CollectionSettingUpdateParams.EmailDelivery emailDelivery) Email delivery settings.setLiveVersion
(EmptyParam liveVersion) Optionally change the live version of the CollectionSetting.setLiveVersion
(String liveVersion) Optionally change the live version of the CollectionSetting.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.setPaymentMethodConfiguration
(EmptyParam paymentMethodConfiguration) The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers.setPaymentMethodConfiguration
(String paymentMethodConfiguration) The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers.setPaymentMethodOptions
(CollectionSettingUpdateParams.PaymentMethodOptions paymentMethodOptions) Payment Method specific configuration to be stored on the object.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCollectionMethod
public CollectionSettingUpdateParams.Builder setCollectionMethod(CollectionSettingUpdateParams.CollectionMethod collectionMethod) 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
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
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
public CollectionSettingUpdateParams.Builder setEmailDelivery(CollectionSettingUpdateParams.EmailDelivery emailDelivery) Email delivery settings. -
setEmailDelivery
Email delivery settings. -
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. SeeCollectionSettingUpdateParams.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. SeeCollectionSettingUpdateParams.extraParams
for the field documentation. -
setLiveVersion
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. Providinglive_version = "latest"
will set the CollectionSetting'slive_version
to its latest version. -
setLiveVersion
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. Providinglive_version = "latest"
will set the CollectionSetting'slive_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. -
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
public CollectionSettingUpdateParams.Builder setPaymentMethodOptions(CollectionSettingUpdateParams.PaymentMethodOptions paymentMethodOptions) Payment Method specific configuration to be stored on the object.
-