From 4c2fecd938c826e5119d50aef5eb8702fadb1161 Mon Sep 17 00:00:00 2001 From: luca-landa Date: Fri, 19 Mar 2021 18:39:13 +0100 Subject: Update README with promotion rules --- README.md | 5 +++++ 1 file changed, 5 insertions(+) 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). -- cgit v1.2.3