Skip to content

Commit

Permalink
Merge pull request #38 from intensa/master
Browse files Browse the repository at this point in the history
Убрали версию v2
  • Loading branch information
IvanShishkin authored Nov 22, 2021
2 parents f5ff507 + 29c6849 commit 935e464
Show file tree
Hide file tree
Showing 113 changed files with 20 additions and 6,319 deletions.
20 changes: 10 additions & 10 deletions docs/examples/order_helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

/* Подключение автозагрузчика и инициализация SDK */

$customer = new \Mindbox\DTO\V2\Requests\CustomerRequestDTO();
$customer = new \Mindbox\DTO\V3\Requests\CustomerRequestDTO();
$customer->setEmail('[email protected]');

$order = new \Mindbox\DTO\V2\Requests\OrderCreateRequestDTO();
$order = new \Mindbox\DTO\V3\Requests\OrderCreateRequestDTO();
$order->setCustomer($customer);

/* Формирование состава заказа */
Expand All @@ -42,10 +42,10 @@ var_dump($response->getBody());

/* Подключение автозагрузчика и инициализация SDK */

$customer = new \Mindbox\DTO\V2\Requests\CustomerRequestDTO();
$customer = new \Mindbox\DTO\V3\Requests\CustomerRequestDTO();
$customer->setEmail('[email protected]');

$order = new \Mindbox\DTO\V2\Requests\PreorderRequestDTO();
$order = new \Mindbox\DTO\V3\Requests\PreorderRequestDTO();
$order->setCustomer($customer);

/* Формирование состава заказа */
Expand All @@ -72,10 +72,10 @@ var_dump($response->getBody());

/* Подключение автозагрузчика и инициализация SDK */

$customer = new \Mindbox\DTO\V2\Requests\CustomerRequestDTO();
$customer = new \Mindbox\DTO\V3\Requests\CustomerRequestDTO();
$customer->setEmail('[email protected]');

$order = new \Mindbox\DTO\V2\Requests\OrderUpdateRequestDTO();
$order = new \Mindbox\DTO\V3\Requests\OrderUpdateRequestDTO();
$order->setCustomer($customer);

/* Формирование состава заказа */
Expand All @@ -102,10 +102,10 @@ var_dump($response->getBody());

/* Подключение автозагрузчика и инициализация SDK */

$customer = new \Mindbox\DTO\V2\Requests\CustomerRequestDTO();
$customer = new \Mindbox\DTO\V3\Requests\CustomerRequestDTO();
$customer->setEmail('[email protected]');

$order = new \Mindbox\DTO\V2\Requests\OrderUpdateRequestDTO();
$order = new \Mindbox\DTO\V3\Requests\OrderUpdateRequestDTO();
$order->setCustomer($customer);

/* Формирование состава заказа */
Expand All @@ -132,10 +132,10 @@ var_dump($response->getBody());

/* Подключение автозагрузчика и инициализация SDK */

$customer = new \Mindbox\DTO\V2\Requests\CustomerRequestDTO();
$customer = new \Mindbox\DTO\V3\Requests\CustomerRequestDTO();
$customer->setEmail('[email protected]');

$order = new \Mindbox\DTO\V2\Requests\OrderUpdateRequestDTO();
$order = new \Mindbox\DTO\V3\Requests\OrderUpdateRequestDTO();
$order->setCustomer($customer);

/* Формирование состава заказа */
Expand Down
31 changes: 0 additions & 31 deletions src/DTO/V2/AreaDTO.php

This file was deleted.

22 changes: 0 additions & 22 deletions src/DTO/V2/BalanceTypeDTO.php

This file was deleted.

68 changes: 0 additions & 68 deletions src/DTO/V2/CustomerDTO.php

This file was deleted.

22 changes: 0 additions & 22 deletions src/DTO/V2/CustomerIdentityDTO.php

This file was deleted.

46 changes: 0 additions & 46 deletions src/DTO/V2/DiscountDTO.php

This file was deleted.

37 changes: 0 additions & 37 deletions src/DTO/V2/GiftCardDTO.php

This file was deleted.

46 changes: 0 additions & 46 deletions src/DTO/V2/PaymentDTO.php

This file was deleted.

Loading

0 comments on commit 935e464

Please sign in to comment.