public function ShippingRate::getAmount in Commerce Shipping 8.2
Gets the amount.
Return value
\Drupal\commerce_price\Price The amount.
File
- src/
ShippingRate.php, line 161
Class
- ShippingRate
- Represents a shipping rate.
Namespace
Drupal\commerce_shippingCode
public function getAmount() : Price {
return $this->amount;
}