StripeConfirmPurchaseAction class
StripeFunctionsAction to finalize a Stripe purchase.
Stripeの購入の確定を行うためのStripeFunctionsAction。
- Inheritance
-
- Object
- FunctionsAction<
StripeConfirmPurchaseActionResponse> - StripeFunctionsAction<
StripeConfirmPurchaseActionResponse> - StripeConfirmPurchaseAction
Constructors
- StripeConfirmPurchaseAction({required String userId, required String orderId, required Uri successUrl, required Uri failureUrl, required Uri returnUrl, bool online = true})
-
StripeFunctionsAction to finalize a Stripe purchase.
const
Properties
- action → String
-
Action Name.
no setterinherited
- failureUrl → Uri
-
URL when purchase confirmation fails.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → String
-
Mode of execution on the server side.
final
- online → bool
-
If this is
true
, 3D Secure authentication is performed on Webview.final - orderId → String
-
Order ID that confirms the purchase.
final
- returnUrl → Uri
-
Other return URLs.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successUrl → Uri
-
The URL of the successful confirmation of the purchase.
final
- userId → String
-
User ID to finalize the purchase.
final
Methods
-
execute(
Future< DynamicMap?> callback(DynamicMap? map)) → Future<StripeConfirmPurchaseActionResponse> -
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) → StripeConfirmPurchaseActionResponse -
Converts the value returned from the server side to
TResponse
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited