MiPayPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • MiPayPlatform
Implementers

Constructors

MiPayPlatform()
Constructs a MiPayPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCallback(SDKCallback callback) → void
dispose() → void
initSDK({required String appId, required String appKey, bool isDebug = false}) Future<void>
isLogin() Future<bool>
login() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pay({required int feeValue, String? orderId}) Future<void>
payProduct({required String productCode, required int amount, String? orderId}) Future<void>
subscribe({required int feeValue, String? orderId}) Future<void>
subscribeProduct({required String productCode, required int amount, String? orderId}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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