NmPaymentMethod class
A way to pay, shown with its mark.
- Annotations
Constructors
- NmPaymentMethod({required String id, required String label, NmIconData? icon, bool requiresCard = false})
-
Creates an NmPaymentMethod.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → NmIconData?
-
Method mark, if any.
final
- id → String
-
Stable method id (passed back in NmCheckout.method).
final
- label → String
-
Visible label.
final
- requiresCard → bool
-
Whether the flow asks for card number / expiry / CVV.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited