Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.Builder
public static class AccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.Builder
extends Object
-
Constructor Summary
Constructors -
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 AccountUpdateParams.Configuration.Customer.Billing.Invoice.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. SeeAccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.extraParamsfor the field documentation. -
putAllExtraParam
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.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. SeeAccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.extraParamsfor the field documentation. -
setName
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.Builder setName(String name) Required. The name of the custom field. This may be up to 40 characters. -
setName
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.Builder setName(EmptyParam name) Required. The name of the custom field. This may be up to 40 characters. -
setValue
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.Builder setValue(String value) Required. The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values. -
setValue
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField.Builder setValue(EmptyParam value) Required. The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
-