Skip to content

Commit add0e77

Browse files
ENGCOM-3199: Update documentation for Order#getAppliedRuleIds #18573
- Merge Pull Request #18573 from zack6849/magento2:2.3-develop - Merged commits: 1. d1d5fdb 2. cda6aa1 3. 9170bb5
2 parents f710f9b + 9170bb5 commit add0e77

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

app/code/Magento/Sales/Api/Data/OrderInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,8 @@ public function getAdjustmentPositive();
581581
/**
582582
* Gets the applied rule IDs for the order.
583583
*
584+
* Rules are comma separated if there are more than one.
585+
*
584586
* @return string|null Applied rule IDs.
585587
*/
586588
public function getAppliedRuleIds();

app/code/Magento/Sales/Api/Data/OrderItemInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ public function getAmountRefunded();
415415
/**
416416
* Gets the applied rule IDs for the order item.
417417
*
418+
* Rules are comma separated if there are more than one.
419+
*
418420
* @return string|null Applied rule IDs.
419421
*/
420422
public function getAppliedRuleIds();

app/code/Magento/Sales/Model/Order.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,6 +2152,8 @@ public function getAdjustmentPositive()
21522152
/**
21532153
* Return applied_rule_ids
21542154
*
2155+
* Rules are comma separated if there are more than one.
2156+
*
21552157
* @return string|null
21562158
*/
21572159
public function getAppliedRuleIds()

app/code/Magento/Sales/Model/Order/Item.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,8 @@ public function getAmountRefunded()
725725
/**
726726
* Return applied_rule_ids
727727
*
728+
* Rules are comma separated if there are more than one.
729+
*
728730
* @return string|null
729731
*/
730732
public function getAppliedRuleIds()

0 commit comments

Comments
 (0)