StripePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • StripePlatform

Constructors

StripePlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateSettingsLazily bool
no setter

Methods

buildCard({Key? key, required CardEditController controller, CardChangedCallback? onCardChanged, CardFocusCallback? onFocus, CardStyle? style, CardPlaceholder? placeholder, bool enablePostalCode = false, double? width, double? height, BoxConstraints? constraints, FocusNode? focusNode, bool autofocus = false, bool dangerouslyUpdateFullCardDetails = false}) Widget
canAddToWallet(String last4) Future<AddToWalletResult>
collectBankAccount({required bool isPaymentIntent, required String clientSecret, required CollectBankAccountParams params}) Future<PaymentIntent>
Methods related to ACH payments
collectBankAccountToken({required String clientSecret}) Future<FinancialConnectionTokenResult>
Methods related to financial connections
collectFinancialConnectionsAccounts({required String clientSecret}) Future<FinancialConnectionSessionResult>
confirmApplePayPayment(String clientSecret) Future<void>
confirmPayment(String paymentIntentClientSecret, PaymentMethodParams? params, PaymentMethodOptions? options) Future<PaymentIntent>
confirmPaymentSheetPayment() Future<void>
Confirm the payment on a payment sheet.
confirmSetupIntent(String setupIntentClientSecret, PaymentMethodParams data, PaymentMethodOptions? options) Future<SetupIntent>
createApplePayToken(Map<String, dynamic> payment) Future<TokenData>
createGooglePayPaymentMethod(CreateGooglePayPaymentParams params) Future<PaymentMethod>
createPaymentMethod(PaymentMethodParams data, [PaymentMethodOptions? options]) Future<PaymentMethod>
createToken(CreateTokenParams params) Future<TokenData>
Creates a token for card details.
createTokenForCVCUpdate(String cvc) Future<String>
dangerouslyUpdateCardDetails(CardDetails card) Future<void>
Updates the internal card details. This method will not validate the card information so you should validate the information yourself. WARNING!!! Only do this if you're certain that you fulfill the necessary PCI compliance requirements. Make sure that you're not mistakenly logging or storing full card details! See the docs for details: https://stripe.com/docs/security/guide#validating-pci-compliance
googlePayIsSupported(IsGooglePaySupportedParams params) Future<bool>
handleNextAction(String paymentIntentClientSecret, {String? returnURL}) Future<PaymentIntent>
handleURLCallback(String url) Future<bool>
initGooglePay(GooglePayInitParams params) Future<void>
initialise({required String publishableKey, String? stripeAccountId, ThreeDSecureConfigurationParams? threeDSecureParams, String? merchantIdentifier, String? urlScheme, bool? setReturnUrlSchemeOnAndroid}) Future<void>
initPaymentSheet(SetupPaymentSheetParameters params) Future<void>
Configure the payment sheet using SetupPaymentSheetParameters as config.
isApplePaySupported() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openApplePaySetup() Future<void>
presentApplePay(ApplePayPresentParams params) Future<void>
presentGooglePay(PresentGooglePayParams params) Future<void>
presentPaymentSheet() Future<void>
Display the payment sheet.
retrievePaymentIntent(String clientSecret) Future<PaymentIntent>
toString() String
A string representation of this object.
inherited
updateApplePaySummaryItems({required List<ApplePayCartSummaryItem> summaryItems, List<ApplePayErrorAddressField>? errorAddressFields}) Future<void>
verifyPaymentIntentWithMicrodeposits({required bool isPaymentIntent, required String clientSecret, required VerifyMicroDepositsParams params}) Future<PaymentIntent>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance StripePlatform
The default instance of StripePlatform to use.
getter/setter pair