Package com.stripe.param
Class PaymentLinkUpdateParams.CustomField.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.CustomField.Builder
- Enclosing class:
- PaymentLinkUpdateParams.CustomField
-
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.Configuration fortype=dropdown
fields.setKey
(EmptyParam key) Required. String of your choice that your integration can use to reconcile this field.Required. String of your choice that your integration can use to reconcile this field.Required. The label for the field, displayed to the customer.Configuration fortype=numeric
fields.setOptional
(Boolean optional) Whether the customer is required to complete the field before completing the Checkout Session.Configuration fortype=text
fields.Required. The type of the field.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDropdown
public PaymentLinkUpdateParams.CustomField.Builder setDropdown(PaymentLinkUpdateParams.CustomField.Dropdown dropdown) Configuration fortype=dropdown
fields. -
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. SeePaymentLinkUpdateParams.CustomField.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. SeePaymentLinkUpdateParams.CustomField.extraParams
for the field documentation. -
setKey
Required. String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. -
setKey
Required. String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. -
setLabel
public PaymentLinkUpdateParams.CustomField.Builder setLabel(PaymentLinkUpdateParams.CustomField.Label label) Required. The label for the field, displayed to the customer. -
setNumeric
public PaymentLinkUpdateParams.CustomField.Builder setNumeric(PaymentLinkUpdateParams.CustomField.Numeric numeric) Configuration fortype=numeric
fields. -
setOptional
Whether the customer is required to complete the field before completing the Checkout Session. Defaults tofalse
. -
setText
public PaymentLinkUpdateParams.CustomField.Builder setText(PaymentLinkUpdateParams.CustomField.Text text) Configuration fortype=text
fields. -
setType
public PaymentLinkUpdateParams.CustomField.Builder setType(PaymentLinkUpdateParams.CustomField.Type type) Required. The type of the field.
-