Skip to content

Commit

Permalink
fix appliedPromotions (changed to usedPromotions)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherhero committed Oct 7, 2024
1 parent ab71d77 commit 4555f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Model/ChannelPricingInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ public function resetBulkIdentifier(): void;

public function getUsedPromotions(): array;

public function addUsedPromotions(string $promotionCode): void;
public function addUsedPromotion(string $promotionCode): void;
}
2 changes: 1 addition & 1 deletion src/Model/ChannelPricingTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function getUsedPromotions(): array
return $this->usedPromotions;
}

public function setUsedPromotions(array $usedPromotions): void
public function addUsedPromotion(array $usedPromotions): void
{
$this->usedPromotions = $usedPromotions;
}
Expand Down

0 comments on commit 4555f8d

Please sign in to comment.