public function ShippingRate::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 The original amount.
File
- src/
ShippingRate.php, line 138
Class
- ShippingRate
- Represents a shipping rate.
Namespace
Drupal\commerce_shippingCode
public function getOriginalAmount() : Price {
return $this->originalAmount;
}