Skip to content

Commit a55bab9

Browse files
authored
Merge pull request #242 from vadimsallee/feature/241-add-order
Feature/241 add order
2 parents 26cda2c + 77e2f07 commit a55bab9

File tree

17 files changed

+1432
-0
lines changed

17 files changed

+1432
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
### Added
66

7+
- Added service `Services\Sale\Order\Service\Order` with support methods,
8+
see [sale.order.* methods](https://github.com/bitrix24/b24phpsdk/issues/241):
9+
- `add` adds an order, with batch calls support
10+
- `update` modifies an order, with batch calls support
11+
- `get` returns order fields and fields of related objects
12+
- `list` returns a list of orders, with batch calls support
13+
- `delete` deletes an order and related objects, with batch calls support
14+
- `getFields` returns order fields
715
- Added service `Services\Sale\PropertyVariant\Service\PropertyVariant` with support methods,
816
see [sale.propertyvariant.* methods](https://github.com/bitrix24/b24phpsdk/issues/234):
917
- `add` adds a variant of an order property

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ test-integration-sale-status:
198198
.PHONY: test-integration-sale-status-lang
199199
test-integration-sale-status-lang:
200200
docker-compose run --rm php-cli vendor/bin/phpunit --testsuite integration_tests_sale_status_lang
201+
202+
.PHONY: test-integration-sale-order
203+
test-integration-sale-order:
204+
docker-compose run --rm php-cli vendor/bin/phpunit --testsuite integration_tests_sale_order
201205

202206
.PHONY: test-integration-scope-crm
203207
test-integration-scope-crm:

phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@
124124
<testsuite name="integration_tests_sale">
125125
<directory>./tests/Integration/Services/Sale/</directory>
126126
</testsuite>
127+
<testsuite name="integration_tests_sale_order">
128+
<directory>./tests/Integration/Services/Sale/Order/</directory>
129+
</testsuite>
127130
</testsuites>
128131
<source>
129132
<include>

0 commit comments

Comments
 (0)