flutter_stripe library

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
ApplePayButton
Customizable button that when pressed shows a native Apple pay button and creates an apple payment intent when pressed.
ApplePayCartSummaryItem
Object that can be used to explain the different charges on the Apple Pay sheet.
ApplePayErrorAddressField
ApplePayPresentParams
ApplePayShippingMethod
AuBecsDebit
AubecsDebit data associated with the payment method
AubecsEditFormController
AubecsFormField
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
CardField
Customizable form that collects card information.
CardFieldContext
CardFieldFocusName
Used to communicate with the card handler on the native platform side when focus changes.
CardFieldInputDetails
User input details.
CardFormEditController
CardFormField
Customizable form that collects card information.
CardFormFieldContext
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
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
GooglePayButton
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.
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
Stripe
Stripe is the facade of the library and exposes the operations that can be executed on the Stripe platform.
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

Enums

AccountCategory
AccountPermission
AccountStatus
AccountSubcategory
ApplePayButtonStyle
Predefined styles for the Apple pay button.
ApplePayButtonType
Predefined types for the Apple pay button.
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
GooglePayButtonType
NextActionType
The type of followup action the customer needs to do in order to complete the payment.
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

Functions

mapButtonStyle(ApplePayButtonStyle style) int

Typedefs

CardChangedCallback = void Function(CardFieldInputDetails? details)
CardFocusCallback = void Function(CardFieldName? focusedField)

Exceptions / Errors

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