public ChangeProductPriceCommand(long id, decimal price, CommandMeta commandMeta) : base(commandMeta) { Id = id; Price = price; }
public ChangeProductNameCommand(long id, string name, CommandMeta commandMeta) : base(commandMeta) { Id = id; Name = name; }
public ChangeProductColorCommand(Guid id, string color, CommandMeta commandMeta, long?expectedVersion) : base(commandMeta, expectedVersion) { Id = id; Color = color; }
public AddCartCommand(CommandMeta commandMeta, long productId, short quantity, string userId) : base(commandMeta) { ProductId = productId; Quantity = quantity; UserId = userId; }
public ChangeProductForBabyCommand(long id, bool forBaby, CommandMeta commandMeta) : base(commandMeta) { Id = id; ForBaby = forBaby; }
public ChangeProductForBabyCommand(Guid id, bool?forBaby, CommandMeta commandMeta, long?expectedVersion) : base(commandMeta, expectedVersion) { Id = id; ForBaby = forBaby; }
public ChangeProductTypeCommand(long id, string productType, CommandMeta commandMeta) : base(commandMeta) { Id = id; ProductType = productType; }