KhaltiProduct class
Constructors
-
KhaltiProduct({required String id, required String name, required double amount, List<
KhaltiPaymentPreference> ? paymentPreferences, String url = "", Map<String, String> customData = const {}})
Properties
- amount → double
-
The amount of the product in paisa
final
-
customData
→ Map<
String, String> -
Custom data attached to the payment
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- name → String
-
final
-
paymentPreferences
→ List<
KhaltiPaymentPreference> ? -
If specified, the configuration from the
config
is ignored but not overriddenfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited