Package com.stripe.param
Class InvoiceUpdateParams.CustomField.Builder
- java.lang.Object
-
- com.stripe.param.InvoiceUpdateParams.CustomField.Builder
-
- Enclosing class:
- InvoiceUpdateParams.CustomField
public static class InvoiceUpdateParams.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 InvoiceUpdateParams.CustomFieldbuild()Finalize and obtain parameter instance from this builder.InvoiceUpdateParams.CustomField.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.InvoiceUpdateParams.CustomField.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.InvoiceUpdateParams.CustomField.BuildersetName(EmptyParam name)The name of the custom field.InvoiceUpdateParams.CustomField.BuildersetName(java.lang.String name)The name of the custom field.InvoiceUpdateParams.CustomField.BuildersetValue(EmptyParam value)InvoiceUpdateParams.CustomField.BuildersetValue(java.lang.String value)The value of the custom field.
-
-
-
Method Detail
-
build
public InvoiceUpdateParams.CustomField build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public InvoiceUpdateParams.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. SeeInvoiceUpdateParams.CustomField.extraParamsfor the field documentation.
-
putAllExtraParam
public InvoiceUpdateParams.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. SeeInvoiceUpdateParams.CustomField.extraParamsfor the field documentation.
-
setName
public InvoiceUpdateParams.CustomField.Builder setName(java.lang.String name)
The name of the custom field. This may be up to 30 characters.
-
setName
public InvoiceUpdateParams.CustomField.Builder setName(EmptyParam name)
The name of the custom field. This may be up to 30 characters.
-
setValue
public InvoiceUpdateParams.CustomField.Builder setValue(java.lang.String value)
The value of the custom field. This may be up to 30 characters.
-
setValue
public InvoiceUpdateParams.CustomField.Builder setValue(EmptyParam value)
-
-