Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Commit d6fb2af

Browse files
DatiswakenJannis Lambinus
andauthored
SLD-605: Add frt info (is_marketplace_deemed_supplier) (#107)
* SLD-605: Add frt info (is_marketplace_deemed_supplier) * SLD-604: Update changelog Co-authored-by: Jannis Lambinus <jannis.lambinus@real-digital.de>
1 parent f2e1533 commit d6fb2af

7 files changed

Lines changed: 47 additions & 4 deletions

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
All Notable changes to `Kaufland.de API SDK for PHP` will be documented in this file.
44

5+
## 1.47.0 - 2021-05-17
6+
7+
### Added
8+
Added the field `is_marketplace_deemed_supplier` to the following endpoints:
9+
- `/orders/seller/`
10+
- `/orders/{id_order}/`
11+
- `/order-units/seller/`
12+
- `/order-units/{id_order_unit}/`
13+
514
## 1.46.0 - 2021-04-03
615

716
### Added

src/Transfers/Constants.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ class Constants
5353
const TYPE_SI_VOLT = 'Si_Volt';
5454
const TYPE_SI_VOLUME_PERCENT = 'Si_VolumePercent';
5555
const TYPE_SI_WATT = 'Si_Watt';
56+
const TYPE_SI_KILOMETER_PER_HOUR = 'Si_KilometerPerHour';
57+
const TYPE_SI_WATT_PER_HOUR = 'Si_WattPerHour';
5658
const STATUS_OPENED = 'opened';
5759
const STATUS_BUYER_CLOSED = 'buyer_closed';
5860
const STATUS_SELLER_CLOSED = 'seller_closed';
@@ -123,6 +125,7 @@ class Constants
123125
const MIME_TYPE_APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
124126
const MIME_TYPE_APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEETAPPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheetapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
125127
const MIME_TYPE_APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
128+
const MIME_TYPE_APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENTAPPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = 'application/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication/vnd.openxmlformats-officedocument.wordprocessingml.document';
126129
const MIME_TYPE_APPLICATION_MSWORD = 'application/msword';
127130
const MIME_TYPE_AUDIO_WAV = 'audio/wav';
128131
const MIME_TYPE_AUDIO_X_WAV = 'audio/x-wav';
@@ -213,7 +216,6 @@ class Constants
213216
const CARRIER_CODE_CORREOS = 'Correos';
214217
const CARRIER_CODE_CZECH_POST = 'Czech Post';
215218
const CARRIER_CODE_DACHSER = 'Dachser';
216-
const CARRIER_CODE_MARKTANLIEFERUNG = 'Marktanlieferung';
217219
const CARRIER_CODE_DEUTSCHE_POST = 'Deutsche Post';
218220
const CARRIER_CODE_DHL = 'DHL';
219221
const CARRIER_CODE_DHL_2_MH = 'DHL 2 MH';
@@ -223,8 +225,8 @@ class Constants
223225
const CARRIER_CODE_DHL_HONG_KONG = 'DHL Hong Kong';
224226
const CARRIER_CODE_DPD = 'DPD';
225227
const CARRIER_CODE_DPD_FRANCE = 'DPD France';
228+
const CARRIER_CODE_DPD_ROMANIA = 'DPD Romania';
226229
const CARRIER_CODE_DPD_UK = 'DPD UK';
227-
const CARRIER_CODE_DPD_RO = 'DPD Romania';
228230
const CARRIER_CODE_DTL = 'dtl';
229231
const CARRIER_CODE_DSV = 'DSV';
230232
const CARRIER_CODE_EMONS = 'Emons';
@@ -249,8 +251,8 @@ class Constants
249251
const CARRIER_CODE_RHENUS = 'Rhenus';
250252
const CARRIER_CODE_SCHENKER = 'Schenker';
251253
const CARRIER_CODE_SEUR = 'Seur';
252-
const CARRIER_CODE_SLOVAKIA_POST = 'Slovakia Post';
253254
const CARRIER_CODE_SFC_SERVICE = 'SFC Service';
255+
const CARRIER_CODE_SLOVAKIA_POST = 'Slovakia Post';
254256
const CARRIER_CODE_SPEDITION_GUETTLER = 'Spedition Guettler';
255257
const CARRIER_CODE_TNT = 'TNT';
256258
const CARRIER_CODE_TRANS_FM = 'Trans FM';
@@ -259,7 +261,7 @@ class Constants
259261
const CARRIER_CODE_UPS = 'UPS';
260262
const CARRIER_CODE_WANB_EXPRESS = 'Wanb Express';
261263
const CARRIER_CODE_WINIT = 'Winit';
262-
const CARRIER_CODE_WNDIRECT = 'WnDirect';
264+
const CARRIER_CODE_WN_DIRECT = 'WnDirect';
263265
const CARRIER_CODE_YANWEN = 'Yanwen';
264266
const CARRIER_CODE_YDH = 'YDH';
265267
const CARRIER_CODE_YUN_EXPRESS = 'Yun Express';
@@ -408,6 +410,7 @@ class Constants
408410
const LOCATION_EE = 'EE';
409411
const LOCATION_EG = 'EG';
410412
const LOCATION_EH = 'EH';
413+
const LOCATION_EN = 'EN';
411414
const LOCATION_ER = 'ER';
412415
const LOCATION_ES = 'ES';
413416
const LOCATION_ET = 'ET';
@@ -673,6 +676,7 @@ class Constants
673676
const COUNTRY_EE = 'EE';
674677
const COUNTRY_EG = 'EG';
675678
const COUNTRY_EH = 'EH';
679+
const COUNTRY_EN = 'EN';
676680
const COUNTRY_ER = 'ER';
677681
const COUNTRY_ES = 'ES';
678682
const COUNTRY_ET = 'ET';

src/Transfers/OrderSellerTransfer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*
1010
* @property string $id_order
1111
* @property string $ts_created
12+
* @property boolean $is_marketplace_deemed_supplier
1213
* @property int $seller_units_count
1314
* @property string $ts_units_updated
1415
*
@@ -32,6 +33,11 @@ public function getProperties()
3233
'embedded' => false,
3334
'is_multiple' => false,
3435
),
36+
'is_marketplace_deemed_supplier' =>
37+
array (
38+
'embedded' => false,
39+
'is_multiple' => false,
40+
),
3541
'seller_units_count' =>
3642
array (
3743
'embedded' => false,

src/Transfers/OrderTransfer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*
1010
* @property string $id_order
1111
* @property string $ts_created
12+
* @property boolean $is_marketplace_deemed_supplier
1213
*
1314
*
1415
*/
@@ -30,6 +31,11 @@ public function getProperties()
3031
'embedded' => false,
3132
'is_multiple' => false,
3233
),
34+
'is_marketplace_deemed_supplier' =>
35+
array (
36+
'embedded' => false,
37+
'is_multiple' => false,
38+
),
3339
);
3440
return $properties;
3541
}

src/Transfers/OrderUnitTransfer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* @property int $id_order_unit
1111
* @property string $id_order
1212
* @property string $ts_created
13+
* @property boolean $is_marketplace_deemed_supplier
1314
* @property string $ts_updated
1415
* @property string $status
1516
* @property int $price
@@ -58,6 +59,11 @@ public function getProperties()
5859
'embedded' => false,
5960
'is_multiple' => false,
6061
),
62+
'is_marketplace_deemed_supplier' =>
63+
array (
64+
'embedded' => false,
65+
'is_multiple' => false,
66+
),
6167
'ts_updated' =>
6268
array (
6369
'embedded' => false,

src/Transfers/OrderUnitWithEmbeddedTransfer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* @property int $id_order_unit
1111
* @property string $id_order
1212
* @property string $ts_created
13+
* @property boolean $is_marketplace_deemed_supplier
1314
* @property string $ts_updated
1415
* @property string $status
1516
* @property int $price
@@ -61,6 +62,11 @@ public function getProperties()
6162
'embedded' => false,
6263
'is_multiple' => false,
6364
),
65+
'is_marketplace_deemed_supplier' =>
66+
array (
67+
'embedded' => false,
68+
'is_multiple' => false,
69+
),
6470
'ts_updated' =>
6571
array (
6672
'embedded' => false,

src/Transfers/OrderWithEmbeddedTransfer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*
1010
* @property string $id_order
1111
* @property string $ts_created
12+
* @property boolean $is_marketplace_deemed_supplier
1213
*
1314
* @property AddressTransfer $billing_address
1415
* @property BuyerTransfer $buyer
@@ -35,6 +36,11 @@ public function getProperties()
3536
'embedded' => false,
3637
'is_multiple' => false,
3738
),
39+
'is_marketplace_deemed_supplier' =>
40+
array (
41+
'embedded' => false,
42+
'is_multiple' => false,
43+
),
3844
'billing_address' =>
3945
array (
4046
'embedded' => true,

0 commit comments

Comments
 (0)