Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Protected Member Functions | |
_construct () | |
![]() | |
filterCustomAttributes ($data) | |
initializeCustomAttributes () | |
convertCustomAttributeValues (array &$customAttributes) | |
getCustomAttributesCodes () | |
_setExtensionAttributes (\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes) | |
_getExtensionAttributes () | |
![]() | |
_construct () | |
_init ($resourceModel) | |
_setResourceModel ($resourceName, $collectionName=null) | |
_getResource () | |
_getEventData () | |
_beforeLoad ($modelId, $field=null) | |
_afterLoad () | |
_hasModelChanged () | |
_getValidatorBeforeSave () | |
_createValidatorBeforeSave () | |
_getValidationRulesBeforeSave () | |
_clearReferences () | |
_clearData () | |
![]() | |
_getData ($key) | |
_underscore ($name) | |
getExtensionAttributes | ( | ) |
Retrieve existing extension attributes object
Implements StockInterface.
Definition at line 67 of file Stock.php.
getName | ( | ) |
Get stock name
Implements StockInterface.
Definition at line 51 of file Stock.php.
getStockId | ( | ) |
#- Get stock id
Implements StockInterface.
Definition at line 33 of file Stock.php.
setExtensionAttributes | ( | StockExtensionInterface | $extensionAttributes | ) |
Definition at line 80 of file Stock.php.
setName | ( | ?string | $name | ) |
Set stock name
string | null | $name |
Implements StockInterface.
Definition at line 59 of file Stock.php.
setStockId | ( | ?int | $stockId | ) |
Set stock id
int | null | $stockId |
Implements StockInterface.
Definition at line 43 of file Stock.php.