AndroidConsumablePurchaseFunctionsAction class
Define consumable billing settings for Android.
Android用の消耗型課金の設定を定義します。
- Inheritance
-
- Object
- FunctionsAction<
PurchaseFunctionsActionResponse> - PurchaseFunctionsAction
- AndroidConsumablePurchaseFunctionsAction
Constructors
- AndroidConsumablePurchaseFunctionsAction({required String packageName, required String productId, required String purchaseToken, String collectionPath = "plugins/iap/user", String fieldKey = "value", required String documentId, required double amount})
-
Define consumable billing settings for Android.
const
Properties
- action → String
-
Action Name.
no setteroverride
- amount → double
-
Amount of data to be added.
final
- collectionPath → String
-
The collection path where the data will be stored.
final
- documentId → String
-
Document ID where the data will be stored.
final
- fieldKey → String
-
Field key to store data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- packageName → String
-
Package Name.
final
- productId → String
-
Product ID.
final
- purchaseToken → String
-
Tokens issued at the time of purchase.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
Future< DynamicMap?> callback(DynamicMap? map)) → Future<PurchaseFunctionsActionResponse> -
The value is actually passed to the server side for execution.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → DynamicMap? -
Convert to
DynamicMap
to pass values to the server side.override -
toResponse(
DynamicMap map) → PurchaseFunctionsActionResponse -
Converts the value returned from the server side to
TResponse
.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
DynamicMap? response) → Future< bool> -
Validate
response
. Iftrue
, the validation succeeds; iffalse
, the validation fails.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited