StripeSubscription constructor

StripeSubscription({
  1. required String userId,
  2. StripePurchaseMasamuneAdapter? adapter,
})

Controller to manage subscriptions as defined in the stripe configuration screen.

create to start a subscription and delete to cancel a subscription.

ストライプの設定画面で定義されたサブスクリプションを管理するためのコントローラー。

createで購読開始し、deleteで購読をキャンセルします。

Implementation

StripeSubscription({
  required this.userId,
  super.adapter,
});