        .map(item => ({
          ...item.product,
          quantity: item.quantity,
          itemId: item.id
        }));
    }
    return [];
  }

  @Expose()
  get total() {
    if (this.items) {
      return this.items.filter(item => !!item)
        .reduce((total, item) => {