code: private function isCouponItem(OrderItem $orderItem)
      {
          return $orderItem->getType() === OrderItem::TYPE_VOUCHER || $orderItem->getType() === OrderItem::TYPE_COUPON;
      }
docs: @param OrderItem $orderItem
  
  @return bool