OperationEarnDonation class
Operation of earning money as a Vendor from a made Donation.
Constructors
- OperationEarnDonation({required OperationId id, required OperationNum num, OperationStatus status = OperationStatus.completed, required Price amount, required PreciseDateTime createdAt, OperationCancellation? canceled, required OperationOrigin origin, required OperationDirection direction, PreciseDateTime? holdUntil, ChatItemId? chatItemId, ChatId? chatId, required DonationId donationId, required UserId customerId})
Properties
- amount → Price
-
Money Sum and Currency of this Operation.
finalinherited
- canceled → OperationCancellation?
-
Information about why this Operation was canceled, if it was.
finalinherited
- chatId → ChatId?
-
ChatId the related ChatItem of the earned Donation belongs to.
final
- chatItemId → ChatItemId?
-
ChatItemId the earned Donation is part of.
final
- createdAt → PreciseDateTime
-
PreciseDateTime when this Operation was created.
finalinherited
- customerId → UserId
-
UserId who made the Donation triggering this OperationEarnDonation.
final
- direction → OperationDirection
-
OperationDirection of this Operation.
finalinherited
- donationId → DonationId
-
ID of the Donation earned by this OperationEarnDonation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- holdUntil → PreciseDateTime?
-
PreciseDateTime until which this Operation is on hold.
finalinherited
- id → OperationId
-
ID of this Operation.
finalinherited
- num → OperationNum
-
Sequential number of this Operation.
finalinherited
- origin → OperationOrigin
-
OperationOrigin of this Operation.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ OperationStatus
-
OperationStatus of this Operation.
getter/setter pairinherited
Methods
-
compareTo(
Operation other) → int -
Compares this object to another object.
inherited
-
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.
override