Package com.stripe.param.v2.core
Class AccountCreateParams.Configuration.Merchant.StatementDescriptor.Builder
java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Configuration.Merchant.StatementDescriptor.Builder
- Enclosing class:
- AccountCreateParams.Configuration.Merchant.StatementDescriptor
public static class AccountCreateParams.Configuration.Merchant.StatementDescriptor.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.setDescriptor
(String descriptor) The default text that appears on statements for non-card charges outside of Japan.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDescriptor
public AccountCreateParams.Configuration.Merchant.StatementDescriptor.Builder setDescriptor(String descriptor) The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. -
putExtraParam
public AccountCreateParams.Configuration.Merchant.StatementDescriptor.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. SeeAccountCreateParams.Configuration.Merchant.StatementDescriptor.extraParams
for the field documentation. -
putAllExtraParam
public AccountCreateParams.Configuration.Merchant.StatementDescriptor.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. SeeAccountCreateParams.Configuration.Merchant.StatementDescriptor.extraParams
for the field documentation. -
setPrefix
public AccountCreateParams.Configuration.Merchant.StatementDescriptor.Builder setPrefix(String prefix)
-