Class PaymentIntent.PaymentMethodOptions.UsBankAccount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent.PaymentMethodOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about FinancialConnections, please refer to the API Reference.static classFor more details about MandateOptions, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanIndicates that you intend to make future payments with this PaymentIntent's payment method.Controls when Stripe will attempt to debit the funds from the customer's account.The purpose of the transaction.Bank account verification method.inthashCode()voidsetFinancialConnections(PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections financialConnections) voidvoidsetSetupFutureUsage(String setupFutureUsage) Indicates that you intend to make future payments with this PaymentIntent's payment method.voidsetTargetDate(String targetDate) Controls when Stripe will attempt to debit the funds from the customer's account.voidsetTransactionPurpose(String transactionPurpose) The purpose of the transaction.voidsetVerificationMethod(String verificationMethod) Bank account verification method.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
UsBankAccount
public UsBankAccount()
-
-
Method Details
-
getFinancialConnections
public PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections getFinancialConnections() -
getMandateOptions
-
getSetupFutureUsage
Indicates that you intend to make future payments with this PaymentIntent's payment method.If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still attach the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn't a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.One of
none,off_session, oron_session. -
getTargetDate
Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. -
getTransactionPurpose
The purpose of the transaction.One of
goods,other,services, orunspecified. -
getVerificationMethod
Bank account verification method. The default value isautomatic.One of
automatic,instant, ormicrodeposits. -
setFinancialConnections
public void setFinancialConnections(PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections financialConnections) -
setMandateOptions
public void setMandateOptions(PaymentIntent.PaymentMethodOptions.UsBankAccount.MandateOptions mandateOptions) -
setSetupFutureUsage
Indicates that you intend to make future payments with this PaymentIntent's payment method.If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still attach the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn't a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.One of
none,off_session, oron_session. -
setTargetDate
Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. -
setTransactionPurpose
The purpose of the transaction.One of
goods,other,services, orunspecified. -
setVerificationMethod
Bank account verification method. The default value isautomatic.One of
automatic,instant, ormicrodeposits. -
equals
-
canEqual
-
hashCode
public int hashCode()
-