123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\User\Api\Data;
- /**
- * Admin user interface.
- *
- * @api
- * @since 100.0.2
- */
- interface UserInterface
- {
- /**
- * Get ID.
- *
- * @return int
- */
- public function getId();
- /**
- * Set ID.
- *
- * @param int $id
- * @return $this
- */
- public function setId($id);
- /**
- * Get first name.
- *
- * @return string
- */
- public function getFirstName();
- /**
- * Set first name.
- *
- * @param string $firstName
- * @return $this
- */
- public function setFirstName($firstName);
- /**
- * Get last name.
- *
- * @return string
- */
- public function getLastName();
- /**
- * Set last name.
- *
- * @param string $lastName
- * @return $this
- */
- public function setLastName($lastName);
- /**
- * Get email.
- *
- * @return string
- */
- public function getEmail();
- /**
- * Set email.
- *
- * @param string $email
- * @return $this
- */
- public function setEmail($email);
- /**
- * Get user name.
- *
- * @return string
- */
- public function getUserName();
- /**
- * Set user name.
- *
- * @param string $userName
- * @return $this
- */
- public function setUserName($userName);
- /**
- * Get password or password hash.
- *
- * @return string
- */
- public function getPassword();
- /**
- * Set password or password hash.
- *
- * @param string $password
- * @return $this
- */
- public function setPassword($password);
- /**
- * Get user record creation date.
- *
- * @return string
- */
- public function getCreated();
- /**
- * Set user record creation date.
- *
- * @param string $created
- * @return $this
- */
- public function setCreated($created);
- /**
- * Get user record modification date.
- *
- * @return string
- */
- public function getModified();
- /**
- * Set user record modification date.
- *
- * @param string $modified
- * @return $this
- */
- public function setModified($modified);
- /**
- * Check if user is active.
- *
- * @return int
- */
- public function getIsActive();
- /**
- * Set if user is active.
- *
- * @param int $isActive
- * @return $this
- */
- public function setIsActive($isActive);
- /**
- * Get user interface locale.
- *
- * @return string
- */
- public function getInterfaceLocale();
- /**
- * Set user interface locale.
- *
- * @param string $interfaceLocale
- * @return $this
- */
- public function setInterfaceLocale($interfaceLocale);
- }
|