Skip to content

Commit d1d5fdb

Browse files
committed
Update documentation for Order#getAppliedRuleIds
Update the documentation for getAppliedRuleIds, as it is not immediately clear if this is a single number in a string, or several that are comma separated.
1 parent 708017a commit d1d5fdb

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
@@ -580,6 +580,7 @@ public function getAdjustmentPositive();
580580

581581
/**
582582
* Gets the applied rule IDs for the order.
583+
* Rules are comma separated if there are more than one.
583584
*
584585
* @return string|null Applied rule IDs.
585586
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ public function getAmountRefunded();
414414

415415
/**
416416
* Gets the applied rule IDs for the order item.
417+
* Rules are comma separated if there are more than one.
417418
*
418419
* @return string|null Applied rule IDs.
419420
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,7 @@ public function getAdjustmentPositive()
21122112

21132113
/**
21142114
* Returns applied_rule_ids
2115+
* Rules are comma separated if there are more than one.
21152116
*
21162117
* @return string|null
21172118
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ public function getAmountRefunded()
724724

725725
/**
726726
* Returns applied_rule_ids
727+
* Rules are comma separated if there are more than one.
727728
*
728729
* @return string|null
729730
*/

0 commit comments

Comments
 (0)