PurchaseIntentReq class
Request information of the createPurchaseIntent API.
Constructors
- PurchaseIntentReq.new({required int priceType, required String productId, String? developerPayload, String? signatureAlgorithm, String? reservedInfor})
- Creates a PurchaseIntentReq object.
- PurchaseIntentReq.fromJson(String str)
-
Creates a PurchaseIntentReq object from a JSON string.
factory
-
PurchaseIntentReq.fromMap(Map<
String, dynamic> json) -
factory
Properties
- developerPayload ↔ String?
-
Information stored on the merchant side.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- priceType ↔ int
-
/// Product type.
getter/setter pair
- productId ↔ String
-
ID of a product to be paid.
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