Closed (duplicate)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Promotions
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
2 Mar 2017 at 16:35 UTC
Updated:
9 Mar 2017 at 10:25 UTC
Jump to comment: Most recent
Extend Promotion entity class with method for Coupons
- getCoupons()
- getCouponsCodes
- getCouponsIds
Comments
Comment #2
vasikeThis is part of #2857560: Complete the coupon <-> promotion data model for PR
Comment #3
vasikenew PR for the parent issue, it includes the fix for this.
https://github.com/drupalcommerce/commerce/pull/660
Also Promotion tests updated to include the new methods.
Comment #4
bojanz commentedClosing for the parent issue.