-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Sylius package. | ||
* | ||
* (c) Paweł Jędrzejewski | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Sylius\Bundle\ApiBundle\Doctrine; | ||
|
||
final class ApiRequestTypes | ||
{ | ||
const SHOP_GET = 'SHOP_GET'; | ||
const SHOP_PATCH = 'SHOP_PATCH'; | ||
const SHOP_DELETE = 'SHOP_DELETE'; | ||
const SHOP_ADD_ITEM = 'SHOP_ADD_ITEM'; | ||
const SHOP_ADDRESS = 'SHOP_ADDRESS'; | ||
const SHOP_SELECT_SHIPPING_METHOD = 'SHOP_SELECT_SHIPPING_METHOD'; | ||
const SHOP_SELECT_PAYMENT_METHOD = 'SHOP_SELECT_PAYMENT_METHOD'; | ||
const SHOP_COMPLETE = 'SHOP_COMPLETE'; | ||
const SHOP_REMOVE_ITEM = 'SHOP_REMOVE_ITEM'; | ||
const SHOP_CHANGE_QUANTITY = 'SHOP_CHANGE_QUANTITY'; | ||
|
||
const ADMIN_GET = 'SHOP_GET'; | ||
const ADMIN_PATCH = 'SHOP_PATCH'; | ||
const ADMIN_DELETE = 'SHOP_DELETE'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters