public OrderReply(int warehouseId, int orderId, Product product, DeliveryEnum deliveryType, string orderType) { WarehouseId = warehouseId; OrderId = orderId; Product = product; DeliveryType = deliveryType; OrderType = orderType; }
//Constructor //Precondition: Origin and Destination, Length width height weight express fee must be positive //Postcondition: Creates TwoDayAirPackage public TwoDayAirPackage(Address originAddress, Address destAddress, double length, double width, double height, double weight, DeliveryEnum deliveryType) : base(originAddress, destAddress, length, width, height, weight) { DeliveryType = deliveryType; }