ltsecurityinc安防产品在线商城代码
This commit is contained in:
+173
@@ -0,0 +1,173 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Hide Price (Call for Price) for Magento 2
|
||||
*/
|
||||
|
||||
namespace Amasty\HidePrice\Api\Data;
|
||||
|
||||
interface RequestInterface
|
||||
{
|
||||
/**#@+
|
||||
* Constants defined for keys of data array
|
||||
*/
|
||||
public const REQUEST_ID = 'request_id';
|
||||
|
||||
public const NAME = 'name';
|
||||
|
||||
public const EMAIL = 'email';
|
||||
|
||||
public const PHONE = 'phone';
|
||||
|
||||
public const PRODUCT_ID = 'product_id';
|
||||
|
||||
public const STORE_ID = 'store_id';
|
||||
|
||||
public const COMMENT = 'comment';
|
||||
|
||||
public const CREATED_AT = 'created_at';
|
||||
|
||||
public const STATUS = 'status';
|
||||
|
||||
public const MESSAGE_TEXT = 'message_text';
|
||||
|
||||
/**
|
||||
* Returns request id field
|
||||
*
|
||||
* @return int|null
|
||||
*/
|
||||
public function getRequestId();
|
||||
|
||||
/**
|
||||
* @param int $requestId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequestId($requestId);
|
||||
|
||||
/**
|
||||
* Returns name
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getName();
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($name);
|
||||
|
||||
/**
|
||||
* Returns email
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getEmail();
|
||||
|
||||
/**
|
||||
* @param string $email
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEmail($email);
|
||||
|
||||
/**
|
||||
* Returns phone
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getPhone();
|
||||
|
||||
/**
|
||||
* @param string $phone
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPhone($phone);
|
||||
|
||||
/**
|
||||
* Returns comment
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getComment();
|
||||
|
||||
/**
|
||||
* @param string $comment
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setComment($comment);
|
||||
|
||||
/**
|
||||
* Returns product id
|
||||
*
|
||||
* @return int|null
|
||||
*/
|
||||
public function getProductId();
|
||||
|
||||
/**
|
||||
* @param int $productId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setProductId($productId);
|
||||
/**
|
||||
* Returns store id
|
||||
*
|
||||
* @return int|null
|
||||
*/
|
||||
public function getStoreId();
|
||||
|
||||
/**
|
||||
* @param int $storeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStoreId($storeId);
|
||||
|
||||
/**
|
||||
* Returns created at
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCreatedAt();
|
||||
|
||||
/**
|
||||
* @param string $createdAt
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCreatedAt($createdAt);
|
||||
|
||||
/**
|
||||
* Returns created at
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getStatus();
|
||||
|
||||
/**
|
||||
* @param int $status
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStatus($status);
|
||||
|
||||
/**
|
||||
* Returns admin answer message text
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getMessageText();
|
||||
|
||||
/**
|
||||
* @param string $text
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMessageText($text);
|
||||
}
|
||||
Reference in New Issue
Block a user