@@ -275,6 +275,10 @@ |
||
275 | 275 | ]); |
276 | 276 | } |
277 | 277 | |
278 | + /** |
|
279 | + * @param string $method |
|
280 | + * @param string $resource |
|
281 | + */ |
|
278 | 282 | protected function doRequest($method, $resource, $options = []) |
279 | 283 | { |
280 | 284 | $request = new Request($method, $this->buildUrl($resource), [ |
@@ -301,7 +301,7 @@ |
||
301 | 301 | } |
302 | 302 | |
303 | 303 | /** |
304 | - * @return boolean |
|
304 | + * @return string |
|
305 | 305 | */ |
306 | 306 | public function getOncePerCustomer() |
307 | 307 | { |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * |
31 | 31 | * @param int $id |
32 | 32 | * |
33 | - * @return PriceRule |
|
33 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
34 | 34 | */ |
35 | 35 | public function find($id); |
36 | 36 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @param array $data |
60 | 60 | * |
61 | - * @return PriceRule |
|
61 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
62 | 62 | */ |
63 | 63 | public function create(array $data); |
64 | 64 | } |
65 | 65 | \ No newline at end of file |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * |
31 | 31 | * @param int $id |
32 | 32 | * |
33 | - * @return RecurringApplicationCharge |
|
33 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
34 | 34 | */ |
35 | 35 | public function find($id); |
36 | 36 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * @param int $id |
41 | 41 | * @param array $data |
42 | 42 | * |
43 | - * @return RecurringApplicationCharge |
|
43 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
44 | 44 | */ |
45 | 45 | public function update($id, array $data); |
46 | 46 | |
@@ -48,6 +48,7 @@ discard block |
||
48 | 48 | * Cancels a recurring application charge. |
49 | 49 | * |
50 | 50 | * @param int $id |
51 | + * @return void |
|
51 | 52 | */ |
52 | 53 | public function cancel($id); |
53 | 54 | |
@@ -56,7 +57,7 @@ discard block |
||
56 | 57 | * |
57 | 58 | * @param array $data |
58 | 59 | * |
59 | - * @return RecurringApplicationCharge |
|
60 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
60 | 61 | */ |
61 | 62 | public function create(array $data); |
62 | 63 | |
@@ -65,7 +66,7 @@ discard block |
||
65 | 66 | * |
66 | 67 | * @param int $id |
67 | 68 | * |
68 | - * @return RecurringApplicationCharge |
|
69 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
69 | 70 | */ |
70 | 71 | public function activate($id); |
71 | 72 | |
@@ -75,7 +76,7 @@ discard block |
||
75 | 76 | * @param int $id |
76 | 77 | * @param int $cappedAmount |
77 | 78 | * |
78 | - * @return RecurringApplicationCharge |
|
79 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
79 | 80 | */ |
80 | 81 | public function customize($id, $cappedAmount); |
81 | 82 | } |
82 | 83 | \ No newline at end of file |