-
Notifications
You must be signed in to change notification settings - Fork 9.4k
/
Copy pathConfirmationLogInterface.php
68 lines (56 loc) · 1.24 KB
/
ConfirmationLogInterface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
declare(strict_types=1);
namespace Magento\Customer\Api\Data;
interface ConfirmationLogInterface
{
/**
* @var string
*/
public const CUSTOMER_ID = 'customer_id';
/**
* @var string
*/
public const EMAIL_SENT_COUNTER = 'email_sent_counter';
/**
* @var string
*/
public const LAST_EMAIL_SENT_AT = 'last_email_sent_at';
/**
* To get the customer id
*
* @return int
*/
public function getCustomerId(): int;
/**
* To set the customer id
*
* @return $this
*/
public function setCustomerId(int $customerId): self;
/**
* To get the count of emails sent.
*
* @return int
*/
public function getEmailSentCounter(): int;
/**
* To set the email sent counter value.
*
* @param int $counter
* @return $this
*/
public function setEmailSentCounter(int $counter): self;
/**
* To get the timestamp of the last email sent.
*
* @return string
*/
public function getLastEmailSentAt(): string;
/**
* To set the timestamp of the last email sent.
*
* @param string $date
* @return $this
*/
public function setLastEmailSentAt(string $date): self;
}