193 lines
4 KiB
PHP
193 lines
4 KiB
PHP
<?php
|
|
/**
|
|
* EcommerceApiTest
|
|
* PHP version 5
|
|
*
|
|
* @category Class
|
|
* @package Brevo\Client
|
|
* @author Swagger Codegen team
|
|
* @link https://github.com/swagger-api/swagger-codegen
|
|
*/
|
|
|
|
/**
|
|
* Brevo API
|
|
*
|
|
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
*
|
|
* OpenAPI spec version: 3.0.0
|
|
* Contact: contact@brevo.com
|
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
* Swagger Codegen version: 2.4.29
|
|
*/
|
|
|
|
/**
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen
|
|
* Please update the test case below to test the endpoint.
|
|
*/
|
|
|
|
namespace Brevo\Client;
|
|
|
|
use \Brevo\Client\Configuration;
|
|
use \Brevo\Client\ApiException;
|
|
use \Brevo\Client\ObjectSerializer;
|
|
|
|
/**
|
|
* EcommerceApiTest Class Doc Comment
|
|
*
|
|
* @category Class
|
|
* @package Brevo\Client
|
|
* @author Swagger Codegen team
|
|
* @link https://github.com/swagger-api/swagger-codegen
|
|
*/
|
|
class EcommerceApiTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
|
|
/**
|
|
* Setup before running any test cases
|
|
*/
|
|
public static function setUpBeforeClass()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Setup before running each test case
|
|
*/
|
|
public function setUp()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Clean up after running each test case
|
|
*/
|
|
public function tearDown()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Clean up after running all test cases
|
|
*/
|
|
public static function tearDownAfterClass()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createBatchOrder
|
|
*
|
|
* Create orders in batch.
|
|
*
|
|
*/
|
|
public function testCreateBatchOrder()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createOrder
|
|
*
|
|
* Managing the status of the order.
|
|
*
|
|
*/
|
|
public function testCreateOrder()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createUpdateBatchCategory
|
|
*
|
|
* Create categories in batch.
|
|
*
|
|
*/
|
|
public function testCreateUpdateBatchCategory()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createUpdateBatchProducts
|
|
*
|
|
* Create products in batch.
|
|
*
|
|
*/
|
|
public function testCreateUpdateBatchProducts()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createUpdateCategory
|
|
*
|
|
* Create/Update a category.
|
|
*
|
|
*/
|
|
public function testCreateUpdateCategory()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createUpdateProduct
|
|
*
|
|
* Create/Update a product.
|
|
*
|
|
*/
|
|
public function testCreateUpdateProduct()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for ecommerceActivatePost
|
|
*
|
|
* Activate the eCommerce app.
|
|
*
|
|
*/
|
|
public function testEcommerceActivatePost()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getCategories
|
|
*
|
|
* Return all your categories.
|
|
*
|
|
*/
|
|
public function testGetCategories()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getCategoryInfo
|
|
*
|
|
* Get a category details.
|
|
*
|
|
*/
|
|
public function testGetCategoryInfo()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getOrders
|
|
*
|
|
* Get order details.
|
|
*
|
|
*/
|
|
public function testGetOrders()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getProductInfo
|
|
*
|
|
* Get a product's details.
|
|
*
|
|
*/
|
|
public function testGetProductInfo()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getProducts
|
|
*
|
|
* Return all your products.
|
|
*
|
|
*/
|
|
public function testGetProducts()
|
|
{
|
|
}
|
|
}
|