total property

double get total

Implementation

double get total {
  return subtotal - discount;
}