Skip to content

Commit 6caa3de

Browse files
author
Stanislav Idolov
authored
ENGCOM-3199: Update documentation for Order#getAppliedRuleIds #18573
2 parents f710f9b + 54f5d2d commit 6caa3de

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ 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.
584585
* @return string|null Applied rule IDs.
585586
*/
586587
public function getAppliedRuleIds();

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ 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.
418419
* @return string|null Applied rule IDs.
419420
*/
420421
public function getAppliedRuleIds();

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,6 +2152,7 @@ public function getAdjustmentPositive()
21522152
/**
21532153
* Return applied_rule_ids
21542154
*
2155+
* Rules are comma separated if there are more than one.
21552156
* @return string|null
21562157
*/
21572158
public function getAppliedRuleIds()

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,7 @@ public function getAmountRefunded()
725725
/**
726726
* Return applied_rule_ids
727727
*
728+
* Rules are comma separated if there are more than one.
728729
* @return string|null
729730
*/
730731
public function getAppliedRuleIds()

0 commit comments

Comments
 (0)