Package com.stripe.param
Class PaymentLinkCreateParams.CustomField.Dropdown.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.CustomField.Dropdown.Builder
- Enclosing class:
- PaymentLinkCreateParams.CustomField.Dropdown
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `options` list.Add an element to `options` list.build()
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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeePaymentLinkCreateParams.CustomField.Dropdown.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.CustomField.Dropdown.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. SeePaymentLinkCreateParams.CustomField.Dropdown.extraParams
for the field documentation. -
addOption
public PaymentLinkCreateParams.CustomField.Dropdown.Builder addOption(PaymentLinkCreateParams.CustomField.Dropdown.Option element) Add an element to `options` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentLinkCreateParams.CustomField.Dropdown.options
for the field documentation. -
addAllOption
public PaymentLinkCreateParams.CustomField.Dropdown.Builder addAllOption(List<PaymentLinkCreateParams.CustomField.Dropdown.Option> elements) Add all elements to `options` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentLinkCreateParams.CustomField.Dropdown.options
for the field documentation.
-