QsIosPurchasePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • QsIosPurchasePlatform
Implementers

Constructors

QsIosPurchasePlatform()
Constructs a QsIosPurchasePlatform.

Properties

cancelProductId String
Property
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkTransactions() Future<QsPurchaseResult>
校验交易订单
getProducts({required List<String> productIds}) Future
获取商品
initialize({required dynamic onVipChange(bool isVip), required VoidCallback onCancelFreeTrialChange}) Future<void>
Func 初始化
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPurchase({required String productId}) Future<QsPurchaseResult>
请求购买商品
restorePurchase() Future<QsPurchaseResult>
恢复购买
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance QsIosPurchasePlatform
The default instance of QsIosPurchasePlatform to use.
getter/setter pair