Package com.stripe.param
Class AccountCreateParams.Settings.CardPayments.Builder
java.lang.Object
com.stripe.param.AccountCreateParams.Settings.CardPayments.Builder
- Enclosing class:
- AccountCreateParams.Settings.CardPayments
-
Constructor Summary
-
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.Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.setStatementDescriptorPrefix
(String statementDescriptorPrefix) The default text that appears on credit card statements when a charge is made.setStatementDescriptorPrefixKana
(EmptyParam statementDescriptorPrefixKana) The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only).setStatementDescriptorPrefixKana
(String statementDescriptorPrefixKana) The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only).setStatementDescriptorPrefixKanji
(EmptyParam statementDescriptorPrefixKanji) The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only).setStatementDescriptorPrefixKanji
(String statementDescriptorPrefixKanji) The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDeclineOn
public AccountCreateParams.Settings.CardPayments.Builder setDeclineOn(AccountCreateParams.Settings.CardPayments.DeclineOn declineOn) Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. -
putExtraParam
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.Settings.CardPayments.extraParams
for the field documentation. -
putAllExtraParam
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.Settings.CardPayments.extraParams
for the field documentation. -
setStatementDescriptorPrefix
public AccountCreateParams.Settings.CardPayments.Builder setStatementDescriptorPrefix(String statementDescriptorPrefix) The default text that appears on credit card statements when a charge is made. This field prefixes any dynamicstatement_descriptor
specified on the charge.statement_descriptor_prefix
is useful for maximizing descriptor space for the dynamic portion. -
setStatementDescriptorPrefixKana
public AccountCreateParams.Settings.CardPayments.Builder setStatementDescriptorPrefixKana(String statementDescriptorPrefixKana) The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamicstatement_descriptor_suffix_kana
specified on the charge.statement_descriptor_prefix_kana
is useful for maximizing descriptor space for the dynamic portion. -
setStatementDescriptorPrefixKana
public AccountCreateParams.Settings.CardPayments.Builder setStatementDescriptorPrefixKana(EmptyParam statementDescriptorPrefixKana) The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamicstatement_descriptor_suffix_kana
specified on the charge.statement_descriptor_prefix_kana
is useful for maximizing descriptor space for the dynamic portion. -
setStatementDescriptorPrefixKanji
public AccountCreateParams.Settings.CardPayments.Builder setStatementDescriptorPrefixKanji(String statementDescriptorPrefixKanji) The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamicstatement_descriptor_suffix_kanji
specified on the charge.statement_descriptor_prefix_kanji
is useful for maximizing descriptor space for the dynamic portion. -
setStatementDescriptorPrefixKanji
public AccountCreateParams.Settings.CardPayments.Builder setStatementDescriptorPrefixKanji(EmptyParam statementDescriptorPrefixKanji) The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamicstatement_descriptor_suffix_kanji
specified on the charge.statement_descriptor_prefix_kanji
is useful for maximizing descriptor space for the dynamic portion.
-