diff --git a/src/Action/Api/Resource/AllPlanAction.php b/src/Action/Api/Resource/AllPlanAction.php new file mode 100644 index 0000000..29ab92c --- /dev/null +++ b/src/Action/Api/Resource/AllPlanAction.php @@ -0,0 +1,23 @@ +plans; + } + + public function supportAlso(AllInterface $request): bool + { + return $request instanceof AllPlan; + } +} diff --git a/src/Action/Api/Resource/AllPriceAction.php b/src/Action/Api/Resource/AllPriceAction.php new file mode 100644 index 0000000..8383a3c --- /dev/null +++ b/src/Action/Api/Resource/AllPriceAction.php @@ -0,0 +1,23 @@ +prices; + } + + public function supportAlso(AllInterface $request): bool + { + return $request instanceof AllPrice; + } +} diff --git a/src/Action/Api/Resource/AllProductAction.php b/src/Action/Api/Resource/AllProductAction.php new file mode 100644 index 0000000..f2fd34b --- /dev/null +++ b/src/Action/Api/Resource/AllProductAction.php @@ -0,0 +1,23 @@ +products; + } + + public function supportAlso(AllInterface $request): bool + { + return $request instanceof AllProduct; + } +} diff --git a/src/Action/Api/Resource/CreatePriceAction.php b/src/Action/Api/Resource/CreatePriceAction.php new file mode 100644 index 0000000..ceadba1 --- /dev/null +++ b/src/Action/Api/Resource/CreatePriceAction.php @@ -0,0 +1,23 @@ +prices; + } + + public function supportAlso(CreateInterface $request): bool + { + return $request instanceof CreatePrice; + } +} diff --git a/src/Action/Api/Resource/CreateProductAction.php b/src/Action/Api/Resource/CreateProductAction.php new file mode 100644 index 0000000..126eab6 --- /dev/null +++ b/src/Action/Api/Resource/CreateProductAction.php @@ -0,0 +1,23 @@ +products; + } + + public function supportAlso(CreateInterface $request): bool + { + return $request instanceof CreateProduct; + } +} diff --git a/src/Action/Api/Resource/DeleteProductAction.php b/src/Action/Api/Resource/DeleteProductAction.php new file mode 100644 index 0000000..ddab51c --- /dev/null +++ b/src/Action/Api/Resource/DeleteProductAction.php @@ -0,0 +1,23 @@ +products; + } + + public function supportAlso(DeleteInterface $request): bool + { + return $request instanceof DeleteProduct; + } +} diff --git a/src/Action/Api/Resource/RetrievePriceAction.php b/src/Action/Api/Resource/RetrievePriceAction.php new file mode 100644 index 0000000..a1d75f1 --- /dev/null +++ b/src/Action/Api/Resource/RetrievePriceAction.php @@ -0,0 +1,23 @@ +prices; + } + + public function supportAlso(RetrieveInterface $request): bool + { + return $request instanceof RetrievePrice; + } +} diff --git a/src/Action/Api/Resource/UpdatePlanAction.php b/src/Action/Api/Resource/UpdatePlanAction.php new file mode 100644 index 0000000..6d320b9 --- /dev/null +++ b/src/Action/Api/Resource/UpdatePlanAction.php @@ -0,0 +1,23 @@ +plans; + } + + public function supportAlso(UpdateInterface $request): bool + { + return $request instanceof UpdatePlan; + } +} diff --git a/src/Action/Api/Resource/UpdatePriceAction.php b/src/Action/Api/Resource/UpdatePriceAction.php new file mode 100644 index 0000000..6734ae1 --- /dev/null +++ b/src/Action/Api/Resource/UpdatePriceAction.php @@ -0,0 +1,23 @@ +prices; + } + + public function supportAlso(UpdateInterface $request): bool + { + return $request instanceof UpdatePrice; + } +} diff --git a/src/Action/Api/Resource/UpdateProductAction.php b/src/Action/Api/Resource/UpdateProductAction.php new file mode 100644 index 0000000..19252aa --- /dev/null +++ b/src/Action/Api/Resource/UpdateProductAction.php @@ -0,0 +1,23 @@ +products; + } + + public function supportAlso(UpdateInterface $request): bool + { + return $request instanceof UpdateProduct; + } +} diff --git a/src/Request/Api/Resource/AllPlan.php b/src/Request/Api/Resource/AllPlan.php new file mode 100644 index 0000000..c6b79df --- /dev/null +++ b/src/Request/Api/Resource/AllPlan.php @@ -0,0 +1,9 @@ +