|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| getAddress () | |
| setAddress (\Magento\Quote\Api\Data\AddressInterface $value) | |
| getMethod () | |
| setMethod ($value) | |
| getExtensionAttributes () | |
| setExtensionAttributes (\Magento\Quote\Api\Data\ShippingExtensionInterface $extensionAttributes) | |
Public Member Functions inherited from AbstractExtensibleModel | |
| __construct (\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, ExtensionAttributesFactory $extensionFactory, AttributeValueFactory $customAttributeFactory, \Magento\Framework\Model\ResourceModel\AbstractResource $resource=null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection=null, array $data=[]) | |
| getCustomAttributes () | |
| getCustomAttribute ($attributeCode) | |
| setCustomAttributes (array $attributes) | |
| setCustomAttribute ($attributeCode, $attributeValue) | |
| setData ($key, $value=null) | |
| unsetData ($key=null) | |
| getData ($key='', $index=null) | |
| setId ($value) | |
| __sleep () | |
| __wakeup () | |
Public Member Functions inherited from AbstractModel | |
| __construct (\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Model\ResourceModel\AbstractResource $resource=null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection=null, array $data=[]) | |
| __sleep () | |
| __wakeup () | |
| setIdFieldName ($name) | |
| getIdFieldName () | |
| getId () | |
| setId ($value) | |
| isDeleted ($isDeleted=null) | |
| hasDataChanges () | |
| setData ($key, $value=null) | |
| unsetData ($key=null) | |
| setDataChanges ($value) | |
| getOrigData ($key=null) | |
| setOrigData ($key=null, $data=null) | |
| dataHasChangedFor ($field) | |
| getResourceName () | |
| getResourceCollection () | |
| getCollection () | |
| load ($modelId, $field=null) | |
| beforeLoad ($identifier, $field=null) | |
| afterLoad () | |
| isSaveAllowed () | |
| setHasDataChanges ($flag) | |
| save () | |
| afterCommitCallback () | |
| isObjectNew ($flag=null) | |
| beforeSave () | |
| validateBeforeSave () | |
| getCacheTags () | |
| cleanModelCache () | |
| afterSave () | |
| delete () | |
| beforeDelete () | |
| afterDelete () | |
| afterDeleteCommit () | |
| getResource () | |
| getEntityId () | |
| setEntityId ($entityId) | |
| clearInstance () | |
| getStoredData () | |
| getEventPrefix () | |
Public Member Functions inherited from DataObject | |
| __construct (array $data=[]) | |
| addData (array $arr) | |
| setData ($key, $value=null) | |
| unsetData ($key=null) | |
| getData ($key='', $index=null) | |
| getDataByPath ($path) | |
| getDataByKey ($key) | |
| setDataUsingMethod ($key, $args=[]) | |
| getDataUsingMethod ($key, $args=null) | |
| hasData ($key='') | |
| toArray (array $keys=[]) | |
| convertToArray (array $keys=[]) | |
| toXml (array $keys=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
| convertToXml (array $arrAttributes=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
| toJson (array $keys=[]) | |
| convertToJson (array $keys=[]) | |
| toString ($format='') | |
| __call ($method, $args) | |
| isEmpty () | |
| serialize ($keys=[], $valueSeparator='=', $fieldSeparator=' ', $quote='"') | |
| debug ($data=null, &$objects=[]) | |
| offsetSet ($offset, $value) | |
| offsetExists ($offset) | |
| offsetUnset ($offset) | |
| offsetGet ($offset) | |
Public Member Functions inherited from ShippingInterface | |
| setAddress (\Magento\Quote\Api\Data\AddressInterface $value) | |
| setExtensionAttributes (\Magento\Quote\Api\Data\ShippingExtensionInterface $extensionAttributes) | |
Data Fields | |
| const | ADDRESS = 'address' |
| const | METHOD = 'method' |
Data Fields inherited from CustomAttributesDataInterface | |
| const | CUSTOM_ATTRIBUTES = 'custom_attributes' |
Data Fields inherited from ExtensibleDataInterface | |
| const | EXTENSION_ATTRIBUTES_KEY = 'extension_attributes' |
Class Shipping
Definition at line 14 of file Shipping.php.
| getAddress | ( | ) |
@inheritDoc
Implements ShippingInterface.
Definition at line 22 of file Shipping.php.
| getExtensionAttributes | ( | ) |
@inheritDoc
Implements ShippingInterface.
Definition at line 56 of file Shipping.php.
| getMethod | ( | ) |
@inheritDoc
Implements ShippingInterface.
Definition at line 39 of file Shipping.php.
| setAddress | ( | \Magento\Quote\Api\Data\AddressInterface | $value | ) |
@inheritDoc
Definition at line 30 of file Shipping.php.
| setExtensionAttributes | ( | \Magento\Quote\Api\Data\ShippingExtensionInterface | $extensionAttributes | ) |
@inheritDoc
Definition at line 64 of file Shipping.php.
| setMethod | ( | $value | ) |
@inheritDoc
Implements ShippingInterface.
Definition at line 47 of file Shipping.php.
| const ADDRESS = 'address' |
Definition at line 16 of file Shipping.php.
| const METHOD = 'method' |
Definition at line 17 of file Shipping.php.