public function ShipmentManagerInterface::calculateRates in Commerce Shipping 8.2
Calculates rates for the given shipment.
Parameters
\Drupal\commerce_shipping\Entity\ShipmentInterface $shipment: The shipment.
Return value
\Drupal\commerce_shipping\ShippingRate[] The rates.
1 method overrides ShipmentManagerInterface::calculateRates()
- ShipmentManager::calculateRates in src/
ShipmentManager.php - Calculates rates for the given shipment.
File
- src/
ShipmentManagerInterface.php, line 31
Class
- ShipmentManagerInterface
- Manages shipments.
Namespace
Drupal\commerce_shippingCode
public function calculateRates(ShipmentInterface $shipment);