diff --git a/src/Enum/Payments/PaymentObjectType.php b/src/Enum/Payments/PaymentObjectType.php new file mode 100644 index 0000000..e61fcfc --- /dev/null +++ b/src/Enum/Payments/PaymentObjectType.php @@ -0,0 +1,23 @@ +popular = true; * $productInput->recommended = true; * $productInput->stock = true; + * $productInput->type = ProductType::PRODUCT; * $productEditGroupInput = new ProductEditGroupInput(); * $productEditGroupInput->externalId = 'testExternalId'; * $productEditGroupInput->id = 10; diff --git a/tests/src/ResourceGroup/StoreTest.php b/tests/src/ResourceGroup/StoreTest.php index a77ed4b..82b8dca 100644 --- a/tests/src/ResourceGroup/StoreTest.php +++ b/tests/src/ResourceGroup/StoreTest.php @@ -11,6 +11,7 @@ namespace RetailCrm\Tests\ResourceGroup; use RetailCrm\Api\Component\Transformer\DateTimeTransformer; use RetailCrm\Api\Enum\NumericBoolean; +use RetailCrm\Api\Enum\Product\ProductType; use RetailCrm\Api\Enum\RequestMethod; use RetailCrm\Api\Model\Entity\Store\Inventory; use RetailCrm\Api\Model\Entity\Store\Offer; @@ -375,6 +376,7 @@ EOF; "maxPrice": 624, "id": 828272, "article": "38311", + "type": "product", "name": "Test Product", "url": "https://example.com", "imageUrl": "https://example.com/image.jpg", @@ -699,6 +701,7 @@ EOF; $productInput->popular = true; $productInput->recommended = true; $productInput->stock = true; + $productInput->type = ProductType::PRODUCT; $productEditGroupInput = new ProductEditGroupInput(); $productEditGroupInput->id = 9717;