purchases_dart_stripe library
Classes
- ApiClient
- DioApiClient
- DioApiClient used to make api calls using dio. This makes api calls on client side, so it should not be used in production, instead use a server side api client. or a proxy server, check ProxyApiClient
- ProxyApiClient
- ProxyApiClient can be used to make Stripe api calls through a proxy server.
- StripeBackendInterface
- StripeBackendInterface is the interface that should be implemented to use stripe as a backend. This interface is used by StripeStoreProduct to make api calls to stripe.
- StripeCheckoutLineItem
- StripeCheckoutUrlBuilder
- Builder for creating a Stripe Checkout URL
- StripeCurrency
- StripeCustomer
- StripeCustomerBuilder
- StripeDioErrorInterceptor
- StripeDioErrorInterceptor used to handle errors from dio.
- StripePrice
- StripeProduct
- StripeStoreProduct
- Setup CheckoutSessionsBuilder to generate checkout session data for an item or use StripeCheckoutUrlBuilder for basic implementation available params: https://docs.stripe.com/api/checkout/sessions/object
Enums
Extensions
-
IterableExtension
on Iterable<
T>
Typedefs
-
CheckoutSessionsBuilder
= Future<
Map< Function(Package package, String stripePriceId)String, dynamic> > - Custom types
- CheckoutUrlGenerated = dynamic Function(Package package, String sessionId, String url)
- StripeCurrencyFormatter = StripeCurrency Function(int amount, String currency)
-
StripeNewCustomerBuilder
= Future<
Map< Function(String userId)String, dynamic> >