Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ShippingInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Sales\Api\Data;
7 
14 {
18  const KEY_ADDRESS = 'address';
19 
20  const KEY_METHOD = 'method';
21 
22  const KEY_TOTAL = 'total';
31  public function getAddress();
32 
39  public function getMethod();
40 
47  public function getTotal();
48 
56  public function setAddress(\Magento\Sales\Api\Data\OrderAddressInterface $address);
57 
65  public function setMethod($method);
66 
74  public function setTotal(\Magento\Sales\Api\Data\TotalInterface $total);
75 
82  public function getExtensionAttributes();
83 
91  public function setExtensionAttributes(
92  \Magento\Sales\Api\Data\ShippingExtensionInterface $extensionAttributes
93  );
94 }
setExtensionAttributes(\Magento\Sales\Api\Data\ShippingExtensionInterface $extensionAttributes)
$address
Definition: customer.php:38
setAddress(\Magento\Sales\Api\Data\OrderAddressInterface $address)
$extensionAttributes
Definition: payment.php:22
$method
Definition: info.phtml:13
setTotal(\Magento\Sales\Api\Data\TotalInterface $total)