Package com.stripe.param.v2.billing
Class CollectionSettingCreateParams.Builder
java.lang.Object
com.stripe.param.v2.billing.CollectionSettingCreateParams.Builder
- Enclosing class:
- CollectionSettingCreateParams
-
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
(CollectionSettingCreateParams.CollectionMethod collectionMethod) Either automatic, or send_invoice.setDisplayName
(String displayName) An optional customer-facing display name for the CollectionSetting object.setEmailDelivery
(CollectionSettingCreateParams.EmailDelivery emailDelivery) Email delivery setting.setLookupKey
(String lookupKey) A lookup key used to retrieve settings dynamically from a static string.setPaymentMethodConfiguration
(String paymentMethodConfiguration) The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers.setPaymentMethodOptions
(CollectionSettingCreateParams.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 CollectionSettingCreateParams.Builder setCollectionMethod(CollectionSettingCreateParams.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. Defaults to automatic. -
setDisplayName
An optional customer-facing display name for the CollectionSetting object. Maximum length of 250 characters. -
setEmailDelivery
public CollectionSettingCreateParams.Builder setEmailDelivery(CollectionSettingCreateParams.EmailDelivery emailDelivery) Email delivery setting. -
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. SeeCollectionSettingCreateParams.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. SeeCollectionSettingCreateParams.extraParams
for the field documentation. -
setLookupKey
A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters. -
setPaymentMethodConfiguration
public CollectionSettingCreateParams.Builder setPaymentMethodConfiguration(String paymentMethodConfiguration) The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers. -
setPaymentMethodOptions
public CollectionSettingCreateParams.Builder setPaymentMethodOptions(CollectionSettingCreateParams.PaymentMethodOptions paymentMethodOptions) Payment Method specific configuration to be stored on the object.
-