Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-customer
Api
Data
AddressInterface.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Customer\Api\Data
;
9
15
interface
AddressInterface
extends
\Magento\Framework\Api\CustomAttributesDataInterface
16
{
20
const
ID
=
'id'
;
21
const
CUSTOMER_ID
=
'customer_id'
;
22
const
REGION
=
'region'
;
23
const
REGION_ID
=
'region_id'
;
24
const
COUNTRY_ID
=
'country_id'
;
25
const
STREET
=
'street'
;
26
const
COMPANY
=
'company'
;
27
const
TELEPHONE
=
'telephone'
;
28
const
FAX
=
'fax'
;
29
const
POSTCODE
=
'postcode'
;
30
const
CITY
=
'city'
;
31
const
FIRSTNAME
=
'firstname'
;
32
const
LASTNAME
=
'lastname'
;
33
const
MIDDLENAME
=
'middlename'
;
34
const
PREFIX
=
'prefix'
;
35
const
SUFFIX
=
'suffix'
;
36
const
VAT_ID
=
'vat_id'
;
37
const
DEFAULT_BILLING
=
'default_billing'
;
38
const
DEFAULT_SHIPPING
=
'default_shipping'
;
46
public
function
getId
();
47
54
public
function
setId
(
$id
);
55
61
public
function
getCustomerId
();
62
69
public
function
setCustomerId
(
$customerId
);
70
76
public
function
getRegion
();
77
84
public
function
setRegion
(
RegionInterface
$region =
null
);
85
91
public
function
getRegionId
();
92
99
public
function
setRegionId
($regionId);
100
106
public
function
getCountryId
();
107
114
public
function
setCountryId
($countryId);
115
121
public
function
getStreet
();
122
129
public
function
setStreet
(array $street);
130
136
public
function
getCompany
();
137
144
public
function
setCompany
($company);
145
151
public
function
getTelephone
();
152
159
public
function
setTelephone
($telephone);
160
166
public
function
getFax
();
167
174
public
function
setFax
($fax);
175
181
public
function
getPostcode
();
182
189
public
function
setPostcode
($postcode);
190
196
public
function
getCity
();
197
204
public
function
setCity
($city);
205
211
public
function
getFirstname
();
212
219
public
function
setFirstname
($firstName);
220
226
public
function
getLastname
();
227
234
public
function
setLastname
($lastName);
235
241
public
function
getMiddlename
();
242
249
public
function
setMiddlename
($middleName);
250
256
public
function
getPrefix
();
257
264
public
function
setPrefix
(
$prefix
);
265
271
public
function
getSuffix
();
272
279
public
function
setSuffix
(
$suffix
);
280
286
public
function
getVatId
();
287
294
public
function
setVatId
($vatId);
295
301
public
function
isDefaultShipping
();
302
309
public
function
setIsDefaultShipping
($isDefaultShipping);
310
316
public
function
isDefaultBilling
();
317
324
public
function
setIsDefaultBilling
($isDefaultBilling);
325
331
public
function
getExtensionAttributes
();
332
339
public
function
setExtensionAttributes
(\
Magento
\Customer\Api\Data\AddressExtensionInterface
$extensionAttributes
);
340
}
Magento\Customer\Api\Data\AddressInterface\isDefaultBilling
isDefaultBilling()
Magento\Customer\Api\Data\AddressInterface\setCustomerId
setCustomerId($customerId)
Magento\Customer\Api\Data\AddressInterface\getCustomerId
getCustomerId()
Magento\Customer\Api\Data\AddressInterface\getId
getId()
$suffix
$suffix
Definition:
name.phtml:27
Magento\Customer\Api\Data\AddressInterface\setPrefix
setPrefix($prefix)
Magento\Customer\Api\Data\AddressInterface\setPostcode
setPostcode($postcode)
Magento\Customer\Api\Data\AddressInterface\setCompany
setCompany($company)
Magento\Customer\Api\Data\AddressInterface\setMiddlename
setMiddlename($middleName)
Magento\Customer\Api\Data\AddressInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Customer\Api\Data\AddressExtensionInterface $extensionAttributes)
$id
$id
Definition:
fieldset.phtml:14
Magento\Customer\Api\Data\AddressInterface\setFirstname
setFirstname($firstName)
Magento\Customer\Api\Data\AddressInterface\setCity
setCity($city)
Magento\Customer\Api\Data\AddressInterface\getFax
getFax()
Magento\Customer\Api\Data\AddressInterface
Definition:
AddressInterface.php:15
Magento\Customer\Api\Data\AddressInterface\VAT_ID
const VAT_ID
Definition:
AddressInterface.php:36
Magento\Customer\Api\Data\AddressInterface\PREFIX
const PREFIX
Definition:
AddressInterface.php:34
Magento\Customer\Api\Data\AddressInterface\getSuffix
getSuffix()
Magento\Customer\Api\Data\AddressInterface\getLastname
getLastname()
Magento\Customer\Api\Data\AddressInterface\TELEPHONE
const TELEPHONE
Definition:
AddressInterface.php:27
Magento\Customer\Api\Data\AddressInterface\ID
const ID
Definition:
AddressInterface.php:20
Magento\Customer\Api\Data\AddressInterface\setTelephone
setTelephone($telephone)
Magento\Customer\Api\Data\AddressInterface\LASTNAME
const LASTNAME
Definition:
AddressInterface.php:32
Magento\Customer\Api\Data
Definition:
AddressInterface.php:8
Magento\Customer\Api\Data\AddressInterface\isDefaultShipping
isDefaultShipping()
Magento\Customer\Api\Data\AddressInterface\CUSTOMER_ID
const CUSTOMER_ID
Definition:
AddressInterface.php:21
Magento\Customer\Api\Data\AddressInterface\getCountryId
getCountryId()
Magento\Customer\Api\Data\AddressInterface\setLastname
setLastname($lastName)
Magento\Customer\Api\Data\AddressInterface\getVatId
getVatId()
$prefix
$prefix
Definition:
name.phtml:25
Magento\Customer\Api\Data\AddressInterface\CITY
const CITY
Definition:
AddressInterface.php:30
Magento\Customer\Api\Data\AddressInterface\getPrefix
getPrefix()
Magento\Customer\Api\Data\AddressInterface\REGION
const REGION
Definition:
AddressInterface.php:22
Magento\Customer\Api\Data\AddressInterface\setSuffix
setSuffix($suffix)
Magento\Customer\Api\Data\AddressInterface\getPostcode
getPostcode()
Magento\Customer\Api\Data\AddressInterface\FIRSTNAME
const FIRSTNAME
Definition:
AddressInterface.php:31
Magento\Customer\Api\Data\AddressInterface\setCountryId
setCountryId($countryId)
Magento\Customer\Api\Data\AddressInterface\DEFAULT_BILLING
const DEFAULT_BILLING
Definition:
AddressInterface.php:37
Magento\Customer\Api\Data\AddressInterface\MIDDLENAME
const MIDDLENAME
Definition:
AddressInterface.php:33
Magento\Customer\Api\Data\AddressInterface\DEFAULT_SHIPPING
const DEFAULT_SHIPPING
Definition:
AddressInterface.php:38
Magento\Customer\Api\Data\AddressInterface\setIsDefaultBilling
setIsDefaultBilling($isDefaultBilling)
$customerId
$customerId
Definition:
quote_with_customer.php:16
Magento\Customer\Api\Data\AddressInterface\STREET
const STREET
Definition:
AddressInterface.php:25
Magento\Customer\Api\Data\AddressInterface\COUNTRY_ID
const COUNTRY_ID
Definition:
AddressInterface.php:24
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento\Customer\Api\Data\AddressInterface\getTelephone
getTelephone()
Magento\Customer\Api\Data\RegionInterface
Definition:
RegionInterface.php:16
Magento\Customer\Api\Data\AddressInterface\COMPANY
const COMPANY
Definition:
AddressInterface.php:26
Magento
Magento\Customer\Api\Data\AddressInterface\getRegion
getRegion()
Magento\Framework\Api\CustomAttributesDataInterface
Definition:
CustomAttributesDataInterface.php:15
Magento\Customer\Api\Data\AddressInterface\setFax
setFax($fax)
Magento\Customer\Api\Data\AddressInterface\getCompany
getCompany()
Magento\Customer\Api\Data\AddressInterface\setIsDefaultShipping
setIsDefaultShipping($isDefaultShipping)
Magento\Customer\Api\Data\AddressInterface\getCity
getCity()
Magento\Customer\Api\Data\AddressInterface\getMiddlename
getMiddlename()
Magento\Customer\Api\Data\AddressInterface\setRegionId
setRegionId($regionId)
Magento\Customer\Api\Data\AddressInterface\setRegion
setRegion(RegionInterface $region=null)
Magento\Customer\Api\Data\AddressInterface\FAX
const FAX
Definition:
AddressInterface.php:28
Magento\Customer\Api\Data\AddressInterface\SUFFIX
const SUFFIX
Definition:
AddressInterface.php:35
Magento\Customer\Api\Data\AddressInterface\getStreet
getStreet()
Magento\Customer\Api\Data\AddressInterface\setVatId
setVatId($vatId)
Magento\Customer\Api\Data\AddressInterface\REGION_ID
const REGION_ID
Definition:
AddressInterface.php:23
Magento\Customer\Api\Data\AddressInterface\setStreet
setStreet(array $street)
Magento\Customer\Api\Data\AddressInterface\getExtensionAttributes
getExtensionAttributes()
Magento\Customer\Api\Data\AddressInterface\setId
setId($id)
Magento\Customer\Api\Data\AddressInterface\POSTCODE
const POSTCODE
Definition:
AddressInterface.php:29
Magento\Customer\Api\Data\AddressInterface\getRegionId
getRegionId()
Magento\Customer\Api\Data\AddressInterface\getFirstname
getFirstname()