NmCheckout class
What the user confirmed in NmSubscribeSheet.
- Annotations
Constructors
- NmCheckout({required NmPlan plan, required NmPaymentMethod method, required NmPrice total, String? promoCode, NmCardDetails? card, bool autopay = false})
-
Creates an NmCheckout.
const
Properties
- autopay → bool
-
Whether the user agreed to automatic renewal.
final
- card → NmCardDetails?
-
Card details when the method needs them.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → NmPaymentMethod
-
Chosen payment method.
final
- plan → NmPlan
-
Chosen plan.
final
- promoCode → String?
-
Applied promo code, if any.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total → NmPrice
-
Amount to charge after any promo code.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited