Skip to content

Commit 0a5d020

Browse files
authored
Fixed attributes type in listing item endpoint (#190)
1 parent d99f40f commit 0a5d020

File tree

854 files changed

+1195
-858
lines changed

Some content is hidden

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

854 files changed

+1195
-858
lines changed

rector.php

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

55
use AmazonPHP\SellingPartner\Api\VendorOrdersApi\VendorDirectFulfillmentOrdersSDK;
66
use AmazonPHP\SellingPartner\Model\CatalogItem\Item;
7+
use AmazonPHP\SellingPartner\Model\ListingsItems\ListingsItemPutRequest;
78
use AmazonPHP\SellingPartner\Model\Messaging\GetSchemaResponse;
89
use AmazonPHP\SellingPartner\Model\Orders\Address;
910
use AmazonPHP\SellingPartner\Model\Uploads\UploadDestination;
@@ -63,6 +64,18 @@
6364
0,
6465
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())])
6566
),
67+
new AddParamTypeDeclaration(
68+
ListingsItemPutRequest::class,
69+
'setAttributes',
70+
0,
71+
new ArrayType(new MixedType(), new MixedType())
72+
),
73+
new AddParamTypeDeclaration(
74+
\AmazonPHP\SellingPartner\Model\ListingsItems\Item::class,
75+
'setAttributes',
76+
0,
77+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())])
78+
),
6679
new AddParamTypeDeclaration(
6780
GetSchemaResponse::class,
6881
'setPayload',

src/AmazonPHP/SellingPartner/Model/APlus/AplusPaginatedResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

src/AmazonPHP/SellingPartner/Model/APlus/AplusPaginatedResponseAllOf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

src/AmazonPHP/SellingPartner/Model/APlus/AplusResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

src/AmazonPHP/SellingPartner/Model/APlus/AsinBadge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

src/AmazonPHP/SellingPartner/Model/APlus/AsinMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

src/AmazonPHP/SellingPartner/Model/APlus/ColorType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

src/AmazonPHP/SellingPartner/Model/APlus/ContentBadge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

src/AmazonPHP/SellingPartner/Model/APlus/ContentDocument.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

src/AmazonPHP/SellingPartner/Model/APlus/ContentMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* The version of the OpenAPI document: 2020-11-01
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 5.2.0-SNAPSHOT
21+
* OpenAPI Generator version: 6.0.1-SNAPSHOT
2222
*/
2323

2424
/**

0 commit comments

Comments
 (0)