ConsumeOwnedPurchaseReq class

Request information of the consumeOwnedPurchase API.

Inheritance

Constructors

ConsumeOwnedPurchaseReq.new({required String purchaseToken, String? developerChallenge, String? signatureAlgorithm, String? reservedInfor})
Creates a ConsumeOwnedPurchaseReq object.
ConsumeOwnedPurchaseReq.fromJson(String str)
Creates a ConsumeOwnedPurchaseReq object from a JSON string.
factory
ConsumeOwnedPurchaseReq.fromMap(Map<String, dynamic> json)
factory

Properties

developerChallenge String?
Custom challenge, which uniquely identifies a consumption request.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
purchaseToken String
Purchase token, which is generated by the Huawei IAP server during payment and returned to the app through InAppPurchaseData.
getter/setter pair
reservedInfor String?
Additional information passed via a JSON string in key-value format.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatureAlgorithm String?
Signature algorithm, which is optional.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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