appstitch_stripe 2.0.1-nullsafety.1 appstitch_stripe: ^2.0.1-nullsafety.1 copied to clipboard
Stripe Integrations for Appstitch.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add appstitch_stripe
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
appstitch_stripe: ^2.0.1-nullsafety.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:appstitch_stripe/native_stripe.dart';
import 'package:appstitch_stripe/native_stripe/android_pay_payment_request.dart';
import 'package:appstitch_stripe/native_stripe/apple_pay_payment_request.dart';
import 'package:appstitch_stripe/native_stripe/card_form_payment_request.dart';
import 'package:appstitch_stripe/native_stripe/error_codes.dart';
import 'package:appstitch_stripe/native_stripe/payment_intent.dart';
import 'package:appstitch_stripe/stripe.dart';
import 'package:appstitch_stripe/types.dart';
import 'package:appstitch_stripe/types/address.dart';
import 'package:appstitch_stripe/types/address.g.dart';
import 'package:appstitch_stripe/types/androidPayLineItem.dart';
import 'package:appstitch_stripe/types/androidPayLineItem.g.dart';
import 'package:appstitch_stripe/types/androidPayOpts.dart';
import 'package:appstitch_stripe/types/androidPayOpts.g.dart';
import 'package:appstitch_stripe/types/applePayLineItem.dart';
import 'package:appstitch_stripe/types/applePayLineItem.g.dart';
import 'package:appstitch_stripe/types/applePayOpts.dart';
import 'package:appstitch_stripe/types/applePayOpts.g.dart';
import 'package:appstitch_stripe/types/attachPaymentMethodOpts.dart';
import 'package:appstitch_stripe/types/attachPaymentMethodOpts.g.dart';
import 'package:appstitch_stripe/types/bankAccount.dart';
import 'package:appstitch_stripe/types/bankAccount.g.dart';
import 'package:appstitch_stripe/types/base.dart';
import 'package:appstitch_stripe/types/base.g.dart';
import 'package:appstitch_stripe/types/billingThresholdsOpts.dart';
import 'package:appstitch_stripe/types/billingThresholdsOpts.g.dart';
import 'package:appstitch_stripe/types/cancelPaymentIntentOpts.dart';
import 'package:appstitch_stripe/types/cancelPaymentIntentOpts.g.dart';
import 'package:appstitch_stripe/types/cancellationReason.dart';
import 'package:appstitch_stripe/types/capturePaymentIntentOpts.dart';
import 'package:appstitch_stripe/types/capturePaymentIntentOpts.g.dart';
import 'package:appstitch_stripe/types/card.dart';
import 'package:appstitch_stripe/types/card.g.dart';
import 'package:appstitch_stripe/types/cardFormPaymentRequest.dart';
import 'package:appstitch_stripe/types/confirmPaymentIntentOpts.dart';
import 'package:appstitch_stripe/types/confirmPaymentIntentOpts.g.dart';
import 'package:appstitch_stripe/types/connectOptions.dart';
import 'package:appstitch_stripe/types/connectOptions.g.dart';
import 'package:appstitch_stripe/types/createCardOpts.dart';
import 'package:appstitch_stripe/types/createCustomerOpts.dart';
import 'package:appstitch_stripe/types/createCustomerOpts.g.dart';
import 'package:appstitch_stripe/types/createPaymentIntentOpts.dart';
import 'package:appstitch_stripe/types/createPaymentIntentOpts.g.dart';
import 'package:appstitch_stripe/types/createPaymentMethodOpts.dart';
import 'package:appstitch_stripe/types/createPaymentMethodOpts.g.dart';
import 'package:appstitch_stripe/types/createSourceOpts.dart';
import 'package:appstitch_stripe/types/createSourceOpts.g.dart';
import 'package:appstitch_stripe/types/createSubscriptionOpts.dart';
import 'package:appstitch_stripe/types/createSubscriptionOpts.g.dart';
import 'package:appstitch_stripe/types/customer.dart';
import 'package:appstitch_stripe/types/customer.g.dart';
import 'package:appstitch_stripe/types/discount.dart';
import 'package:appstitch_stripe/types/discount.g.dart';
import 'package:appstitch_stripe/types/interval.dart';
import 'package:appstitch_stripe/types/invoiceItem.dart';
import 'package:appstitch_stripe/types/invoiceItem.g.dart';
import 'package:appstitch_stripe/types/method.dart';
import 'package:appstitch_stripe/types/paymentBehaviour.dart';
import 'package:appstitch_stripe/types/paymentIntent.dart';
import 'package:appstitch_stripe/types/paymentIntent.g.dart';
import 'package:appstitch_stripe/types/paymentMethod.dart';
import 'package:appstitch_stripe/types/paymentMethod.g.dart';
import 'package:appstitch_stripe/types/paymentMethodData.dart';
import 'package:appstitch_stripe/types/paymentMethodData.g.dart';
import 'package:appstitch_stripe/types/paymentMethodResult.dart';
import 'package:appstitch_stripe/types/paymentMethodResult.g.dart';
import 'package:appstitch_stripe/types/price.dart';
import 'package:appstitch_stripe/types/price.g.dart';
import 'package:appstitch_stripe/types/retrieveOpts.dart';
import 'package:appstitch_stripe/types/retrieveOpts.g.dart';
import 'package:appstitch_stripe/types/shippingMethod.dart';
import 'package:appstitch_stripe/types/shippingMethod.g.dart';
import 'package:appstitch_stripe/types/source.dart';
import 'package:appstitch_stripe/types/source.g.dart';
import 'package:appstitch_stripe/types/stripeOptions.dart';
import 'package:appstitch_stripe/types/stripeOptions.g.dart';
import 'package:appstitch_stripe/types/subscription.dart';
import 'package:appstitch_stripe/types/subscription.g.dart';
import 'package:appstitch_stripe/types/subscriptionItem.dart';
import 'package:appstitch_stripe/types/subscriptionItem.g.dart';
import 'package:appstitch_stripe/types/subscriptionItemList.dart';
import 'package:appstitch_stripe/types/subscriptionItemList.g.dart';
import 'package:appstitch_stripe/types/subscriptionItemOpts.dart';
import 'package:appstitch_stripe/types/subscriptionItemOpts.g.dart';
import 'package:appstitch_stripe/types/token.dart';
import 'package:appstitch_stripe/types/token.g.dart';
import 'package:appstitch_stripe/types/transferData.dart';
import 'package:appstitch_stripe/types/transferData.g.dart';
import 'package:appstitch_stripe/types/updateCustomerOpts.dart';
import 'package:appstitch_stripe/types/updateCustomerOpts.g.dart';
import 'package:appstitch_stripe/types/updatePaymentIntentOpts.dart';
import 'package:appstitch_stripe/types/updatePaymentIntentOpts.g.dart';
import 'package:appstitch_stripe/types/updateSubscriptionOpts.dart';