Package com.stripe.param
Class CustomerUpdateParams.InvoiceSettings.CustomField.Builder
- java.lang.Object
-
- com.stripe.param.CustomerUpdateParams.InvoiceSettings.CustomField.Builder
-
- Enclosing class:
- CustomerUpdateParams.InvoiceSettings.CustomField
public static class CustomerUpdateParams.InvoiceSettings.CustomField.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerUpdateParams.InvoiceSettings.CustomField
build()
Finalize and obtain parameter instance from this builder.CustomerUpdateParams.InvoiceSettings.CustomField.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.CustomerUpdateParams.InvoiceSettings.CustomField.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.CustomerUpdateParams.InvoiceSettings.CustomField.Builder
setName(EmptyParam name)
The name of the custom field.CustomerUpdateParams.InvoiceSettings.CustomField.Builder
setName(java.lang.String name)
The name of the custom field.CustomerUpdateParams.InvoiceSettings.CustomField.Builder
setValue(EmptyParam value)
CustomerUpdateParams.InvoiceSettings.CustomField.Builder
setValue(java.lang.String value)
The value of the custom field.
-
-
-
Method Detail
-
build
public CustomerUpdateParams.InvoiceSettings.CustomField build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public CustomerUpdateParams.InvoiceSettings.CustomField.Builder putExtraParam(java.lang.String key, java.lang.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. SeeCustomerUpdateParams.InvoiceSettings.CustomField.extraParams
for the field documentation.
-
putAllExtraParam
public CustomerUpdateParams.InvoiceSettings.CustomField.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeCustomerUpdateParams.InvoiceSettings.CustomField.extraParams
for the field documentation.
-
setName
public CustomerUpdateParams.InvoiceSettings.CustomField.Builder setName(java.lang.String name)
The name of the custom field. This may be up to 30 characters.
-
setName
public CustomerUpdateParams.InvoiceSettings.CustomField.Builder setName(EmptyParam name)
The name of the custom field. This may be up to 30 characters.
-
setValue
public CustomerUpdateParams.InvoiceSettings.CustomField.Builder setValue(java.lang.String value)
The value of the custom field. This may be up to 30 characters.
-
setValue
public CustomerUpdateParams.InvoiceSettings.CustomField.Builder setValue(EmptyParam value)
-
-