public function ShipmentInterface::getAdjustedAmount in Commerce Shipping 8.2
Gets the adjusted amount.
Parameters
string[] $adjustment_types: The adjustment types to include in the adjusted price. Examples: fee, promotion, tax. Defaults to all adjustment types.
Return value
\Drupal\commerce_price\Price|null The adjusted amount, or NULL.
1 method overrides ShipmentInterface::getAdjustedAmount()
- Shipment::getAdjustedAmount in src/
Entity/ Shipment.php - Gets the adjusted amount.
File
- src/
Entity/ ShipmentInterface.php, line 297
Class
- ShipmentInterface
- Defines the interface for shipments.
Namespace
Drupal\commerce_shipping\EntityCode
public function getAdjustedAmount(array $adjustment_types = []);