stripe_web library Null safety

Classes

AccountBalance
Address
Address information
AddToWalletDetails
The Details object that provides some additional result
AddToWalletResult
The result when asking the Stripe sdk to add a card to wallet
AppInfo
ApplePayCartSummaryItem
Object that can be used to explain the different charges on the Apple Pay sheet.
ApplePayContactName
Contact name data for Apple pay
ApplePayErrorAddressField
ApplePayPostalAddress
Postal address data for Apple pay
ApplePayPresentParams
ApplePayShippingContact
Entered Shipping contact data
ApplePayShippingMethod
AuBecsDebit
AubecsDebit data associated with the payment method
AubecsFormInputDetails
Input details that will be returned from the form.
AubecsFormStyle
Styling information for the AubecsFormField
BacsDebit
BacsDebit data associated with the payment method
BalanceRefresh
BankAccount
Bank account data related to the token
BankAccountTokenParams
parameters needed to create a token for bank account
BillingAddressConfig
Billing address collection config for Google Pay.
BillingDetails
Billing information associated with the payment method.
Card
Card data associated with the payment method
CardData
Card data associated with the token
CardDetails
Credit Card Details
CardEditController
CardFieldContext
CardFieldFocusName
Used to communicate with the card handler on the native platform side when focus changes.
CardFieldInputDetails
User input details.
CardFormStyle
Styiling information for the cardfield.
CardPlaceholder
Localized text for the placeholders of the card fields.
CardStyle
Styiling information for the cardfield.
CardTokenParams
parameters that are used to create a token for a card.
CollectBankAccountParams
Parameters that provide additional information for collecting the bankaccount for ACH payment
ConfirmPaymentElementOptions
ConfirmPaymentParams
CreateGooglePayPaymentParams
Parameters to create a google pay payment.
CreateTokenParams
parameters that are used to create a token.
FinancialConnectionAccount
Data linked to an account
FinancialConnectionBankAccountToken
Data related to the session retrieved from the financial connection.
FinancialConnectionSession
Data related to the session retrieved from the financial connection.
FinancialConnectionSessionResult
FinancialConnectionTokenResult
Fpx
GooglePayInitParams
Config parameters used to intialize google pay.
Ideal
Ideal data associated with the payment method
IsGooglePaySupportedParams
LastSetupError
Incormation about the error that has occured since last payment confirmation.
LocalizedErrorMessage
Provides details about the error
NextAction
Description of the possible next action that must be handled to complete the PaymentIntent.
PaymentElement
PaymentElementState
PaymentIntent
A payment intent represents the interaction between the user and the payment form.
PaymentMethod
Representation of the payment instruments. See https://stripe.com/docs/payments/payment-methods for more info.
PaymentMethodData
Generic payment method data object that holds the billingdetails.
PaymentMethodDataAfterPay
Payment method data object for Afterpay / clearpay payment method.
PaymentMethodDataAubecs
Payment method data object for Aubecs payment method.
PaymentMethodDataCardFromMethod
Payment method data object for card from payment method.
PaymentMethodDataCardFromToken
Payment method data object for card with token payment method.
PaymentMethodDataFpx
Payment method data object for Fpx payment method.
PaymentMethodDataIdeal
Payment method data object for ideal payment method.
PaymentMethodDataSepa
Payment method data object for Sepa debit payment method.
PaymentMethodDataSofort
Payment method data object for Sofort payment method.
PaymentMethodDataUsBank
Payment method data object forUsbankaccount payment method.
PaymentMethodOptions
Data object that holds the payment options for a payment method.
PaymentMethodParams
Parameters that specify the desired configuration of a specific payment method.
PaymentSheetAppearance
Parameters that change the appearance of the payment sheet.
PaymentSheetAppearanceColors
Color settings for the Paymentsheet.
PaymentSheetApplePay
Parameters related to the Payment sheet Apple Pay config.
PaymentSheetGooglePay
Parameters related to the Payment sheet Google Pay config.
PaymentSheetPrimaryButtonAppearance
PaymentSheetPrimaryButtonShape
PaymentSheetPrimaryButtonTheme
PaymentSheetPrimaryButtonThemeColors
PaymentSheetShadowOffset
Shadow config parameters
PaymentSheetShadowParams
Shadow config parameters
PaymentSheetShape
Parameters that change the appearance of the payment sheet.
PIITokenParams
Parameters that are used to create a token for a personally identifiable information (PII).
PresentGooglePayParams
Parameters needed for presenting Google Pay.
PresentPaymentSheetParameters
Parameters used to display the payment sheet.
SepaDebit
SepaDebit data associated with the payment method
SetupIntent
SetupIntent information.
SetupPaymentSheetParameters
Parameters used to setup a Payment sheet.
ShippingDetails
Shipping information
Sofort
Sofort data associated with the payment method
StripePlatform
ThreeDSecureButtonThemeData
Styling info related to the 3d secure button.
ThreeDSecureConfigurationParams
Parameters to configure the 3d secure screen.
ThreeDSecureLabelThemeData
Styling info related to the 3d secure label.
ThreeDSecureNavigationBarThemeData
Styling info related to the 3d secure navigation bar.
ThreeDSecureTextFieldThemeData
Styling info related to the 3d secure text field.
TokenData
Data that provides information about the token
Upi
Upi data associated with the payment method.
UsBankAccount
Data associated with the payment method Us bank account.
UserInterfaceStyleKey
VerifyMicroDepositsParams
Parameters that provide additional information for verifyting microdeposits
WebCardField
WebStripe
An implementation of StripePlatform that uses method channels.

Constants

kCardFieldDefaultFontSize → const double
17.0
kCardFieldDefaultHeight → const double
10.0
kDebugPCIMessage → const String
'Handling card data manually will break PCI compliance provided by Stripe. ' 'Please make sure you understand the severe consecuences of it. ' 'https://stripe.com/docs&…

Enums

AccountCategory
AccountPermission
AccountStatus
AccountSubcategory
ApplePayContactFieldsType
Enum representing the different fields that can be added to the Apple Pay sheet.
ApplePayIntervalUnit
ApplePayShippingMethodType
Enum that represent the support shipping method for Apple pay
BalanceRefreshStatus
BalanceType
BankAccountHolderType
Entity that is holder of the account
BankAccountStatus
Verfication status of the bankaccount.
BillingAddressFormat
CanAddToWalletErrorStatus
Add to wallet error status
CaptureMethod
Defines how the money will be captured from the customer's account.
CardFieldName
Enum representing the different fiels on the card field.
CardValidationState
ConfirmationMethod
Defines how the payment will be confirmed.
CreateTokenError
FailureCode
FinancialConnectionsPaymentMethodType
FinancialConnectSheetError
NextActionType
The type of followup action the customer needs to do in order to complete the payment.
PaymentConfirmationRedirect
By default, stripe.confirmPayment will always redirect to your return_url after a successful confirmation. If you set redirect: "if_required", then stripe.confirmPayment will only redirect if your user chooses a redirect-based payment method.
PaymentIntentError
PaymentIntentsFutureUsage
Indicates how future payments will be handled.
PaymentIntentsStatus
Status of the payment intent.
PaymentMethodType
Enum that specifies the payment type.
PaymentSheetError
TokenType
Type of token
UsBankAccountType

Typedefs

CardChangedCallback = void Function(CardFieldInputDetails? details)
CardFocusCallback = void Function(CardFieldName? focusedField)
OnDidSetShippingContact = void Function(ApplePayShippingContact contact)
OnDidSetShippingMethod = void Function(ApplePayShippingMethod method)

Exceptions / Errors

StripeConfigException
StripeError<T>
Wrapper class that represents an error with the Stripe platform.
StripeException
Exception retrieved from the Stripe platform.
WebUnsupportedError