public HibernateOrder(
     Long buyer,
     double amount,
     double discount,
     String coupon,
     Shipment shipment,
     boolean tracking) {
   this.buyer = buyer;
   this.amount = amount;
   this.coupon = coupon;
   this.discount = discount;
   this.shipmentAmount = shipment.getAmount();
   this.shipmentType = shipment.getType();
   this.shipmentAddress = new Address(shipment.getAddress());
   this.tracking = tracking;
   this.orderState = OrderState.NEW;
   timestamp = new Date();
   created = new Date();
 }