Package com.stripe.param
Class PaymentLinkUpdateParams.CustomField.Dropdown.Option.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.CustomField.Dropdown.Option.Builder
- Enclosing class:
- PaymentLinkUpdateParams.CustomField.Dropdown.Option
-
Constructor Summary
-
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.setLabel
(EmptyParam label) Required. The label for the option, displayed to the customer.Required. The label for the option, displayed to the customer.setValue
(EmptyParam value) Required. The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentLinkUpdateParams.CustomField.Dropdown.Option.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. SeePaymentLinkUpdateParams.CustomField.Dropdown.Option.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.CustomField.Dropdown.Option.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. SeePaymentLinkUpdateParams.CustomField.Dropdown.Option.extraParams
for the field documentation. -
setLabel
Required. The label for the option, displayed to the customer. Up to 100 characters. -
setLabel
Required. The label for the option, displayed to the customer. Up to 100 characters. -
setValue
Required. The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. -
setValue
-