Returns the tax class of the product.

@VirtualProperty
@SerializedName("taxClass")

@return TaxClass The status of the product
764350
public function getTaxClass()
    {
        $taxClass = $this->entity->getTaxClass();
        if ($taxClass) {
            return new TaxClass($this->entity->getTaxClass(), $this->locale);
        }

        return null;
    }
387214
protected function getTaxListAttribute()
    {
        $obTaxList = $this->getAttribute('tax_list');
        if ($obTaxList === null) {
            $obTaxList = $this->getAppliedTaxList();
            $this->setAttribute('tax_list', $obTaxList);
        }

        return $obTaxList;
    }
357101
function type()
    {
        $type = false;

        // get first product
        $productCollectionItemList = eZProductCollectionItem::fetchList( array( 'productcollection_id' => $this->attribute( 'productcollection_id' ) ),
                                                                         true,
                                                                         0,
                                                                         1 );

        if ( is_array( $productCollectionItemList ) && count( $productCollectionItemList ) === 1 )
        {
            $product = $productCollectionItemList[0]->attribute( 'contentobject' );
            if ( is_object( $product ) )
            {
                $type = eZShopFunctions::productTypeByObject( $product );
            }
        }

        return $type;
    }
497915
public function getExposedsByClass()
    {
        $id = $this->getRequestParameter('id');

        if (is_null($id) || empty($id)) {
            return $this->returnBadParameter('The class URI is required');
        }

        $class = $this->getClass($id);

        $service = $this->getServiceLocator()->get(CategoryService::SERVICE_ID);

        $data = [];
        $properties = $service->getElligibleProperties($class);
        foreach ($properties as $property) {
            $data[$property->getUri()] = $service->doesExposeCategory($property);
        }

        return $this->returnSuccess($data);
    }
675348
public function getBaseClass()
    {
        if ($this->isAlias() && $this->baseClass === null) {
            return $this->alias;
        } elseif ($this->baseClass === null) {
            return $this->getDatabase()->getBaseClass();
        } else {
            return $this->baseClass;
        }
    }
131631
public function getEntityClassName()
    {
        if (null == $this->entityClass) {
            $this->setEntityClass(get_class($this->getEntity()));
        }
        return $this->entityClass;
    }
94580
public java.lang.String getFatalClass() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.fatalClass);

    }
183204
public function getItemClassesApi()
    {
        if (!$this->apis->has('itemClasses')) {
            $this->apis->set('itemClasses', new ItemClasses($this));
        }

        return $this->apis->get('itemClasses');
    }
295674
public function status()
	{
		if ($this->status === null) {
			$stdClass = $this->decoded();
			if ( ! $stdClass instanceof stdClass)
				return null;

			$this->status = $this->resolveStatusFromStdClass($stdClass);
		}

		return $this->status;
	}
811671
private function getTaxClasses($locale)
    {
        $itemManager = $this->get('sulu_sales_core.item_manager');
        /** @var TaxClass[] $taxClasses */
        $taxClasses = $this->get('sulu_product.tax_class_repository')->findAll();

        $result = [];

        foreach ($taxClasses as $taxClass) {
            $result[] = [
                'id' => $taxClass->getId(),
                'name' => $taxClass->getTranslation($locale)->getName(),
                'tax' => $itemManager->retrieveTaxForClass($taxClass)
            ];
        }

        return $result;
    }
1129172
public function getClassesApi()
    {
        if (!$this->apis->has('classes')) {
            $this->apis->set('classes', new Classes($this));
        }

        return $this->apis->get('classes');
    }
522231
public function getPropertyType() {
    if ($this->valueType === self::COLLECTION_VALUED) {
      return new PersistentCollectionType($this->gClass);
    } else {
      return new EntityType($this->gClass);
    }
  }
1044034
public function getTaxID()
    {
        $id = 0;
        $tax = $this->getTaxFromCategory();

        if (isset($tax) && $tax->exists()) {
            $id = $tax->ID;
        }

        return $id;
    }
1291387
public function getRequestControllerClass()
    {
        $controllerId = $this->getRequestControllerId();
        $controllerClass = Registry::getControllerClassNameResolver()->getClassNameById($controllerId);

        return $controllerClass;
    }
828480
protected function validateProductClass()
    {
        $id = $this->getUpdatingId();

        if ($id === false) {
            return null;
        }

        $data = $this->product_class->get($id);

        if (empty($data)) {
            $this->setErrorUnavailable('update', $this->translation->text('Product class'));
            return false;
        }

        $this->setUpdating($data);
        return true;
    }
761513
public function classIsContainer()
    {
        if ( $this->ClassIsContainer === null )
        {
            $object = $this->object();
            $class = $object->contentClass();
            $this->ClassIsContainer = $class->attribute( 'is_container' );
        }
        return $this->ClassIsContainer;
    }
1076642
private function getUserEntityClass()
    {
        /** @var ClassMetadata $meta */
        foreach ($this->getDoctrine()->getManager()->getMetadataFactory()->getAllMetadata() as $meta) {
            $reflectionClass = $meta->getReflectionClass();

            if (true === $this->hasAbstractParent($reflectionClass, User::class)) {
                return $meta->getName();
            }
        }

        return null;
    }