public function BundleItemInterface::hasUnitPrice in Commerce Product Bundle 8
Check whether the bundleItem has an own unit price.
Return value
bool True it the bundle item has an own unit price set, false if not.
1 method overrides BundleItemInterface::hasUnitPrice()
- ProductBundleItem::hasUnitPrice in src/
Entity/ ProductBundleItem.php - Check whether the bundleItem has an own unit price.
File
- src/
Entity/ BundleItemInterface.php, line 328
Class
- BundleItemInterface
- Provides an interface for defining product bundle item entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function hasUnitPrice();