interface UPSShipmentInterface in Commerce UPS 8.3
Interface to create and return a UPS API shipment object.
@package Drupal\commerce_ups
Hierarchy
- interface \Drupal\commerce_ups\UPSShipmentInterface
Expanded class hierarchy of UPSShipmentInterface
All classes that implement UPSShipmentInterface
File
- src/
UPSShipmentInterface.php, line 13
Namespace
Drupal\commerce_upsView source
interface UPSShipmentInterface {
/**
* Creates and returns a UPS API shipment object.
*
* @param \Drupal\commerce_shipping\Entity\ShipmentInterface $shipment
* The shipment.
* @param \Drupal\commerce_shipping\Plugin\Commerce\ShippingMethod\ShippingMethodInterface $shipping_method
* The shipping method.
*
* @return \Ups\Entity\Shipment
* A Ups API shipment object.
*/
public function getShipment(ShipmentInterface $shipment, ShippingMethodInterface $shipping_method);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UPSShipmentInterface:: |
public | function | Creates and returns a UPS API shipment object. | 1 |