Order constructor

Order(double subtotal, double tax, double tip, String merchantName)

Implementation

Order(double subtotal, double tax, double tip, String merchantName) {
  this.subtotal = subtotal;
  this.tax = tax;
  this.tip = tip;
  this.merchantName = merchantName;
}