Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getRegion () | |
setRegion ($region) | |
getRegionId () | |
setRegionId ($regionId) | |
getCountryId () | |
setCountryId ($countryId) | |
getPostcode () | |
setPostcode ($postcode) | |
getExtensionAttributes () | |
setExtensionAttributes (\Magento\Quote\Api\Data\EstimateAddressExtensionInterface $extensionAttributes) | |
![]() | |
__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 () | |
![]() | |
__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 () | |
![]() | |
__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) | |
![]() | |
setExtensionAttributes (\Magento\Quote\Api\Data\EstimateAddressExtensionInterface $extensionAttributes) | |
Definition at line 12 of file EstimateAddress.php.
getCountryId | ( | ) |
Get country id
Implements EstimateAddressInterface.
Definition at line 61 of file EstimateAddress.php.
getExtensionAttributes | ( | ) |
Retrieve existing extension attributes object or create a new one.
Implements EstimateAddressInterface.
Definition at line 103 of file EstimateAddress.php.
getPostcode | ( | ) |
Get postcode
Implements EstimateAddressInterface.
Definition at line 82 of file EstimateAddress.php.
getRegion | ( | ) |
Get region name
Implements EstimateAddressInterface.
Definition at line 19 of file EstimateAddress.php.
getRegionId | ( | ) |
Get region id
Implements EstimateAddressInterface.
Definition at line 40 of file EstimateAddress.php.
setCountryId | ( | $countryId | ) |
Set country id
string | $countryId |
Implements EstimateAddressInterface.
Definition at line 72 of file EstimateAddress.php.
setExtensionAttributes | ( | \Magento\Quote\Api\Data\EstimateAddressExtensionInterface | $extensionAttributes | ) |
Set an extension attributes object.
\Magento\Quote\Api\Data\EstimateAddressExtensionInterface | $extensionAttributes |
Definition at line 114 of file EstimateAddress.php.
setPostcode | ( | $postcode | ) |
Set postcode
string | $postcode |
Implements EstimateAddressInterface.
Definition at line 93 of file EstimateAddress.php.
setRegion | ( | $region | ) |
Set region name
string | $region |
Implements EstimateAddressInterface.
Definition at line 30 of file EstimateAddress.php.
setRegionId | ( | $regionId | ) |
Set region id
int | $regionId |
Implements EstimateAddressInterface.
Definition at line 51 of file EstimateAddress.php.