public function ShippingRate::setOriginalAmount in Commerce Shipping 8.2
Sets the original amount.
Parameters
\Drupal\commerce_price\Price $original_amount: The original amount.
Return value
$this
File
- src/
ShippingRate.php, line 150
Class
- ShippingRate
- Represents a shipping rate.
Namespace
Drupal\commerce_shippingCode
public function setOriginalAmount(Price $original_amount) {
$this->originalAmount = $original_amount;
return $this;
}