summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluca-landa <lucalanda@hotmail.it>2021-03-19 18:39:13 +0100
committerluca-landa <lucalanda@hotmail.it>2021-03-19 18:39:13 +0100
commit4c2fecd938c826e5119d50aef5eb8702fadb1161 (patch)
tree223ff15ac4db381d4aea92645d7b2537a44522fa
parent41ecbb5e79081373592374b8ec376b8fe7447f73 (diff)
Update README with promotion rules
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index bc7c8bf..0f196bf 100644
--- a/README.md
+++ b/README.md
@@ -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).