Skip to content

Commit 1307aae

Browse files
committed
Update client to specs
1 parent 9d21020 commit 1307aae

File tree

5 files changed

+44
-7
lines changed

5 files changed

+44
-7
lines changed

src/Model/CreateOfferRequest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public function getModelDefinition(): array
1818
{
1919
return [
2020
'ean' => [ 'model' => null, 'enum' => null, 'array' => false ],
21+
'economicOperatorId' => [ 'model' => null, 'enum' => null, 'array' => false ],
2122
'condition' => [ 'model' => Condition::class, 'enum' => null, 'array' => false ],
2223
'reference' => [ 'model' => null, 'enum' => null, 'array' => false ],
2324
'onHoldByRetailer' => [ 'model' => null, 'enum' => null, 'array' => false ],
@@ -34,6 +35,13 @@ public function getModelDefinition(): array
3435
*/
3536
public $ean;
3637

38+
/**
39+
* @var string An identifier referring to the Economic operator entity (manufacturer, authorized party, importer,
40+
* distributor or other natural person or legal entity for whom the obligations apply with regards to the
41+
* manufacturing, or making available on the market of the product in line with the applicable EU laws).
42+
*/
43+
public $economicOperatorId;
44+
3745
/**
3846
* @var Condition
3947
*/

src/Model/ProductListFiltersRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public function getModelDefinition(): array
1919
return [
2020
'searchTerm' => [ 'model' => null, 'enum' => null, 'array' => false ],
2121
'categoryId' => [ 'model' => null, 'enum' => null, 'array' => false ],
22-
'category' => [ 'model' => null, 'enum' => null, 'array' => false ],
2322
'search' => [ 'model' => null, 'enum' => null, 'array' => false ],
23+
'category' => [ 'model' => null, 'enum' => null, 'array' => false ],
2424
];
2525
}
2626

@@ -37,10 +37,10 @@ public function getModelDefinition(): array
3737
/**
3838
* @var string
3939
*/
40-
public $category;
40+
public $search;
4141

4242
/**
4343
* @var string
4444
*/
45-
public $search;
45+
public $category;
4646
}

src/Model/RetailerOffer.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function getModelDefinition(): array
2121
'ean' => [ 'model' => null, 'enum' => null, 'array' => false ],
2222
'reference' => [ 'model' => null, 'enum' => null, 'array' => false ],
2323
'onHoldByRetailer' => [ 'model' => null, 'enum' => null, 'array' => false ],
24+
'economicOperatorId' => [ 'model' => null, 'enum' => null, 'array' => false ],
2425
'unknownProductTitle' => [ 'model' => null, 'enum' => null, 'array' => false ],
2526
'pricing' => [ 'model' => Pricing::class, 'enum' => null, 'array' => false ],
2627
'stock' => [ 'model' => Stock::class, 'enum' => null, 'array' => false ],
@@ -56,6 +57,13 @@ public function getModelDefinition(): array
5657
*/
5758
public $onHoldByRetailer;
5859

60+
/**
61+
* @var string An identifier referring to the Economic operator entity (manufacturer, authorized party, importer,
62+
* distributor or other natural person or legal entity for whom the obligations apply with regards to the
63+
* manufacturing, or making available on the market of the product in line with the applicable EU laws).
64+
*/
65+
public $economicOperatorId;
66+
5967
/**
6068
* @var string In case the item is not known to bol.com you can use this field to identify this particular product.
6169
* Note: in case the product is known to bol.com, the unknown product title will not be stored.

src/Model/UpdateOfferRequest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,21 @@ class UpdateOfferRequest extends AbstractModel
1717
public function getModelDefinition(): array
1818
{
1919
return [
20+
'economicOperatorId' => [ 'model' => null, 'enum' => null, 'array' => false ],
2021
'reference' => [ 'model' => null, 'enum' => null, 'array' => false ],
2122
'onHoldByRetailer' => [ 'model' => null, 'enum' => null, 'array' => false ],
2223
'unknownProductTitle' => [ 'model' => null, 'enum' => null, 'array' => false ],
2324
'fulfilment' => [ 'model' => Fulfilment::class, 'enum' => null, 'array' => false ],
2425
];
2526
}
2627

28+
/**
29+
* @var string An identifier referring to the Economic operator entity (manufacturer, authorized party, importer,
30+
* distributor or other natural person or legal entity for whom the obligations apply with regards to the
31+
* manufacturing, or making available on the market of the product in line with the applicable EU laws).
32+
*/
33+
public $economicOperatorId;
34+
2735
/**
2836
* @var string A user-defined reference that helps you identify this particular offer when receiving data from us.
2937
* This element can optionally be left empty and has a maximum amount of 100 characters.

src/OpenApi/retailer.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4515,7 +4515,6 @@
45154515
"enum": [
45164516
"PROCESS_STATUS",
45174517
"SHIPMENT",
4518-
"OFFER",
45194518
"PRICE_STAR_BOUNDARY",
45204519
"COMPETING_OFFER"
45214520
]
@@ -4731,6 +4730,11 @@
47314730
],
47324731
"type": "object",
47334732
"properties": {
4733+
"economicOperatorId": {
4734+
"type": "string",
4735+
"description": "An identifier referring to the Economic operator entity (manufacturer, authorized party, importer, distributor or other natural person or legal entity for whom the obligations apply with regards to the manufacturing, or making available on the market of the product in line with the applicable EU laws).",
4736+
"example": "90bfddc5-a6d0-4986-9253-407b3a6850ca"
4737+
},
47344738
"reference": {
47354739
"maxLength": 100,
47364740
"minLength": 0,
@@ -5714,6 +5718,11 @@
57145718
"description": "The EAN number associated with this product. Note: in case an ISBN is provided, the ISBN will be replaced with the actual EAN belonging to this ISBN.",
57155719
"example": "0000007740404"
57165720
},
5721+
"economicOperatorId": {
5722+
"type": "string",
5723+
"description": "An identifier referring to the Economic operator entity (manufacturer, authorized party, importer, distributor or other natural person or legal entity for whom the obligations apply with regards to the manufacturing, or making available on the market of the product in line with the applicable EU laws).",
5724+
"example": "90bfddc5-a6d0-4986-9253-407b3a6850ca"
5725+
},
57175726
"condition": {
57185727
"$ref": "#/components/schemas/Condition"
57195728
},
@@ -6413,7 +6422,6 @@
64136422
"TEST",
64146423
"PROCESS_STATUS",
64156424
"SHIPMENT",
6416-
"OFFER",
64176425
"PRICE_STAR_BOUNDARY",
64186426
"COMPETING_OFFER"
64196427
]
@@ -8961,10 +8969,10 @@
89618969
"type": "string",
89628970
"writeOnly": true
89638971
},
8964-
"category": {
8972+
"search": {
89658973
"type": "string"
89668974
},
8967-
"search": {
8975+
"category": {
89688976
"type": "string"
89698977
}
89708978
}
@@ -9525,6 +9533,11 @@
95259533
"description": "This field specifies whether the retailer has temporarily suspended the listing of this offer on the bol.com website. When set to true, the offer becomes invisible to customers and is not available for purchase. The default setting, false, indicates that the offer is active and visible on the website. This feature is useful for managing inventory or making updates to the offer without permanently removing it from the site.",
95269534
"example": false
95279535
},
9536+
"economicOperatorId": {
9537+
"type": "string",
9538+
"description": "An identifier referring to the Economic operator entity (manufacturer, authorized party, importer, distributor or other natural person or legal entity for whom the obligations apply with regards to the manufacturing, or making available on the market of the product in line with the applicable EU laws).",
9539+
"example": "90bfddc5-a6d0-4986-9253-407b3a6850ca"
9540+
},
95289541
"unknownProductTitle": {
95299542
"type": "string",
95309543
"description": "In case the item is not known to bol.com you can use this field to identify this particular product. Note: in case the product is known to bol.com, the unknown product title will not be stored.",

0 commit comments

Comments
 (0)