StripeApiService class abstract
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelSubscription(
String subscriptionId, {bool? isDebug}) → Future< bool> -
createCheckoutSessionUrl(
String email, String priceId, {bool isDebug = false, int trialPeriodDays = 0}) → Future< StripeCheckoutSession> -
getCustomerId(
String sessionId) → Future< String> -
getCustomerIdByEmail(
String email) → Future< void> -
getPrice(
String priceId, {bool isDebug = false}) → Future< StripePrice?> -
getProductById(
String productId, {bool isDebug = false}) → Future< StripeProduct?> -
getProductPrices(
String productId, {bool isDebug = false}) → Future< List< StripePrice> > -
getProducts(
{bool isDebug = false}) → Future< List< StripeProduct> > -
getRecurringPricesFromStripe(
) → Future< Map< String, List< >StripePrice> > -
getSubscriptionDetails(
String subscriptionId) → Future< void> -
getSubscriptionId(
String sessionId, {bool? isDebug}) → Future< String> -
getSubscriptionsFromCustomer(
String customerId) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited