Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Merchant.StatementDescriptor.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Merchant.StatementDescriptor.Builder
- Enclosing class:
- AccountUpdateParams.Configuration.Merchant.StatementDescriptor
public static class AccountUpdateParams.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
(EmptyParam descriptor) The default text that appears on statements for non-card charges outside of Japan.setDescriptor
(String descriptor) The default text that appears on statements for non-card charges outside of Japan.setPrefix
(EmptyParam prefix) Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDescriptor
public AccountUpdateParams.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. -
setDescriptor
public AccountUpdateParams.Configuration.Merchant.StatementDescriptor.Builder setDescriptor(EmptyParam 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 AccountUpdateParams.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. SeeAccountUpdateParams.Configuration.Merchant.StatementDescriptor.extraParams
for the field documentation. -
putAllExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.Configuration.Merchant.StatementDescriptor.extraParams
for the field documentation. -
setPrefix
public AccountUpdateParams.Configuration.Merchant.StatementDescriptor.Builder setPrefix(String prefix) Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation. -
setPrefix
public AccountUpdateParams.Configuration.Merchant.StatementDescriptor.Builder setPrefix(EmptyParam prefix)
-