public function ShipmentInterface::getOriginalAmount in Commerce Shipping 8.2
Gets the original amount.
This is the amount before promotions and fees are applied.
Return value
\Drupal\commerce_price\Price|null The original amount, or NULL if unknown.
1 method overrides ShipmentInterface::getOriginalAmount()
- Shipment::getOriginalAmount in src/
Entity/ Shipment.php - Gets the original amount.
File
- src/
Entity/ ShipmentInterface.php, line 254
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function getOriginalAmount();