IOSSubscriptionPurchaseFunctionsAction class
Define subscription settings for IOS.
IOS用のサブスクリプションの設定を定義します。
- Inheritance
-
- Object
- FunctionsAction<
PurchaseFunctionsActionResponse> - PurchaseFunctionsAction
- IOSSubscriptionPurchaseFunctionsAction
Constructors
- IOSSubscriptionPurchaseFunctionsAction({required String receiptData, required String productId, required String purchaseId, required String userId, required PurchaseStoreKitVersion storeKitVersion, String? transactionId, DynamicMap? data})
-
Define subscription settings for IOS.
const
Properties
- action → String
-
Action Name.
no setteroverride
- data → DynamicMap?
-
Additional data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ FutureOr<
Map< ?String, String> > -
Headers.
no setterinherited
- method → ApiMethod?
-
HTTP Method.
no setterinherited
- path → String?
-
Path.
no setterinherited
- productId → String
-
Product ID.
final
- purchaseId → String
-
Purchase ID.
final
- receiptData → String
-
Receipt data.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storeKitVersion → PurchaseStoreKitVersion
-
StoreKit version.
final
- timeout → Duration?
-
Timeout.
no setterinherited
- transactionId → String?
-
Transaction ID.
final
- userId → String
-
Purchased user ID.
final
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
-
onError(
Object error, StackTrace stackTrace) → PurchaseFunctionsActionResponse -
Called when an error occurs.
inherited
-
toMap(
) → DynamicMap? -
Convert to
DynamicMapto 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