public function Product::getPrice in Commerce Google Tag Manager 8.2
Same name and namespace in other branches
- 8 src/Product.php \Drupal\commerce_google_tag_manager\Product::getPrice()
Get the price.
Return value
string The price.
File
- src/
Product.php, line 143
Class
- Product
- Represents a product in the domain of Google's Enhanced Ecommerce.
Namespace
Drupal\commerce_google_tag_managerCode
public function getPrice() {
return $this->price;
}