StripeRefundPurchaseAction class
StripeFunctionsAction to refund a Stripe purchase.
Stripeの購入の返金を行うためのStripeFunctionsAction。
- Inheritance
-
- Object
- FunctionsAction<
StripeRefundPurchaseActionResponse> - StripeFunctionsAction<
StripeRefundPurchaseActionResponse> - StripeRefundPurchaseAction
Constructors
- StripeRefundPurchaseAction({required String userId, required String orderId, double? refundAmount})
-
StripeFunctionsAction to refund a Stripe purchase.
const
Properties
- action → String
-
Action Name.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → String
-
Mode of execution on the server side.
final
- orderId → String
-
Order ID.
final
- refundAmount → double?
-
Amount of refund.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String
-
ID of the user who made the purchase.
final
Methods
-
execute(
Future< DynamicMap?> callback(DynamicMap? map)) → Future<StripeRefundPurchaseActionResponse> -
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) → StripeRefundPurchaseActionResponse -
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