File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
app/code/Magento/SalesRule Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ public function setTimesUsed($timesUsed);
108
108
* Get expiration date
109
109
*
110
110
* @return string|null
111
- * @deprecated Coupon expiration must follow sales rule expiration date.
112
111
*/
113
112
public function getExpirationDate ();
114
113
@@ -117,7 +116,6 @@ public function getExpirationDate();
117
116
*
118
117
* @param string $expirationDate
119
118
* @return $this
120
- * @deprecated Coupon expiration must follow sales rule expiration date.
121
119
*/
122
120
public function setExpirationDate ($ expirationDate );
123
121
Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ class Coupon extends \Magento\Framework\Model\AbstractExtensibleModel implements
20
20
const KEY_USAGE_LIMIT = 'usage_limit ' ;
21
21
const KEY_USAGE_PER_CUSTOMER = 'usage_per_customer ' ;
22
22
const KEY_TIMES_USED = 'times_used ' ;
23
- /**
24
- * @deprecated Coupon expiration must follow sales rule expiration date.
25
- */
26
23
const KEY_EXPIRATION_DATE = 'expiration_date ' ;
27
24
const KEY_IS_PRIMARY = 'is_primary ' ;
28
25
const KEY_CREATED_AT = 'created_at ' ;
@@ -205,7 +202,6 @@ public function setTimesUsed($timesUsed)
205
202
* Get expiration date
206
203
*
207
204
* @return string|null
208
- * @deprecated Coupon expiration must follow sales rule expiration date.
209
205
*/
210
206
public function getExpirationDate ()
211
207
{
@@ -217,7 +213,6 @@ public function getExpirationDate()
217
213
*
218
214
* @param string $expirationDate
219
215
* @return $this
220
- * @deprecated Coupon expiration must follow sales rule expiration date.
221
216
*/
222
217
public function setExpirationDate ($ expirationDate )
223
218
{
You can’t perform that action at this time.
0 commit comments