* 🆕 Added support for brand discounts in `CalculateOrderDiscountCommandHandler` * 🏷️ Updated `DiscountCommands` class to include `BrandId` property * 🏗️ Introduced `BrandDiscount` class in `Discount.Aggregate.cs` with `Create` method * 🛠️ Modified `Order` class in `Order.Aggregate.cs` to handle `BrandId` * 🏷️ Updated `OrderProduct` class in `Order.Aggregate.cs` to include `BrandId` property * 🆕 Added `Brand` discount type to `DiscountType` enum * ✨ Enhanced `CreateDiscountCommandHandler` and `UpdateDiscountCommandHandler` for brand discounts * 🆕 Introduced `BrandDiscount` class in `BrandDiscount.cs` to represent brand-specific discounts Changes made by Amir.h Khademi |
||
---|---|---|
.. | ||
AddressCommands.cs | ||
BrandCommands.cs | ||
CommentCommands.cs | ||
ComplexCommands.cs | ||
DiscountCommands.cs | ||
FaqCommands.cs | ||
MarketerCommands.cs | ||
NewsletterCommands.cs | ||
OrderBagCommands.cs | ||
OrderCommands.cs | ||
PaymentCommands.cs | ||
ProductCategoryCommands.cs | ||
ProductCommands.cs | ||
ShippingCommands.cs |