You are here

public function ShipmentInterface::getAmount in Commerce Shipping 8.2

Gets the amount.

Calculated from the original amount by applying promotions and fees during order refresh.

Return value

\Drupal\commerce_price\Price|null The shipment amount, or NULL if unknown.

1 method overrides ShipmentInterface::getAmount()
Shipment::getAmount in src/Entity/Shipment.php
Gets the amount.

File

src/Entity/ShipmentInterface.php, line 275

Class

ShipmentInterface
Defines the interface for shipments.

Namespace

Drupal\commerce_shipping\Entity

Code

public function getAmount();