StripeAuthorization constructor

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

Controller for stripe authorization.

authorization to authorize the user associated with userId.

Exception will be raised if the payment information associated with userId is not set.

ストライプのオーソリを行うためのコントローラー。

authorizationを実行することでuserIdに関連するユーザーのオーソリを行います。

userIdに関連付けられた支払い情報が設定されていない場合はExceptionが発生します。

Implementation

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