Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodData.BacsDebit.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentMethodData.BacsDebit.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentMethodData.BacsDebit
-
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.setAccountNumber
(EmptyParam accountNumber) Account number of the bank account that the funds will be debited from.setAccountNumber
(String accountNumber) Account number of the bank account that the funds will be debited from.setSortCode
(EmptyParam sortCode) setSortCode
(String sortCode) Sort code of the bank account.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccountNumber
public PaymentIntentUpdateParams.PaymentMethodData.BacsDebit.Builder setAccountNumber(String accountNumber) Account number of the bank account that the funds will be debited from. -
setAccountNumber
public PaymentIntentUpdateParams.PaymentMethodData.BacsDebit.Builder setAccountNumber(EmptyParam accountNumber) Account number of the bank account that the funds will be debited from. -
putExtraParam
public PaymentIntentUpdateParams.PaymentMethodData.BacsDebit.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. SeePaymentIntentUpdateParams.PaymentMethodData.BacsDebit.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentMethodData.BacsDebit.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. SeePaymentIntentUpdateParams.PaymentMethodData.BacsDebit.extraParams
for the field documentation. -
setSortCode
Sort code of the bank account. (e.g.,10-20-30
) -
setSortCode
public PaymentIntentUpdateParams.PaymentMethodData.BacsDebit.Builder setSortCode(EmptyParam sortCode)
-