1: <?php
2:
3: namespace LeadCommerce\Shopware\SDK\Query;
4:
5: use LeadCommerce\Shopware\SDK\Util\Constants;
6:
7: class ShopsQuery extends Base
8: {
9: 10: 11:
12: protected $methodsAllowed = [
13: Constants::METHOD_CREATE,
14: Constants::METHOD_GET,
15: Constants::METHOD_GET_BATCH,
16: Constants::METHOD_UPDATE,
17: Constants::METHOD_DELETE,
18: ];
19:
20: 21: 22:
23: protected function getClass()
24: {
25: return 'LeadCommerce\\Shopware\\SDK\\Entity\\Shop';
26: }
27:
28: 29: 30:
31: protected function getQueryPath()
32: {
33: return 'shops';
34: }
35: }
36: