diff options
author | luca-landa <lucalanda@hotmail.it> | 2021-03-19 18:39:13 +0100 |
---|---|---|
committer | luca-landa <lucalanda@hotmail.it> | 2021-03-19 18:39:13 +0100 |
commit | 4c2fecd938c826e5119d50aef5eb8702fadb1161 (patch) | |
tree | 223ff15ac4db381d4aea92645d7b2537a44522fa | |
parent | 41ecbb5e79081373592374b8ec376b8fe7447f73 (diff) |
Update README with promotion rules
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -90,6 +90,11 @@ The task creates ActiveJob jobs which can be fulfilled by your queue library of We suggest using the [Whenever](https://github.com/javan/whenever) gem to schedule the task. +### Promotion rules +This extensions adds the following [Promotion rules](https://guides.solidus.io/developers/promotions/promotion-rules.html): +* `SolidusSubscriptions::Promotion::Rules::SubscriptionCreationOrder` which applies if the order is creating a subscription; +* `SolidusSubscriptions::Promotion::Rules::SubscriptionInstallmentOrder` which applies if the order is an installment of a subscription. + ### API documentation You can find the API documentation [here](https://stoplight.io/p/docs/gh/solidusio-contrib/solidus_subscriptions?group=master). |