Package com.stripe.param
Class AccountCreateParams.Settings.CardPayments.DeclineOn.Builder
java.lang.Object
com.stripe.param.AccountCreateParams.Settings.CardPayments.DeclineOn.Builder
- Enclosing class:
- AccountCreateParams.Settings.CardPayments.DeclineOn
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setAvsFailure
(Boolean avsFailure) Whether Stripe automatically declines charges with an incorrect ZIP or postal code.setCvcFailure
(Boolean cvcFailure) Whether Stripe automatically declines charges with an incorrect CVC.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAvsFailure
public AccountCreateParams.Settings.CardPayments.DeclineOn.Builder setAvsFailure(Boolean avsFailure) Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. -
setCvcFailure
public AccountCreateParams.Settings.CardPayments.DeclineOn.Builder setCvcFailure(Boolean cvcFailure) Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. -
putExtraParam
public AccountCreateParams.Settings.CardPayments.DeclineOn.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.Settings.CardPayments.DeclineOn.extraParams
for the field documentation. -
putAllExtraParam
public AccountCreateParams.Settings.CardPayments.DeclineOn.Builder putAllExtraParam(Map<String, Object> map)
-