Delivery class
Represents delivery details in a transaction, including actual and latest delivery dates.
The Delivery class holds information about the actual delivery date and the latest possible delivery date for a transaction. These dates are formatted according to ZATCA compliance standards. The class includes:
- actualDate: The actual delivery date of the goods or services.
- latestDate: The latest date by which the delivery should occur.
Constructors
- Delivery.new({required DateTime actualDate, required DateTime latestDate})
-
Constructs a Delivery instance with the specified
actualDate
andlatestDate
.
Properties
- actualDate ↔ DateTime
-
The actual date when the delivery took place.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- latestDate ↔ DateTime
-
The latest date by which the delivery should occur.
getter/setter pair
- 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
-
toXml(
XmlBuilder builder) → void - Converts the Delivery instance into an XML representation.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited