public function ShipmentItem::getDeclaredValue in Commerce Shipping 8.2
Gets the declared value.
Represents the value of the entire shipment item (unit value * quantity). Needed on customs forms.
Return value
\Drupal\commerce_price\Price The declared value.
File
- src/
ShipmentItem.php, line 134
Class
- ShipmentItem
- Represents a shipment item.
Namespace
Drupal\commerce_shippingCode
public function getDeclaredValue() : Price {
return $this->declaredValue;
}