MobilePurchaseMasamuneAdapter constructor
const
MobilePurchaseMasamuneAdapter({
- required List<
PurchaseProduct> products, - required String? onRetrieveUserId(),
- FunctionsAdapter? functionsAdapter,
- ModelAdapter? modelAdapter,
- bool automaticallyConsumeOnAndroid = true,
- bool iosSandboxTesting = false,
- Purchase? purchase,
- ConsumablePurchaseDelegate? consumablePurchaseDelegate,
- NonConsumablePurchaseDelegate? nonConsumablePurchaseDelegate,
- SubscriptionPurchaseDelegate? subscriptionPurchaseDelegate,
- bool initializeOnBoot = false,
Initial setup for handling InAppPurchase on mobile MasamuneAdapter.
Define all billable items to be used in the app in products.
モバイルでのInAppPurchaseを取り扱うための初期設定を行うMasamuneAdapter。
productsにアプリ内で利用するすべての課金用のアイテムを定義してください。
Implementation
const MobilePurchaseMasamuneAdapter({
required super.products,
required super.onRetrieveUserId,
super.functionsAdapter,
super.modelAdapter,
this.automaticallyConsumeOnAndroid = true,
this.iosSandboxTesting = false,
super.purchase,
super.consumablePurchaseDelegate,
super.nonConsumablePurchaseDelegate,
super.subscriptionPurchaseDelegate,
super.initializeOnBoot = false,
});