code: private function buildSaleTaxesViews(Model\SaleInterface $sale)
      {
          if (!$this->options['taxes_view']) {
              return;
          }
  
          $amounts = $this->amountCalculator->calculateSale($sale);
  
          foreach ($amounts->getTaxAdjustments() as $tax) {
              $this->view->addTax(new TaxView(
                  $tax->getName(),
                  $this->formatter->currency($tax->getAmount())
              ));
          }
      }
docs: Builds the sale taxes views.
  
  @param Model\SaleInterface $sale