PaymobItem class

An order line sent with the intention. When items are given, their total (amount * quantity) must equal the intention amount.

Constructors

PaymobItem({required String name, required double amount, int quantity = 1, String? description})
const

Properties

amount → double
Unit price in major units (e.g. 50.5 EGP).
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
quantity → int
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited