public function ShipmentInterface::setOriginalAmount in Commerce Shipping 8.2
Sets the original amount.
Parameters
\Drupal\commerce_price\Price $original_amount: The original amount.
Return value
$this
1 method overrides ShipmentInterface::setOriginalAmount()
- Shipment::setOriginalAmount in src/
Entity/ Shipment.php - Sets the original amount.
File
- src/
Entity/ ShipmentInterface.php, line 264
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function setOriginalAmount(Price $original_amount);