Package com.stripe.param
Class PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField.Builder
- Enclosing class:
- PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField
public static class PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField.Builder
extends Object
-
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.setName
(EmptyParam name) Required. The name of the custom field.Required. The name of the custom field.setValue
(EmptyParam value) Required. The value of the custom field.Required. The value of the custom field.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField.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.InvoiceCreation.InvoiceData.CustomField.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField.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.InvoiceCreation.InvoiceData.CustomField.extraParams
for the field documentation. -
setName
Required. The name of the custom field. This may be up to 40 characters. -
setName
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField.Builder setName(EmptyParam name) Required. The name of the custom field. This may be up to 40 characters. -
setValue
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField.Builder setValue(String value) Required. The value of the custom field. This may be up to 140 characters. -
setValue
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField.Builder setValue(EmptyParam value) Required. The value of the custom field. This may be up to 140 characters.
-