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
CustomerInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Customer\Api\Data
;
7
13
interface
CustomerInterface
extends
\Magento\Framework\Api\CustomAttributesDataInterface
14
{
18
const
ID
=
'id'
;
19
const
CONFIRMATION
=
'confirmation'
;
20
const
CREATED_AT
=
'created_at'
;
21
const
UPDATED_AT
=
'updated_at'
;
22
const
CREATED_IN
=
'created_in'
;
23
const
DOB
=
'dob'
;
24
const
EMAIL
=
'email'
;
25
const
FIRSTNAME
=
'firstname'
;
26
const
GENDER
=
'gender'
;
27
const
GROUP_ID
=
'group_id'
;
28
const
LASTNAME
=
'lastname'
;
29
const
MIDDLENAME
=
'middlename'
;
30
const
PREFIX
=
'prefix'
;
31
const
STORE_ID
=
'store_id'
;
32
const
SUFFIX
=
'suffix'
;
33
const
TAXVAT
=
'taxvat'
;
34
const
WEBSITE_ID
=
'website_id'
;
35
const
DEFAULT_BILLING
=
'default_billing'
;
36
const
DEFAULT_SHIPPING
=
'default_shipping'
;
37
const
KEY_ADDRESSES
=
'addresses'
;
38
const
DISABLE_AUTO_GROUP_CHANGE
=
'disable_auto_group_change'
;
46
public
function
getId
();
47
54
public
function
setId
(
$id
);
55
61
public
function
getGroupId
();
62
69
public
function
setGroupId
(
$groupId
);
70
76
public
function
getDefaultBilling
();
77
84
public
function
setDefaultBilling
($defaultBilling);
85
91
public
function
getDefaultShipping
();
92
99
public
function
setDefaultShipping
($defaultShipping);
100
106
public
function
getConfirmation
();
107
114
public
function
setConfirmation
($confirmation);
115
121
public
function
getCreatedAt
();
122
129
public
function
setCreatedAt
($createdAt);
130
136
public
function
getUpdatedAt
();
137
144
public
function
setUpdatedAt
($updatedAt);
145
151
public
function
getCreatedIn
();
152
159
public
function
setCreatedIn
($createdIn);
160
166
public
function
getDob
();
167
174
public
function
setDob
($dob);
175
181
public
function
getEmail
();
182
189
public
function
setEmail
(
$email
);
190
196
public
function
getFirstname
();
197
204
public
function
setFirstname
($firstname);
205
211
public
function
getLastname
();
212
219
public
function
setLastname
($lastname);
220
226
public
function
getMiddlename
();
227
234
public
function
setMiddlename
($middlename);
235
241
public
function
getPrefix
();
242
249
public
function
setPrefix
(
$prefix
);
250
256
public
function
getSuffix
();
257
264
public
function
setSuffix
(
$suffix
);
265
271
public
function
getGender
();
272
279
public
function
setGender
($gender);
280
286
public
function
getStoreId
();
287
294
public
function
setStoreId
(
$storeId
);
295
301
public
function
getTaxvat
();
302
309
public
function
setTaxvat
($taxvat);
310
316
public
function
getWebsiteId
();
317
324
public
function
setWebsiteId
(
$websiteId
);
325
331
public
function
getAddresses
();
332
339
public
function
setAddresses
(array
$addresses
=
null
);
340
346
public
function
getDisableAutoGroupChange
();
347
354
public
function
setDisableAutoGroupChange
($disableAutoGroupChange);
355
361
public
function
getExtensionAttributes
();
362
369
public
function
setExtensionAttributes
(\
Magento
\Customer\Api\Data\CustomerExtensionInterface
$extensionAttributes
);
370
}
Magento\Customer\Api\Data\CustomerInterface\getDisableAutoGroupChange
getDisableAutoGroupChange()
Magento\Customer\Api\Data\CustomerInterface\getConfirmation
getConfirmation()
Magento\Customer\Api\Data\CustomerInterface\MIDDLENAME
const MIDDLENAME
Definition:
CustomerInterface.php:29
Magento\Customer\Api\Data\CustomerInterface\getLastname
getLastname()
Magento\Customer\Api\Data\CustomerInterface\setStoreId
setStoreId($storeId)
$storeId
$storeId
Definition:
customer_review_with_rating.php:14
Magento\Customer\Api\Data\CustomerInterface\setTaxvat
setTaxvat($taxvat)
Magento\Customer\Api\Data\CustomerInterface\DEFAULT_SHIPPING
const DEFAULT_SHIPPING
Definition:
CustomerInterface.php:36
Magento\Customer\Api\Data\CustomerInterface\CONFIRMATION
const CONFIRMATION
Definition:
CustomerInterface.php:19
$suffix
$suffix
Definition:
name.phtml:27
Magento\Customer\Api\Data\CustomerInterface\setCreatedAt
setCreatedAt($createdAt)
Magento\Customer\Api\Data\CustomerInterface\getStoreId
getStoreId()
Magento\Customer\Api\Data\CustomerInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Customer\Api\Data\CustomerExtensionInterface $extensionAttributes)
$email
$email
Definition:
details.phtml:13
Magento\Customer\Api\Data\CustomerInterface\setDefaultBilling
setDefaultBilling($defaultBilling)
$id
$id
Definition:
fieldset.phtml:14
Magento\Customer\Api\Data\CustomerInterface\PREFIX
const PREFIX
Definition:
CustomerInterface.php:30
Magento\Customer\Api\Data\CustomerInterface\setWebsiteId
setWebsiteId($websiteId)
Magento\Customer\Api\Data\CustomerInterface\setDob
setDob($dob)
$addresses
$addresses
Definition:
address_list.php:7
Magento\Customer\Api\Data\CustomerInterface\getPrefix
getPrefix()
Magento\Customer\Api\Data\CustomerInterface\getGender
getGender()
Magento\Customer\Api\Data\CustomerInterface\setSuffix
setSuffix($suffix)
Magento\Customer\Api\Data\CustomerInterface\setEmail
setEmail($email)
Magento\Customer\Api\Data\CustomerInterface\STORE_ID
const STORE_ID
Definition:
CustomerInterface.php:31
Magento\Customer\Api\Data\CustomerInterface\getMiddlename
getMiddlename()
Magento\Customer\Api\Data\CustomerInterface\getWebsiteId
getWebsiteId()
Magento\Customer\Api\Data\CustomerInterface\getExtensionAttributes
getExtensionAttributes()
Magento\Customer\Api\Data
Definition:
AddressInterface.php:8
Magento\Customer\Api\Data\CustomerInterface\getDefaultShipping
getDefaultShipping()
Magento\Customer\Api\Data\CustomerInterface\GENDER
const GENDER
Definition:
CustomerInterface.php:26
Magento\Customer\Api\Data\CustomerInterface\setId
setId($id)
Magento\Customer\Api\Data\CustomerInterface\getFirstname
getFirstname()
Magento\Customer\Api\Data\CustomerInterface\getUpdatedAt
getUpdatedAt()
Magento\Customer\Api\Data\CustomerInterface\LASTNAME
const LASTNAME
Definition:
CustomerInterface.php:28
$prefix
$prefix
Definition:
name.phtml:25
Magento\Customer\Api\Data\CustomerInterface\setMiddlename
setMiddlename($middlename)
Magento\Customer\Api\Data\CustomerInterface\UPDATED_AT
const UPDATED_AT
Definition:
CustomerInterface.php:21
Magento\Customer\Api\Data\CustomerInterface\getGroupId
getGroupId()
Magento\Customer\Api\Data\CustomerInterface\getEmail
getEmail()
Magento\Customer\Api\Data\CustomerInterface\getCreatedIn
getCreatedIn()
Magento\Customer\Api\Data\CustomerInterface\EMAIL
const EMAIL
Definition:
CustomerInterface.php:24
Magento\Customer\Api\Data\CustomerInterface\DISABLE_AUTO_GROUP_CHANGE
const DISABLE_AUTO_GROUP_CHANGE
Definition:
CustomerInterface.php:38
Magento\Customer\Api\Data\CustomerInterface\setLastname
setLastname($lastname)
Magento\Customer\Api\Data\CustomerInterface\FIRSTNAME
const FIRSTNAME
Definition:
CustomerInterface.php:25
Magento\Customer\Api\Data\CustomerInterface\TAXVAT
const TAXVAT
Definition:
CustomerInterface.php:33
Magento\Customer\Api\Data\CustomerInterface\setAddresses
setAddresses(array $addresses=null)
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
$groupId
$groupId
Definition:
filterable_attributes.php:14
Magento\Customer\Api\Data\CustomerInterface\CREATED_IN
const CREATED_IN
Definition:
CustomerInterface.php:22
Magento
Magento\Framework\Api\CustomAttributesDataInterface
Definition:
CustomAttributesDataInterface.php:15
Magento\Customer\Api\Data\CustomerInterface\getDefaultBilling
getDefaultBilling()
Magento\Customer\Api\Data\CustomerInterface\setDisableAutoGroupChange
setDisableAutoGroupChange($disableAutoGroupChange)
Magento\Customer\Api\Data\CustomerInterface\getCreatedAt
getCreatedAt()
Magento\Customer\Api\Data\CustomerInterface\SUFFIX
const SUFFIX
Definition:
CustomerInterface.php:32
Magento\Customer\Api\Data\CustomerInterface\setDefaultShipping
setDefaultShipping($defaultShipping)
Magento\Customer\Api\Data\CustomerInterface\getAddresses
getAddresses()
Magento\Customer\Api\Data\CustomerInterface\setGender
setGender($gender)
Magento\Customer\Api\Data\CustomerInterface\GROUP_ID
const GROUP_ID
Definition:
CustomerInterface.php:27
Magento\Customer\Api\Data\CustomerInterface\KEY_ADDRESSES
const KEY_ADDRESSES
Definition:
CustomerInterface.php:37
Magento\Customer\Api\Data\CustomerInterface\setFirstname
setFirstname($firstname)
Magento\Customer\Api\Data\CustomerInterface
Definition:
CustomerInterface.php:13
Magento\Customer\Api\Data\CustomerInterface\getSuffix
getSuffix()
Magento\Customer\Api\Data\CustomerInterface\setPrefix
setPrefix($prefix)
Magento\Customer\Api\Data\CustomerInterface\CREATED_AT
const CREATED_AT
Definition:
CustomerInterface.php:20
Magento\Customer\Api\Data\CustomerInterface\DEFAULT_BILLING
const DEFAULT_BILLING
Definition:
CustomerInterface.php:35
Magento\Customer\Api\Data\CustomerInterface\getTaxvat
getTaxvat()
Magento\Customer\Api\Data\CustomerInterface\ID
const ID
Definition:
CustomerInterface.php:18
Magento\Customer\Api\Data\CustomerInterface\WEBSITE_ID
const WEBSITE_ID
Definition:
CustomerInterface.php:34
Magento\Customer\Api\Data\CustomerInterface\getId
getId()
$websiteId
$websiteId
Definition:
products_with_websites_and_stores.php:11
Magento\Customer\Api\Data\CustomerInterface\setCreatedIn
setCreatedIn($createdIn)
Magento\Customer\Api\Data\CustomerInterface\getDob
getDob()
Magento\Customer\Api\Data\CustomerInterface\DOB
const DOB
Definition:
CustomerInterface.php:23
Magento\Customer\Api\Data\CustomerInterface\setGroupId
setGroupId($groupId)
Magento\Customer\Api\Data\CustomerInterface\setUpdatedAt
setUpdatedAt($updatedAt)
Magento\Customer\Api\Data\CustomerInterface\setConfirmation
setConfirmation($confirmation)