Class: PromotionCredit
- Inherits:
-
Adjustment
- Object
- Adjustment
- PromotionCredit
- Defined in:
- app/models/promotion_credit.rb
Instance Method Summary collapse
-
#applicable? ⇒ Boolean
Checks if credit is still applicable to order If source of adjustment is credit, it checks if it’s still valid.
Instance Method Details
#applicable? ⇒ Boolean
Checks if credit is still applicable to order If source of adjustment is credit, it checks if it’s still valid
6 7 8 |
# File 'app/models/promotion_credit.rb', line 6 def applicable? source && source.eligible?(order) && super end |