Skip to content

Commit 630d3d1

Browse files
committed
Add v1.12.0
1 parent 39dd7cc commit 630d3d1

File tree

414 files changed

+5
-13479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+5
-13479
lines changed

CHANGELOG.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# Changelog
22

3-
## v1.12.1 - 2020-08-04
4-
### Fixes
5-
- Fix missing payment_voucher param and retro compatibility problem on TL01
6-
7-
## v1.12.0 - 2020-07-28
8-
### Features
9-
- Add requirement level for attributes (PM11)
10-
- Add KYC information for A01, S06, S07 & S20 API clients
11-
- Add M10, M11, M12, M13 AN OR43 in SDK
12-
133
## v1.11.1 - 2020-01-16
144
### Fixes
155
- Fix XML responses that may not be parsed correctly

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "mirakl/sdk-php",
2+
"name": "mirakl/sdk-php-shop",
33
"description": "Mirakl provides a PHP SDK that wraps the Mirakl REST APIs in a lightweight library. This enables you to develop a fast, flexible and custom integration for your existing e-commerce solution.",
44
"type": "library",
5-
"version": "1.12.1",
5+
"version": "1.11.1",
66
"license": "proprietary",
77
"authors": [
88
{

src/Mirakl/Core/Domain/DateFieldsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ trait DateFieldsTrait
1515
'created_date', 'debited_date', 'received_date', 'shipped_date', 'date_uploaded', 'date_deleted',
1616
'start_update_date', 'end_update_date', 'accounting_document_creation_date', 'customer_debited_date',
1717
'expiration_date', 'date_created_from', 'date_created_to', 'discount_start_date', 'discount_end_date',
18-
'updated_since', 'last_updated', 'creation_date', 'update_date', 'shipping_deadline', 'date_updated'
18+
'updated_since', 'last_updated', 'creation_date', 'update_date', 'shipping_deadline'
1919
];
2020
}

src/Mirakl/Core/Request/AbstractRequest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* @method int getMax()
1515
* @method int getOffset()
1616
* @method string getPageToken()
17-
* @method int getLimit()
1817
* @method bool getPaginate()
1918
* @method array getProductReferences()
2019
* @method \DateTime getStartDate()
@@ -189,10 +188,6 @@ public function getQueryParams()
189188
$params['page_token'] = $this->getPageToken();
190189
}
191190

192-
if ($this->getLimit()) {
193-
$params['limit'] = $this->getLimit();
194-
}
195-
196191
/** @see SortableTrait */
197192
if ($this->getSortBy()) {
198193
$params['sort'] = $this->getSortBy();

src/Mirakl/Core/Request/SeekableTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trait SeekableTrait
88
*
99
* @var int
1010
*/
11-
protected $limit;
11+
protected $limit = 10;
1212

1313
/**
1414
* Indicate whether or not this API should return the page associated to this token.

src/Mirakl/MCI/Common/Domain/Attribute.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* @method ValueTranslationCollection getLabelTranslations()
2323
* @method bool getRequired()
2424
* @method $this setRequired(bool $required)
25-
* @method string getRequirementLevel()
26-
* @method $this setRequirementLevel(bool $requirementLevel)
2725
* @method bool isRequired()
2826
* @method AttributeRoleCollection getRoles()
2927
* @method $this setRoles(AttributeRoleCollection $roles)

src/Mirakl/MCI/Common/Domain/AttributeRequirementLevel.php

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/Mirakl/MCI/Front/Client/FrontApiClient.php

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/Mirakl/MCI/Front/Domain/Attribute/AttributeImportResult.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/Mirakl/MCI/Front/Domain/Attribute/AttributeImportTracking.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)