InappifyCheckoutResult class
Result of creating or polling an Inappify checkout.
Callback query parameters are intentionally absent. Payment state is
authoritative only when returned by the backend for checkout.id.
- Annotations
Constructors
- InappifyCheckoutResult({required InappifyCheckout checkout, required InappifyCheckoutNextAction nextAction, InappifyCheckoutPrice? price})
-
Creates a checkout result.
const
-
InappifyCheckoutResult.fromMap(Map<
String, dynamic> map) -
Decodes a checkout response from JavaScript or MethodChannel.
factory
Properties
- checkout → InappifyCheckout
-
Current authoritative checkout state.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPaid → bool
-
Whether the checkout is in the documented paid state.
no setter
- nextAction → InappifyCheckoutNextAction
-
Action required by the customer, if any.
final
- price → InappifyCheckoutPrice?
-
Server-authoritative price, when returned by the selected backend.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> - Encodes this result using standard message-codec values.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited