OperationPurchaseDonation class
Constructors
- OperationPurchaseDonation({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 vendorId})
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 made Donation belongs to
final
- chatItemId → ChatItemId?
-
ChatItemId the made Donation is part of.
final
- createdAt → PreciseDateTime
-
PreciseDateTime when this Operation was created.
finalinherited
- direction → OperationDirection
-
OperationDirection of this Operation.
finalinherited
- donationId → DonationId
-
ID of the Donation made by this OperationPurchaseDonation.
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
- vendorId → UserId
-
Vendorreceiving the Donation made by this OperationPurchaseDonation.final
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