diff --git a/resources/models/raw/seller/fba-inbound/v0.json b/resources/models/raw/seller/fba-inbound/v0.json index a798a1b13..55feca86a 100644 --- a/resources/models/raw/seller/fba-inbound/v0.json +++ b/resources/models/raw/seller/fba-inbound/v0.json @@ -3229,7 +3229,7 @@ { "name": "PackageLabelsToPrint", "in": "query", - "description": "A list of identifiers that specify packages for which you want package labels printed.\n\nMust match CartonId values previously passed using the FBA Inbound Shipment Carton Information Feed. If not, the operation returns the IncorrectPackageIdentifier error code.", + "description": "A list of identifiers that specify packages for which you want package labels printed.\n\nIf you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then `PackageLabelsToPrint` must match the `CartonId` values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then `PackageLabelsToPrint` must match the `boxID` values from the [`listShipmentBoxes`](https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v2024-03-20-reference#listshipmentboxes) response. If these values do not match as required, the operation returns the `IncorrectPackageIdentifier` error code.", "style": "form", "explode": false, "schema": { diff --git a/resources/models/raw/seller/fba-inbound/v2024-03-20.json b/resources/models/raw/seller/fba-inbound/v2024-03-20.json index 945bbb23f..606cb5e00 100644 --- a/resources/models/raw/seller/fba-inbound/v2024-03-20.json +++ b/resources/models/raw/seller/fba-inbound/v2024-03-20.json @@ -24,7 +24,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides a list of inbound plans with minimal information.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a list of inbound plans with minimal information.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listInboundPlans", "parameters": [ { @@ -447,7 +447,7 @@ "tags": [ "fbaInbound" ], - "description": "Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "createInboundPlan", "requestBody": { "description": "The body of the request to `createInboundPlan`.", @@ -742,7 +742,7 @@ "tags": [ "fbaInbound" ], - "description": "Fetches the top level information about an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Fetches the top level information about an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getInboundPlan", "parameters": [ { @@ -1006,7 +1006,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides a paginated list of box packages in an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of box packages in an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listInboundPlanBoxes", "parameters": [ { @@ -1328,7 +1328,7 @@ "tags": [ "fbaInbound" ], - "description": "Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "cancelInboundPlan", "parameters": [ { @@ -1570,7 +1570,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides a paginated list of item packages in an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of item packages in an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listInboundPlanItems", "parameters": [ { @@ -1868,7 +1868,7 @@ "tags": [ "fbaInbound" ], - "description": "Updates the name of an existing inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Updates the name of an existing inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateInboundPlanName", "parameters": [ { @@ -2123,7 +2123,7 @@ "tags": [ "fbaInbound" ], - "description": "Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listPackingGroupBoxes", "parameters": [ { @@ -2463,7 +2463,7 @@ "tags": [ "fbaInbound" ], - "description": "Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listPackingGroupItems", "parameters": [ { @@ -2777,7 +2777,7 @@ "tags": [ "fbaInbound" ], - "description": "Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "setPackingInformation", "parameters": [ { @@ -3103,7 +3103,7 @@ "tags": [ "fbaInbound" ], - "description": "Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listPackingOptions", "parameters": [ { @@ -3416,7 +3416,7 @@ "tags": [ "fbaInbound" ], - "description": "Generates available packing options for the inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generates available packing options for the inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generatePackingOptions", "parameters": [ { @@ -3658,7 +3658,7 @@ "tags": [ "fbaInbound" ], - "description": "Confirms the packing option for an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms the packing option for an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmPackingOption", "parameters": [ { @@ -3918,7 +3918,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listInboundPlanPallets", "parameters": [ { @@ -4212,7 +4212,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listPlacementOptions", "parameters": [ { @@ -4519,7 +4519,7 @@ "tags": [ "fbaInbound" ], - "description": "Generates placement options for the inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generates placement options for the inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generatePlacementOptions", "parameters": [ { @@ -4811,7 +4811,7 @@ "tags": [ "fbaInbound" ], - "description": "Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmPlacementOption", "parameters": [ { @@ -5071,7 +5071,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getShipment", "parameters": [ { @@ -5421,7 +5421,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides a paginated list of box packages in a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of box packages in a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listShipmentBoxes", "parameters": [ { @@ -5761,7 +5761,7 @@ "tags": [ "fbaInbound" ], - "description": "Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listShipmentContentUpdatePreviews", "parameters": [ { @@ -5857,7 +5857,7 @@ "contentUpdatePreviews": [ { "contentUpdatePreviewId": "cu1234abcd-1234-abcd-5678-1234abcd5678", - "expiration": "2024-01-01", + "expiration": "2024-01-01T01:01:00.000Z", "transportationOption": { "shipmentId": "sh1234abcd-1234-abcd-5678-1234abcd5678", "transportationOptionId": "to1234abcd-1234-abcd-5678-1234abcd5678", @@ -6124,7 +6124,7 @@ "tags": [ "fbaInbound" ], - "description": "Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generateShipmentContentUpdatePreviews", "parameters": [ { @@ -6478,7 +6478,7 @@ "tags": [ "fbaInbound" ], - "description": "Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getShipmentContentUpdatePreview", "parameters": [ { @@ -6560,7 +6560,7 @@ }, "response": { "contentUpdatePreviewId": "cu1234abcd-1234-abcd-5678-1234abcd5678", - "expiration": "2024-01-01", + "expiration": "2024-01-01T01:01:00.000Z", "transportationOption": { "shipmentId": "sh1234abcd-1234-abcd-5678-1234abcd5678", "transportationOptionId": "to1234abcd-1234-abcd-5678-1234abcd5678", @@ -6579,8 +6579,8 @@ "expiration": "2024-01-01T00:00:00.000Z" }, "carrierAppointment": { - "startTime": "2024-01-01T00:00Z", - "endTime": "2024-01-01T00:00Z" + "startTime": "2024-01-01T00:00:00.000Z", + "endTime": "2024-01-01T00:00:00.000Z" }, "preconditions": [ "CONFIRMED_DELIVERY_WINDOW" @@ -6821,7 +6821,7 @@ "tags": [ "fbaInbound" ], - "description": "Confirm a shipment content update preview and accept the changes in transportation cost.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirm a shipment content update preview and accept the changes in transportation cost.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmShipmentContentUpdatePreview", "parameters": [ { @@ -7099,7 +7099,7 @@ "tags": [ "fbaInbound" ], - "description": "Provide delivery challan document for PCP transportation in IN marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provide delivery challan document for PCP transportation in IN marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getDeliveryChallanDocument", "parameters": [ { @@ -7363,7 +7363,7 @@ "tags": [ "fbaInbound" ], - "description": "Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listDeliveryWindowOptions", "parameters": [ { @@ -7665,7 +7665,7 @@ "tags": [ "fbaInbound" ], - "description": "Generates available delivery window options for a given shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generates available delivery window options for a given shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generateDeliveryWindowOptions", "parameters": [ { @@ -7925,7 +7925,7 @@ "tags": [ "fbaInbound" ], - "description": "Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmDeliveryWindowOptions", "parameters": [ { @@ -8203,7 +8203,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides a paginated list of item packages in a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of item packages in a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listShipmentItems", "parameters": [ { @@ -8519,7 +8519,7 @@ "tags": [ "fbaInbound" ], - "description": "Updates the name of an existing shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Updates the name of an existing shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateShipmentName", "parameters": [ { @@ -8792,7 +8792,7 @@ "tags": [ "fbaInbound" ], - "description": "Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listShipmentPallets", "parameters": [ { @@ -9104,7 +9104,7 @@ "tags": [ "fbaInbound" ], - "description": "Cancels a self-ship appointment slot against a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Cancels a self-ship appointment slot against a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "cancelSelfShipAppointment", "parameters": [ { @@ -9386,7 +9386,7 @@ "tags": [ "fbaInbound" ], - "description": "Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getSelfShipAppointmentSlots", "parameters": [ { @@ -9685,7 +9685,7 @@ "tags": [ "fbaInbound" ], - "description": "Initiates the process of generating the appointment slots list.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Initiates the process of generating the appointment slots list.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generateSelfShipAppointmentSlots", "parameters": [ { @@ -9969,7 +9969,7 @@ "tags": [ "fbaInbound" ], - "description": "Confirms or reschedules a self-ship appointment slot against a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms or reschedules a self-ship appointment slot against a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "scheduleSelfShipAppointment", "parameters": [ { @@ -10276,7 +10276,7 @@ "tags": [ "fbaInbound" ], - "description": "Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateShipmentSourceAddress", "parameters": [ { @@ -10580,7 +10580,7 @@ "tags": [ "fbaInbound" ], - "description": "Updates a shipment's tracking details.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Updates a shipment's tracking details.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateShipmentTrackingDetails", "parameters": [ { @@ -10892,7 +10892,7 @@ "tags": [ "fbaInbound" ], - "description": "Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listTransportationOptions", "parameters": [ { @@ -11228,7 +11228,7 @@ "tags": [ "fbaInbound" ], - "description": "Generates available transportation options for a given placement option.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generates available transportation options for a given placement option.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generateTransportationOptions", "parameters": [ { @@ -11564,7 +11564,7 @@ "tags": [ "fbaInbound" ], - "description": "Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmTransportationOptions", "parameters": [ { @@ -11848,13 +11848,13 @@ "tags": [ "fbaInbound" ], - "description": "List the inbound compliance details for MSKUs in a given marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "List the inbound compliance details for MSKUs in a given marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listItemComplianceDetails", "parameters": [ { "name": "mskus", "in": "query", - "description": "List of merchant SKUs - a merchant-supplied identifier for a specific SKU.", + "description": "A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.", "required": true, "style": "form", "explode": true, @@ -11872,10 +11872,10 @@ { "name": "marketplaceId", "in": "query", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.", + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).", "required": true, "schema": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string" } @@ -12009,7 +12009,7 @@ "errors": [ { "code": "BadRequest", - "message": "The requested MSKU is not valid for the specified marketplace." + "message": "The requested MSKU is not valid." } ] } @@ -12155,16 +12155,16 @@ "tags": [ "fbaInbound" ], - "description": "Update compliance details for list of MSKUs. The details provided here are only used for the IN marketplace compliance validation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateItemComplianceDetails", "parameters": [ { "name": "marketplaceId", "in": "query", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.", + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).", "required": true, "schema": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string" } @@ -12446,7 +12446,7 @@ "tags": [ "fbaInbound" ], - "description": "For a given marketplace - creates labels for a list of mskus.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "For a given marketplace - creates labels for a list of MSKUs.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "createMarketplaceItemLabels", "requestBody": { "description": "The body of the request to `createMarketplaceItemLabels`.", @@ -12604,7 +12604,7 @@ "errors": [ { "code": "BadRequest", - "message": "The requested MSKU is not valid for the specified marketplace." + "message": "The requested MSKU is not valid." } ] } @@ -12748,30 +12748,47 @@ "x-codegen-request-body-name": "body" } }, - "/inbound/fba/2024-03-20/operations/{operationId}": { + "/inbound/fba/2024-03-20/items/prepDetails": { "get": { "tags": [ "fbaInbound" ], - "description": "Gets the status of the processing of an asynchronous API call.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", - "operationId": "getInboundOperationStatus", + "description": "Get preparation details for a list of MSKUs in a specified marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", + "operationId": "listPrepDetails", "parameters": [ { - "name": "operationId", - "in": "path", - "description": "Identifier of an asynchronous operation.", + "name": "marketplaceId", + "in": "query", + "description": "The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).", "required": true, "schema": { - "maxLength": 38, - "minLength": 36, - "pattern": "^[a-zA-Z0-9-]*$", + "maxLength": 20, + "minLength": 1, "type": "string" } + }, + { + "name": "mskus", + "in": "query", + "description": "A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.", + "required": true, + "style": "form", + "explode": true, + "schema": { + "maxItems": 100, + "minItems": 1, + "type": "array", + "items": { + "maxLength": 40, + "minLength": 1, + "type": "string" + } + } } ], "responses": { "200": { - "description": "GetInboundOperationStatus 200 response", + "description": "ListPrepDetails 200 response", "headers": { "x-amzn-RequestId": { "description": "Unique request reference identifier.", @@ -12789,7 +12806,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InboundOperationStatus" + "$ref": "#/components/schemas/ListPrepDetailsResponse" } } }, @@ -12798,21 +12815,38 @@ { "request": { "parameters": { - "operationId": { - "value": "1234abcd-1234-abcd-5678-1234abcd5678" + "marketplaceId": { + "value": "ATVPDKIKX0DER" + }, + "mskus": { + "value": [ + "msku1", + "msku2" + ] } } }, "response": { - "operationId": "a440f2ff-cb08-416a-99e1-67a04eee88f6", - "operation": "operationName", - "operationStatus": "SUCCESS", - "operationProblems": [ + "mskuPrepDetails": [ { - "code": "DimensionMismatch", - "message": "The dimension does not match what is expected.", - "details": "", - "severity": "WARNING" + "msku": "msku1", + "prepCategory": "TEXTILE", + "prepTypes": [ + "ITEM_LABELING", + "ITEM_POLYBAGGING" + ], + "prepOwnerConstraint": "AMAZON_ONLY", + "labelOwnerConstraint": "AMAZON_ONLY", + "allOwnersConstraint": "MUST_MATCH" + }, + { + "msku": "msku2", + "prepCategory": "FRAGILE", + "prepTypes": [ + "ITEM_LABELING", + "ITEM_BUBBLEWRAP" + ], + "allOwnersConstraint": "MUST_MATCH" } ] } @@ -12848,8 +12882,13 @@ { "request": { "parameters": { - "operationId": { - "value": "bad4abcd-1234-abcd-5678-1234abcd5678" + "marketplaceId": { + "value": "ATVPDKIKX0DER" + }, + "mskus": { + "value": [ + "badmsku" + ] } } }, @@ -12857,7 +12896,7 @@ "errors": [ { "code": "BadRequest", - "message": "The operationId is malformed." + "message": "The requested MSKU is not valid." } ] } @@ -12998,57 +13037,571 @@ } } } - } - } - }, - "components": { - "schemas": { - "Address": { - "required": [ - "addressLine1", - "city", - "countryCode", - "name", - "postalCode" + }, + "post": { + "tags": [ + "fbaInbound" ], - "type": "object", - "properties": { - "addressLine1": { - "maxLength": 180, - "minLength": 1, - "type": "string", - "description": "Street address information." + "description": "Set the preparation details for a list of MSKUs in a specified marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", + "operationId": "setPrepDetails", + "requestBody": { + "description": "The body of the request to `setPrepDetails`.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetPrepDetailsRequest" + } + } }, - "addressLine2": { - "maxLength": 60, - "minLength": 1, - "type": "string", - "description": "Additional street address information." + "required": true + }, + "responses": { + "202": { + "description": "SetPrepDetails 202 response", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetPrepDetailsResponse" + } + } + }, + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "mskuPrepDetails": [ + { + "msku": "msku", + "prepCategory": "TEXTILE", + "prepTypes": [ + "ITEM_LABELING", + "ITEM_POLYBAGGING" + ] + } + ] + } + } + } + }, + "response": { + "operationId": "1234abcd-1234-abcd-5678-1234abcd5678" + } + } + ] + } }, - "city": { - "maxLength": 30, - "minLength": 1, - "type": "string", - "description": "The city." + "400": { + "description": "Request has missing or invalid parameters and cannot be parsed.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + }, + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "mskuPrepDetails": [ + { + "msku": "badSku", + "prepCategory": "TEXTILE", + "prepTypes": [ + "ITEM_LABELING", + "ITEM_POLYBAGGING" + ] + } + ] + } + } + } + }, + "response": { + "errors": [ + { + "code": "BadRequest", + "message": "The requested MSKU is not valid." + } + ] + } + } + ] + } }, - "companyName": { - "maxLength": 50, - "minLength": 1, - "type": "string", - "description": "The name of the business." + "404": { + "description": "The resource specified does not exist.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } }, - "countryCode": { - "maxLength": 2, - "minLength": 2, - "pattern": "^[A-Z]{2}$", - "type": "string", - "description": "The country code in two-character ISO 3166-1 alpha-2 format." + "500": { + "description": "An unexpected condition occurred that prevented the server from fulfilling the request.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } }, - "email": { - "maxLength": 1024, - "minLength": 1, - "type": "string", - "description": "The email address." + "403": { + "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "413": { + "description": "The request size exceeded the maximum accepted size.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "415": { + "description": "The request payload is in an unsupported format.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "429": { + "description": "The frequency of requests was greater than allowed.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "503": { + "description": "Temporary overloading or maintenance of the server.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + } + }, + "x-codegen-request-body-name": "body" + } + }, + "/inbound/fba/2024-03-20/operations/{operationId}": { + "get": { + "tags": [ + "fbaInbound" + ], + "description": "Gets the status of the processing of an asynchronous API call.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", + "operationId": "getInboundOperationStatus", + "parameters": [ + { + "name": "operationId", + "in": "path", + "description": "Identifier of an asynchronous operation.", + "required": true, + "schema": { + "maxLength": 38, + "minLength": 36, + "pattern": "^[a-zA-Z0-9-]*$", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "GetInboundOperationStatus 200 response", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InboundOperationStatus" + } + } + }, + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "operationId": { + "value": "1234abcd-1234-abcd-5678-1234abcd5678" + } + } + }, + "response": { + "operationId": "a440f2ff-cb08-416a-99e1-67a04eee88f6", + "operation": "operationName", + "operationStatus": "SUCCESS", + "operationProblems": [ + { + "code": "DimensionMismatch", + "message": "The dimension does not match what is expected.", + "details": "", + "severity": "WARNING" + } + ] + } + } + ] + } + }, + "400": { + "description": "Request has missing or invalid parameters and cannot be parsed.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + }, + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "operationId": { + "value": "bad4abcd-1234-abcd-5678-1234abcd5678" + } + } + }, + "response": { + "errors": [ + { + "code": "BadRequest", + "message": "The operationId is malformed." + } + ] + } + } + ] + } + }, + "404": { + "description": "The resource specified does not exist.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "500": { + "description": "An unexpected condition occurred that prevented the server from fulfilling the request.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "403": { + "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "413": { + "description": "The request size exceeded the maximum accepted size.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "415": { + "description": "The request payload is in an unsupported format.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "429": { + "description": "The frequency of requests was greater than allowed.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "503": { + "description": "Temporary overloading or maintenance of the server.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Address": { + "required": [ + "addressLine1", + "city", + "countryCode", + "name", + "postalCode" + ], + "type": "object", + "properties": { + "addressLine1": { + "maxLength": 180, + "minLength": 1, + "type": "string", + "description": "Street address information." + }, + "addressLine2": { + "maxLength": 60, + "minLength": 1, + "type": "string", + "description": "Additional street address information." + }, + "city": { + "maxLength": 30, + "minLength": 1, + "type": "string", + "description": "The city." + }, + "companyName": { + "maxLength": 50, + "minLength": 1, + "type": "string", + "description": "The name of the business." + }, + "countryCode": { + "maxLength": 2, + "minLength": 2, + "pattern": "^[A-Z]{2}$", + "type": "string", + "description": "The country code in two-character ISO 3166-1 alpha-2 format." + }, + "email": { + "maxLength": 1024, + "minLength": 1, + "type": "string", + "description": "The email address." }, "name": { "maxLength": 50, @@ -13176,6 +13729,19 @@ "stateOrProvinceCode": "ON" } }, + "AllOwnersConstraint": { + "type": "string", + "description": "A constraint that applies to all owners. If no constraint is specified, defer to any individual owner constraints.", + "enum": [ + "MUST_MATCH" + ], + "x-docgen-enum-table-extension": [ + { + "value": "MUST_MATCH", + "description": "All owners must match." + } + ] + }, "AppointmentSlot": { "required": [ "slotId", @@ -13288,7 +13854,7 @@ }, { "value": "BARCODE_2D", - "description": "Box contents information is provided by a barcode on the shipment. For more information, see Using 2D barcodes for box content information on Seller Central." + "description": "Box contents information is provided by a barcode on the shipment. For more information, refer to [Using 2D barcodes for box content information](https://sellercentral.amazon.com/help/hub/reference/GJWALJCN6JKWJX5A) on Seller Central." } ] }, @@ -13326,7 +13892,6 @@ }, "description": "Input information for a given box.", "example": { - "boxId": "FBA10ABC0YY100001", "contentInformationSource": "BOX_CONTENT_PROVIDED", "dimensions": { "height": 5, @@ -13667,9 +14232,9 @@ "description": "Identifier of a content update preview." }, "expiration": { - "pattern": "^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", "type": "string", - "description": "The date in ISO 8601 format for when the content update expires." + "description": "The time at which the content update expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "format": "date-time" }, "requestedUpdates": { "$ref": "#/components/schemas/RequestedUpdates" @@ -13694,10 +14259,10 @@ "type": "array", "description": "Marketplaces where the items need to be shipped to. Currently only one marketplace can be selected in this request.", "items": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values." + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." } }, "items": { @@ -13721,11 +14286,6 @@ }, "description": "The `createInboundPlan` request.", "example": { - "contactInformation": { - "email": "email@email.com", - "name": "name", - "phoneNumber": "1234567890" - }, "destinationMarketplaces": [ "ATVPDKIKX0DER" ], @@ -13798,19 +14358,20 @@ "localeCode": { "pattern": "^[a-z]{2}_[A-Z]{2}$", "type": "string", - "description": "The locale code constructed from ISO 639 language code and ISO 3166-1 alpha-2 standard of country codes separated by an underscore character." + "description": "The locale code constructed from ISO 639 language code and ISO 3166-1 alpha-2 standard of country codes separated by an underscore character.", + "default": "en_US" }, "marketplaceId": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values." + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." }, "mskuQuantities": { "maxItems": 100, "minItems": 1, "type": "array", - "description": "Represents the quantity of an msku to print item labels for.", + "description": "Represents the quantity of an MSKU to print item labels for.", "items": { "$ref": "#/components/schemas/MskuQuantity" } @@ -13875,7 +14436,7 @@ "description": "ISO 4217 standard of a currency code." } }, - "description": "Currency definition." + "description": "The type and amount of currency." }, "CustomPlacementInput": { "required": [ @@ -13953,17 +14514,17 @@ }, "endDate": { "type": "string", - "description": "The timestamp at which this delivery window option ends. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this delivery window option ends. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.", "format": "date-time" }, "startDate": { "type": "string", - "description": "The timestamp at which this delivery window option starts. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this delivery window option starts. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.", "format": "date-time" }, "validUntil": { "type": "string", - "description": "The timestamp at which this window delivery option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this window delivery option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.", "format": "date-time" } }, @@ -14021,11 +14582,11 @@ "properties": { "downloadType": { "type": "string", - "description": "The type of download. Can be `URL`." + "description": "The type of download. Possible values: `URL`." }, "expiration": { "type": "string", - "description": "The timestamp of expiration of the URI. This is in ISO 8601 datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The URI's expiration time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", "format": "date-time" }, "uri": { @@ -14094,7 +14655,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Freight class. Can be: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`." + "description": "Freight class.\n\nPossible values: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`." } }, "description": "Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.", @@ -14143,7 +14704,7 @@ "properties": { "customPlacement": { "type": "array", - "description": "Custom placement options to be added to the plan.", + "description": "Custom placement options you want to add to the plan. This is only used for the India (IN - A21TJRUUN4KGV) marketplace.", "items": { "$ref": "#/components/schemas/CustomPlacementInput" } @@ -14189,12 +14750,12 @@ "properties": { "desiredEndDate": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The desired end date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.", "format": "date-time" }, "desiredStartDate": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The desired start date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.", "format": "date-time" } }, @@ -14459,7 +15020,7 @@ "properties": { "createdAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime with pattern `yyyy-MM-ddTHH:mm:ssZ`.", "format": "date-time" }, "inboundPlanId": { @@ -14471,17 +15032,17 @@ }, "lastUpdatedAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.", "format": "date-time" }, "marketplaceIds": { "type": "array", - "description": "Marketplace IDs.", + "description": "A list of marketplace IDs.", "items": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values." + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." } }, "name": { @@ -14504,7 +15065,7 @@ }, "shipments": { "type": "array", - "description": "Shipment IDs for the inbound plan. This property will be populated when it has been generated via the corresponding operation. If there is a chosen placement option, only shipments for that option will be returned. If there are confirmed shipments, only those shipments will be returned. Query the shipment for more details.", + "description": "A list of shipment IDs for the inbound plan. This property is populated when it has been generated with the `confirmPlacementOptions` operation. Only shipments from the chosen placement option are returned. Query the shipment for more details.", "items": { "$ref": "#/components/schemas/ShipmentSummary" } @@ -14516,16 +15077,11 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, 'ERRORED'." + "description": "Current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`." } }, "description": "Inbound plan containing details of the inbound workflow.", "example": { - "contactInformation": { - "email": "email@email.com", - "name": "name", - "phoneNumber": "1234567890" - }, "createdAt": "2024-03-20T12:01:00Z", "inboundPlanId": "wf1234abcd-1234-abcd-5678-1234abcd5678", "lastUpdatedAt": "2024-03-28T13:15:30Z", @@ -14565,7 +15121,7 @@ "properties": { "createdAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.", "format": "date-time" }, "inboundPlanId": { @@ -14577,17 +15133,17 @@ }, "lastUpdatedAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.", "format": "date-time" }, "marketplaceIds": { "type": "array", - "description": "Marketplace IDs.", + "description": "A list of marketplace IDs.", "items": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values." + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." } }, "name": { @@ -14601,16 +15157,11 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, 'ERRORED'." + "description": "The current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`." } }, "description": "A light-weight inbound plan.", "example": { - "contactInformation": { - "email": "email@email.com", - "name": "name", - "phoneNumber": "1234567890" - }, "createdAt": "2023-03-08T13:15:30Z", "inboundPlanId": "wf1234abcd-1234-abcd-5678-1234abcd5678", "lastUpdatedAt": "2023-03-08T13:15:30Z", @@ -14652,13 +15203,13 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Target of the incentive. Can be 'Placement Services' or 'Fulfillment Fee Discount'." + "description": "Target of the incentive. Possible values: 'Placement Services', 'Fulfillment Fee Discount'." }, "type": { "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Type of incentive. Can be: `FEE`, `DISCOUNT`." + "description": "Type of incentive. Possible values: `FEE`, `DISCOUNT`." }, "value": { "$ref": "#/components/schemas/Currency" @@ -14686,7 +15237,7 @@ "expiration": { "pattern": "^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", "type": "string", - "description": "The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box." + "description": "The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern`YYYY-MM-DD`. The same MSKU with different expiration dates cannot go into the same box." }, "fnsku": { "maxLength": 10, @@ -14710,7 +15261,7 @@ "maxLength": 40, "minLength": 1, "type": "string", - "description": "The merchant defined SKU ID." + "description": "The merchant SKU, a merchant-supplied identifier of a specific SKU." }, "prepInstructions": { "type": "array", @@ -14740,7 +15291,7 @@ "expiration": { "pattern": "^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", "type": "string", - "description": "The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box." + "description": "The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `YYYY-MM-DD`. Items with the same MSKU but different expiration dates cannot go into the same box." }, "labelOwner": { "$ref": "#/components/schemas/LabelOwner" @@ -14755,7 +15306,7 @@ "maxLength": 40, "minLength": 1, "type": "string", - "description": "Merchant SKU." + "description": "The merchant SKU, a merchant-supplied identifier of a specific SKU." }, "prepOwner": { "$ref": "#/components/schemas/PrepOwner" @@ -14764,7 +15315,7 @@ "maximum": 10000, "minimum": 1, "type": "integer", - "description": "The number of units of the specified msku that will be shipped." + "description": "The number of units of the specified MSKU that will be shipped." } }, "description": "Defines an item's input parameters.", @@ -15064,6 +15615,22 @@ }, "description": "The `listPlacementOptions` response." }, + "ListPrepDetailsResponse": { + "required": [ + "mskuPrepDetails" + ], + "type": "object", + "properties": { + "mskuPrepDetails": { + "type": "array", + "description": "A list of MSKUs and related prep details.", + "items": { + "$ref": "#/components/schemas/MskuPrepDetail" + } + } + }, + "description": "The response to the `listPrepDetails` operation." + }, "ListShipmentBoxesResponse": { "required": [ "boxes" @@ -15214,6 +15781,76 @@ ] } }, + "MskuPrepDetail": { + "required": [ + "msku", + "prepCategory", + "prepTypes" + ], + "type": "object", + "properties": { + "allOwnersConstraint": { + "$ref": "#/components/schemas/AllOwnersConstraint" + }, + "labelOwnerConstraint": { + "$ref": "#/components/schemas/OwnerConstraint" + }, + "msku": { + "maxLength": 40, + "minLength": 1, + "type": "string", + "description": "The merchant SKU, a merchant-supplied identifier for a specific SKU." + }, + "prepCategory": { + "$ref": "#/components/schemas/PrepCategory" + }, + "prepOwnerConstraint": { + "$ref": "#/components/schemas/OwnerConstraint" + }, + "prepTypes": { + "type": "array", + "description": "A list of preparation types associated with a preparation category.", + "items": { + "$ref": "#/components/schemas/PrepType" + } + } + }, + "description": "An MSKU and its related prep details." + }, + "MskuPrepDetailInput": { + "required": [ + "msku", + "prepCategory", + "prepTypes" + ], + "type": "object", + "properties": { + "msku": { + "maxLength": 40, + "minLength": 1, + "type": "string", + "description": "The merchant SKU, a merchant-supplied identifier for a specific SKU." + }, + "prepCategory": { + "$ref": "#/components/schemas/PrepCategory" + }, + "prepTypes": { + "type": "array", + "description": "A list of preparation types associated with a preparation category.", + "items": { + "$ref": "#/components/schemas/PrepType" + } + } + }, + "description": "An MSKU and its related prep details.", + "example": { + "msku": "msku", + "prepCategory": "NONE", + "prepTypes": [ + "ITEM_NO_PREP" + ] + } + }, "MskuQuantity": { "required": [ "msku", @@ -15234,7 +15871,7 @@ "description": "A positive integer." } }, - "description": "Represents an msku and the related quantity.", + "description": "Represents an MSKU and the related quantity.", "example": { "msku": "msku", "quantity": 5 @@ -15270,7 +15907,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The severity of the problem. Can be: `WARNING`, `ERROR`." + "description": "The severity of the problem. Possible values: `WARNING`, `ERROR`." } }, "description": "A problem with additional properties persisted to an operation." @@ -15298,6 +15935,29 @@ } ] }, + "OwnerConstraint": { + "type": "string", + "description": "A constraint that can apply to an individual owner. If no constraint is specified, both `AMAZON` and `SELLER` are acceptable.", + "enum": [ + "AMAZON_ONLY", + "NONE_ONLY", + "SELLER_ONLY" + ], + "x-docgen-enum-table-extension": [ + { + "value": "AMAZON_ONLY", + "description": "Only `AMAZON` is accepted as an owner." + }, + { + "value": "NONE_ONLY", + "description": "Only `NONE` is accepted as an owner." + }, + { + "value": "SELLER_ONLY", + "description": "Only `SELLER` is accepted as an owner." + } + ] + }, "PackageGroupingInput": { "required": [ "boxes" @@ -15332,7 +15992,6 @@ "example": { "boxes": [ { - "boxId": "FBA10ABC0YY100001", "contentInformationSource": "BOX_CONTENT_PROVIDED", "dimensions": { "height": 5, @@ -15381,7 +16040,7 @@ }, "expiration": { "type": "string", - "description": "The timestamp at which this packing option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this packing option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", "format": "date-time" }, "fees": { @@ -15413,7 +16072,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of the packing option. Can be: `OFFERED`, `ACCEPTED`, or `EXPIRED`." + "description": "The status of the packing option. Possible values: `OFFERED`, `ACCEPTED`, `EXPIRED`." }, "supportedShippingConfigurations": { "type": "array", @@ -15443,7 +16102,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a packing option. Can be 'OFFERED', 'ACCEPTED', or 'EXPIRED'." + "description": "The status of a packing option. Possible values: 'OFFERED', 'ACCEPTED', 'EXPIRED'." } }, "description": "Summary information about a packing option.", @@ -15552,12 +16211,12 @@ }, "expiration": { "type": "string", - "description": "The expiration date of the placement option. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The expiration date of the placement option. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", "format": "date-time" }, "fees": { "type": "array", - "description": "Fee for the offered option.", + "description": "The fee for the offered option.", "items": { "$ref": "#/components/schemas/Incentive" } @@ -15577,14 +16236,14 @@ "minLength": 38, "pattern": "^[a-zA-Z0-9-]*$", "type": "string", - "description": "Identifier of a shipment. A shipment contains the boxes and units being inbounded." + "description": "The identifier of a shipment. A shipment contains the boxes and units being inbounded." } }, "status": { "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a placement option. Can be: `OFFERED`, `ACCEPTED`, or `EXPIRED`." + "description": "The status of a placement option. Possible values: `OFFERED`, `ACCEPTED`, `EXPIRED`." } }, "description": "Contains information pertaining to the placement of the contents of an inbound plan and the related costs." @@ -15607,7 +16266,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a placement option. Can be: `OFFERED` or `ACCEPTED`." + "description": "The status of a placement option. Possible values: `OFFERED`, `ACCEPTED`." } }, "description": "Summary information about a placement option.", @@ -15616,6 +16275,84 @@ "status": "ACCEPTED" } }, + "PrepCategory": { + "type": "string", + "description": "The preparation category for shipping an item to Amazon's fulfillment network.", + "enum": [ + "ADULT", + "BABY", + "FC_PROVIDED", + "FRAGILE", + "GRANULAR", + "HANGER", + "LIQUID", + "PERFORATED", + "SET", + "SHARP", + "SMALL", + "TEXTILE", + "UNKNOWN", + "NONE" + ], + "x-docgen-enum-table-extension": [ + { + "value": "ADULT", + "description": "Displays potentially offensive material such as profanity or nudity." + }, + { + "value": "BABY", + "description": "Made for a child aged three years or younger, packaging with cutouts greater than one square inch." + }, + { + "value": "FC_PROVIDED", + "description": "A prep type has been defined by the Fulfillment Center. This value is provided by Amazon and cannot be used as an input." + }, + { + "value": "FRAGILE", + "description": "Glass or otherwise fragile, or a liquid in a glass container." + }, + { + "value": "GRANULAR", + "description": "Made of powder, pellets, or granular material." + }, + { + "value": "HANGER", + "description": "Made of cloth or fabric and intended to be put on a hanger." + }, + { + "value": "LIQUID", + "description": "Liquid or viscous without a double seal." + }, + { + "value": "PERFORATED", + "description": "In packaging that has a perforated opening." + }, + { + "value": "SET", + "description": "Multiple items that are sold as one unit." + }, + { + "value": "SHARP", + "description": "Sharp and easily exposed, not already contained in protective packaging." + }, + { + "value": "SMALL", + "description": "Longest side less than 2 1/8 inches (width of a credit card)." + }, + { + "value": "TEXTILE", + "description": "Made of cloth or fabric that could be damaged by dirt, dust, moisture, or liquid." + }, + { + "value": "UNKNOWN", + "description": "An unknown prep category was found and needs to be updated. This value is provided by Amazon and cannot be used as an input." + }, + { + "value": "NONE", + "description": "Does not require prep." + } + ] + }, "PrepInstruction": { "type": "object", "properties": { @@ -15632,14 +16369,14 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Type of preparation that should be done. Can be: `ITEM_LABELING`, `ITEM_BUBBLEWRAP`, `ITEM_POLYBAGGING`, `ITEM_TAPING`, `ITEM_BLACK_SHRINKWRAP`, `ITEM_HANG_GARMENT`, `ITEM_BOXING`, `ITEM_SETCREAT`, `ITEM_RMOVHANG`, `ITEM_SUFFOSTK`, `ITEM_CAP_SEALING`, `ITEM_DEBUNDLE`, `ITEM_SETSTK`, `ITEM_SIOC`, `ITEM_NO_PREP`, `ADULT`, `BABY`, `TEXTILE`, `HANGER`, `FRAGILE`, `LIQUID`, `SHARP`, `SMALL`, `PERFORATED`, `GRANULAR`, `SET`, `FC_PROVIDED`, `UNKNOWN`, `NONE`." + "description": "Type of preparation that should be done.\n\nPossible values: `ITEM_LABELING`, `ITEM_BUBBLEWRAP`, `ITEM_POLYBAGGING`, `ITEM_TAPING`, `ITEM_BLACK_SHRINKWRAP`, `ITEM_HANG_GARMENT`, `ITEM_BOXING`, `ITEM_SETCREAT`, `ITEM_RMOVHANG`, `ITEM_SUFFOSTK`, `ITEM_CAP_SEALING`, `ITEM_DEBUNDLE`, `ITEM_SETSTK`, `ITEM_SIOC`, `ITEM_NO_PREP`, `ADULT`, `BABY`, `TEXTILE`, `HANGER`, `FRAGILE`, `LIQUID`, `SHARP`, `SMALL`, `PERFORATED`, `GRANULAR`, `SET`, `FC_PROVIDED`, `UNKNOWN`, `NONE`." } }, "description": "Information pertaining to the preparation of inbound goods." }, "PrepOwner": { "type": "string", - "description": "In some situations, special preparations are required for items and this field reflects the owner of the preparations. Options include `AMAZON`, `SELLER` or `NONE`.", + "description": "The owner of the preparations, if special preparations are required.", "enum": [ "AMAZON", "SELLER", @@ -15652,7 +16389,7 @@ }, { "value": "SELLER", - "description": "Seller provides the information." + "description": "The seller provides the information." }, { "value": "NONE", @@ -15660,6 +16397,94 @@ } ] }, + "PrepType": { + "type": "string", + "description": "Preparation instructions for shipping an item to Amazon's fulfillment network. For more information about preparing items for shipment to Amazon's fulfillment network, refer to [Seller Central Help for your marketplace](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls).", + "enum": [ + "ITEM_BLACK_SHRINKWRAP", + "ITEM_BLANKSTK", + "ITEM_BOXING", + "ITEM_BUBBLEWRAP", + "ITEM_CAP_SEALING", + "ITEM_DEBUNDLE", + "ITEM_HANG_GARMENT", + "ITEM_LABELING", + "ITEM_NO_PREP", + "ITEM_POLYBAGGING", + "ITEM_RMOVHANG", + "ITEM_SETCREAT", + "ITEM_SETSTK", + "ITEM_SIOC", + "ITEM_SUFFOSTK", + "ITEM_TAPING" + ], + "x-docgen-enum-table-extension": [ + { + "value": "ITEM_BLACK_SHRINKWRAP", + "description": "The item requires black shrink wrapping." + }, + { + "value": "ITEM_BLANKSTK", + "description": "The item requires a blank sticker to obscure a bad barcode that cannot be covered by another sticker." + }, + { + "value": "ITEM_BOXING", + "description": "Products may require overboxing when there are safety concerns over sharp items, fragile items, hazardous liquids, and vinyl records. For items over 4.5 kg, use double-wall corrugated boxes." + }, + { + "value": "ITEM_BUBBLEWRAP", + "description": "The item requires bubble wrapping." + }, + { + "value": "ITEM_CAP_SEALING", + "description": "To prevent leakage, the product needs to have a secondary seal in one of the following types: Induction seal, safety ring, clips, heat shrink plastic band, or boxing." + }, + { + "value": "ITEM_DEBUNDLE", + "description": "The item requires taking apart a set of items labeled for individual sale. Remove tape or shrink wrap that groups multiple inventory units together." + }, + { + "value": "ITEM_HANG_GARMENT", + "description": "The item must be placed on a hanger." + }, + { + "value": "ITEM_LABELING", + "description": "The FNSKU label must be applied to the item." + }, + { + "value": "ITEM_NO_PREP", + "description": "The item does not require any prep." + }, + { + "value": "ITEM_POLYBAGGING", + "description": "The item requires polybagging." + }, + { + "value": "ITEM_RMOVHANG", + "description": "The item cannot be shipped on a hanger." + }, + { + "value": "ITEM_SETCREAT", + "description": "Units that are sets must be labeled as sets on their packaging. The barcodes on the individual items must not face outward and must not require covering." + }, + { + "value": "ITEM_SETSTK", + "description": "Products that are sets must be marked as sets on their packaging. Add a label to the unit that clearly states that the products must be received and sold as a single unit. For example, if a set of six unique toy cars is sold as one unit, the packaging for each car must indicate that it is part of the set. " + }, + { + "value": "ITEM_SIOC", + "description": "The item ships in its original product packaging." + }, + { + "value": "ITEM_SUFFOSTK", + "description": "Poly bags with an opening of 12 cm or larger (measured when flat) must have a suffocation warning. This warning must be printed on the bag or attached as a label." + }, + { + "value": "ITEM_TAPING", + "description": "Indicates that taping is required." + } + ] + }, "Quote": { "required": [ "cost" @@ -15671,7 +16496,7 @@ }, "expiration": { "type": "string", - "description": "The timestamp at which this transportation option quote becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this transportation option quote expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", "format": "date-time" }, "voidableUntil": { @@ -15882,12 +16707,12 @@ "properties": { "expiresAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the self ship appointment slot expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.", "format": "date-time" }, "slots": { "type": "array", - "description": "List of appointment slots.", + "description": "A list of appointment slots.", "items": { "$ref": "#/components/schemas/AppointmentSlot" } @@ -15916,7 +16741,6 @@ { "boxes": [ { - "boxId": "FBA10ABC0YY100001", "contentInformationSource": "BOX_CONTENT_PROVIDED", "dimensions": { "height": 5, @@ -15963,6 +16787,59 @@ }, "description": "The `setPackingInformation` response." }, + "SetPrepDetailsRequest": { + "required": [ + "marketplaceId", + "mskuPrepDetails" + ], + "type": "object", + "properties": { + "marketplaceId": { + "maxLength": 20, + "minLength": 1, + "type": "string", + "description": "The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." + }, + "mskuPrepDetails": { + "maxItems": 100, + "minItems": 1, + "type": "array", + "description": "A list of MSKUs and related prep details.", + "items": { + "$ref": "#/components/schemas/MskuPrepDetailInput" + } + } + }, + "description": "The `setPrepDetails` request.", + "example": { + "marketplaceId": "A2EUQ1WTGCTBG2", + "mskuPrepDetails": [ + { + "msku": "msku", + "prepCategory": "NONE", + "prepTypes": [ + "ITEM_NO_PREP" + ] + } + ] + } + }, + "SetPrepDetailsResponse": { + "required": [ + "operationId" + ], + "type": "object", + "properties": { + "operationId": { + "maxLength": 38, + "minLength": 36, + "pattern": "^[a-zA-Z0-9-]*$", + "type": "string", + "description": "UUID for the given operation." + } + }, + "description": "The `setPrepDetails` response." + }, "Shipment": { "required": [ "destination", @@ -16038,7 +16915,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a shipment. The state of the shipment will typically start in `WORKING` and transition to `READY_TO_SHIP` once required actions are complete prior to being picked up or shipped out. Can be `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, or `WORKING`." + "description": "The status of a shipment. The state of the shipment will typically start as `UNCONFIRMED`, then transition to `WORKING` after a placement option has been confirmed, and then to `READY_TO_SHIP` once labels are generated.\n\nPossible values: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `UNCONFIRMED`, `WORKING`" }, "trackingDetails": { "$ref": "#/components/schemas/TrackingDetails" @@ -16085,7 +16962,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The type of destination for this shipment. Can be: `AMAZON_OPTIMIZED`, `AMAZON_WAREHOUSE`." + "description": "The type of destination for this shipment. Possible values: `AMAZON_OPTIMIZED`, `AMAZON_WAREHOUSE`." }, "warehouseId": { "maxLength": 1024, @@ -16109,7 +16986,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The type of source for this shipment. Can be: `SELLER_FACILITY`." + "description": "The type of source for this shipment. Possible values: `SELLER_FACILITY`." } }, "description": "Specifies the 'ship from' address for the shipment." @@ -16132,7 +17009,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a shipment. The state of the shipment will typically start in `WORKING` and transition to `READY_TO_SHIP` once required actions are complete prior to being picked up or shipped out. Can be: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `WORKING`." + "description": "The status of a shipment. The state of the shipment will typically start as `UNCONFIRMED`, then transition to `WORKING` after a placement option has been confirmed, and then to `READY_TO_SHIP` once labels are generated.\n\nPossible values: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `UNCONFIRMED`, `WORKING`" } }, "description": "Summary information about a shipment.", @@ -16181,13 +17058,13 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Mode of shipment transportation that this option will provide. Can be: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`." + "description": "Mode of shipment transportation that this option will provide.\n\nPossible values: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`." }, "shippingSolution": { "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Shipping program for the option. Can be: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`." + "description": "Shipping program for the option. Possible values: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`." } }, "description": "The shipping configurations supported for the packing option. Available modes are ground small parcel, freight less-than-truckload (LTL), freight full-truckload (FTL) palletized, freight FTL non-palletized, ocean less-than-container-load (LCL), ocean full-container load (FCL), air small parcel, and air small parcel express." @@ -16248,7 +17125,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Whether or not Amazon has validated the tracking number. If more than 24 hours have passed and the status is not yet 'VALIDATED', please verify the number and update if necessary. Can be: `VALIDATED`, `NOT_VALIDATED`." + "description": "Whether or not Amazon has validated the tracking number. If more than 24 hours have passed and the status is not yet 'VALIDATED', please verify the number and update if necessary. Possible values: `VALIDATED`, `NOT_VALIDATED`." } }, "description": "Contains information used to track and identify a Small Parcel Delivery (SPD) item." @@ -16334,7 +17211,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Type of tax. Can be: `CGST`, `SGST`, `IGST`, `TOTAL_TAX`." + "description": "Type of tax. Possible values: `CGST`, `SGST`, `IGST`, `TOTAL_TAX`." } }, "description": "Contains the type and rate of tax." @@ -16410,13 +17287,13 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Mode of shipment transportation that this option will provide. Can be: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`." + "description": "Mode of shipment transportation that this option will provide.\n\nPossible values: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`." }, "shippingSolution": { "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Shipping program for the option. Can be: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`." + "description": "Shipping program for the option. Possible values: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`." }, "transportationOptionId": { "maxLength": 38, @@ -16736,7 +17613,7 @@ "properties": { "start": { "type": "string", - "description": "The start date of the window. The time component must be zero.", + "description": "The start date of the window. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with minute precision. Supports patterns `yyyy-MM-ddTHH:mmZ`, `yyyy-MM-ddTHH:mm:ssZ`, or `yyyy-MM-ddTHH:mm:ss.sssZ`. Note that non-zero second and millisecond components are removed.", "format": "date-time" } }, diff --git a/resources/models/seller/fba-inbound/v0.json b/resources/models/seller/fba-inbound/v0.json index 9d6d52620..8a345020c 100644 --- a/resources/models/seller/fba-inbound/v0.json +++ b/resources/models/seller/fba-inbound/v0.json @@ -3229,7 +3229,7 @@ { "name": "PackageLabelsToPrint", "in": "query", - "description": "A list of identifiers that specify packages for which you want package labels printed.\n\nMust match CartonId values previously passed using the FBA Inbound Shipment Carton Information Feed. If not, the operation returns the IncorrectPackageIdentifier error code.", + "description": "A list of identifiers that specify packages for which you want package labels printed.\n\nIf you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then `PackageLabelsToPrint` must match the `CartonId` values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then `PackageLabelsToPrint` must match the `boxID` values from the [`listShipmentBoxes`](https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v2024-03-20-reference#listshipmentboxes) response. If these values do not match as required, the operation returns the `IncorrectPackageIdentifier` error code.", "style": "form", "explode": false, "schema": { diff --git a/resources/models/seller/fba-inbound/v2024-03-20.json b/resources/models/seller/fba-inbound/v2024-03-20.json index 766c9d63b..115365cd8 100644 --- a/resources/models/seller/fba-inbound/v2024-03-20.json +++ b/resources/models/seller/fba-inbound/v2024-03-20.json @@ -24,7 +24,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides a list of inbound plans with minimal information.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a list of inbound plans with minimal information.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listInboundPlans", "parameters": [ { @@ -447,7 +447,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "createInboundPlan", "requestBody": { "description": "The body of the request to `createInboundPlan`.", @@ -742,7 +742,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Fetches the top level information about an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Fetches the top level information about an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getInboundPlan", "parameters": [ { @@ -1006,7 +1006,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides a paginated list of box packages in an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of box packages in an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listInboundPlanBoxes", "parameters": [ { @@ -1328,7 +1328,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "cancelInboundPlan", "parameters": [ { @@ -1570,7 +1570,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides a paginated list of item packages in an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of item packages in an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listInboundPlanItems", "parameters": [ { @@ -1868,7 +1868,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Updates the name of an existing inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Updates the name of an existing inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateInboundPlanName", "parameters": [ { @@ -2123,7 +2123,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listPackingGroupBoxes", "parameters": [ { @@ -2463,7 +2463,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listPackingGroupItems", "parameters": [ { @@ -2777,7 +2777,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "setPackingInformation", "parameters": [ { @@ -3103,7 +3103,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listPackingOptions", "parameters": [ { @@ -3416,7 +3416,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Generates available packing options for the inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generates available packing options for the inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generatePackingOptions", "parameters": [ { @@ -3658,7 +3658,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Confirms the packing option for an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms the packing option for an inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmPackingOption", "parameters": [ { @@ -3918,7 +3918,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listInboundPlanPallets", "parameters": [ { @@ -4212,7 +4212,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listPlacementOptions", "parameters": [ { @@ -4519,7 +4519,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Generates placement options for the inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generates placement options for the inbound plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generatePlacementOptions", "parameters": [ { @@ -4811,7 +4811,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmPlacementOption", "parameters": [ { @@ -5071,7 +5071,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getShipment", "parameters": [ { @@ -5421,7 +5421,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides a paginated list of box packages in a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of box packages in a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listShipmentBoxes", "parameters": [ { @@ -5761,7 +5761,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listShipmentContentUpdatePreviews", "parameters": [ { @@ -5857,7 +5857,7 @@ "contentUpdatePreviews": [ { "contentUpdatePreviewId": "cu1234abcd-1234-abcd-5678-1234abcd5678", - "expiration": "2024-01-01", + "expiration": "2024-01-01T01:01:00.000Z", "transportationOption": { "shipmentId": "sh1234abcd-1234-abcd-5678-1234abcd5678", "transportationOptionId": "to1234abcd-1234-abcd-5678-1234abcd5678", @@ -6124,7 +6124,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generateShipmentContentUpdatePreviews", "parameters": [ { @@ -6478,7 +6478,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getShipmentContentUpdatePreview", "parameters": [ { @@ -6560,7 +6560,7 @@ }, "response": { "contentUpdatePreviewId": "cu1234abcd-1234-abcd-5678-1234abcd5678", - "expiration": "2024-01-01", + "expiration": "2024-01-01T01:01:00.000Z", "transportationOption": { "shipmentId": "sh1234abcd-1234-abcd-5678-1234abcd5678", "transportationOptionId": "to1234abcd-1234-abcd-5678-1234abcd5678", @@ -6579,8 +6579,8 @@ "expiration": "2024-01-01T00:00:00.000Z" }, "carrierAppointment": { - "startTime": "2024-01-01T00:00Z", - "endTime": "2024-01-01T00:00Z" + "startTime": "2024-01-01T00:00:00.000Z", + "endTime": "2024-01-01T00:00:00.000Z" }, "preconditions": [ "CONFIRMED_DELIVERY_WINDOW" @@ -6821,7 +6821,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Confirm a shipment content update preview and accept the changes in transportation cost.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirm a shipment content update preview and accept the changes in transportation cost.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmShipmentContentUpdatePreview", "parameters": [ { @@ -7099,7 +7099,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provide delivery challan document for PCP transportation in IN marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provide delivery challan document for PCP transportation in IN marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getDeliveryChallanDocument", "parameters": [ { @@ -7363,7 +7363,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listDeliveryWindowOptions", "parameters": [ { @@ -7665,7 +7665,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Generates available delivery window options for a given shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generates available delivery window options for a given shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generateDeliveryWindowOptions", "parameters": [ { @@ -7925,7 +7925,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmDeliveryWindowOptions", "parameters": [ { @@ -8203,7 +8203,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides a paginated list of item packages in a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of item packages in a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listShipmentItems", "parameters": [ { @@ -8519,7 +8519,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Updates the name of an existing shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Updates the name of an existing shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateShipmentName", "parameters": [ { @@ -8792,7 +8792,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listShipmentPallets", "parameters": [ { @@ -9104,7 +9104,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Cancels a self-ship appointment slot against a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Cancels a self-ship appointment slot against a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "cancelSelfShipAppointment", "parameters": [ { @@ -9386,7 +9386,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "getSelfShipAppointmentSlots", "parameters": [ { @@ -9685,7 +9685,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Initiates the process of generating the appointment slots list.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Initiates the process of generating the appointment slots list.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generateSelfShipAppointmentSlots", "parameters": [ { @@ -9969,7 +9969,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Confirms or reschedules a self-ship appointment slot against a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms or reschedules a self-ship appointment slot against a shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "scheduleSelfShipAppointment", "parameters": [ { @@ -10276,7 +10276,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source address.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateShipmentSourceAddress", "parameters": [ { @@ -10580,7 +10580,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Updates a shipment's tracking details.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Updates a shipment's tracking details.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateShipmentTrackingDetails", "parameters": [ { @@ -10892,7 +10892,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listTransportationOptions", "parameters": [ { @@ -11228,7 +11228,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Generates available transportation options for a given placement option.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Generates available transportation options for a given placement option.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "generateTransportationOptions", "parameters": [ { @@ -11564,7 +11564,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "confirmTransportationOptions", "parameters": [ { @@ -11848,13 +11848,13 @@ "tags": [ "FBAInboundV20240320" ], - "description": "List the inbound compliance details for MSKUs in a given marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "List the inbound compliance details for MSKUs in a given marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "listItemComplianceDetails", "parameters": [ { "name": "mskus", "in": "query", - "description": "List of merchant SKUs - a merchant-supplied identifier for a specific SKU.", + "description": "A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.", "required": true, "style": "form", "explode": true, @@ -11872,10 +11872,10 @@ { "name": "marketplaceId", "in": "query", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.", + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).", "required": true, "schema": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string" } @@ -12009,7 +12009,7 @@ "errors": [ { "code": "BadRequest", - "message": "The requested MSKU is not valid for the specified marketplace." + "message": "The requested MSKU is not valid." } ] } @@ -12155,16 +12155,16 @@ "tags": [ "FBAInboundV20240320" ], - "description": "Update compliance details for list of MSKUs. The details provided here are only used for the IN marketplace compliance validation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "updateItemComplianceDetails", "parameters": [ { "name": "marketplaceId", "in": "query", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.", + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).", "required": true, "schema": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string" } @@ -12446,7 +12446,7 @@ "tags": [ "FBAInboundV20240320" ], - "description": "For a given marketplace - creates labels for a list of mskus.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", + "description": "For a given marketplace - creates labels for a list of MSKUs.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", "operationId": "createMarketplaceItemLabels", "requestBody": { "description": "The body of the request to `createMarketplaceItemLabels`.", @@ -12604,7 +12604,7 @@ "errors": [ { "code": "BadRequest", - "message": "The requested MSKU is not valid for the specified marketplace." + "message": "The requested MSKU is not valid." } ] } @@ -12748,30 +12748,47 @@ "x-codegen-request-body-name": "body" } }, - "/inbound/fba/2024-03-20/operations/{operationId}": { + "/inbound/fba/2024-03-20/items/prepDetails": { "get": { "tags": [ "FBAInboundV20240320" ], - "description": "Gets the status of the processing of an asynchronous API call.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). ", - "operationId": "getInboundOperationStatus", + "description": "Get preparation details for a list of MSKUs in a specified marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", + "operationId": "listPrepDetails", "parameters": [ { - "name": "operationId", - "in": "path", - "description": "Identifier of an asynchronous operation.", + "name": "marketplaceId", + "in": "query", + "description": "The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).", "required": true, "schema": { - "maxLength": 38, - "minLength": 36, - "pattern": "^[a-zA-Z0-9-]*$", + "maxLength": 20, + "minLength": 1, "type": "string" } + }, + { + "name": "mskus", + "in": "query", + "description": "A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.", + "required": true, + "style": "form", + "explode": true, + "schema": { + "maxItems": 100, + "minItems": 1, + "type": "array", + "items": { + "maxLength": 40, + "minLength": 1, + "type": "string" + } + } } ], "responses": { "200": { - "description": "GetInboundOperationStatus 200 response", + "description": "ListPrepDetails 200 response", "headers": { "x-amzn-RequestId": { "description": "Unique request reference identifier.", @@ -12789,7 +12806,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InboundOperationStatus" + "$ref": "#/components/schemas/ListPrepDetailsResponse" } } }, @@ -12798,21 +12815,38 @@ { "request": { "parameters": { - "operationId": { - "value": "1234abcd-1234-abcd-5678-1234abcd5678" + "marketplaceId": { + "value": "ATVPDKIKX0DER" + }, + "mskus": { + "value": [ + "msku1", + "msku2" + ] } } }, "response": { - "operationId": "a440f2ff-cb08-416a-99e1-67a04eee88f6", - "operation": "operationName", - "operationStatus": "SUCCESS", - "operationProblems": [ + "mskuPrepDetails": [ { - "code": "DimensionMismatch", - "message": "The dimension does not match what is expected.", - "details": "", - "severity": "WARNING" + "msku": "msku1", + "prepCategory": "TEXTILE", + "prepTypes": [ + "ITEM_LABELING", + "ITEM_POLYBAGGING" + ], + "prepOwnerConstraint": "AMAZON_ONLY", + "labelOwnerConstraint": "AMAZON_ONLY", + "allOwnersConstraint": "MUST_MATCH" + }, + { + "msku": "msku2", + "prepCategory": "FRAGILE", + "prepTypes": [ + "ITEM_LABELING", + "ITEM_BUBBLEWRAP" + ], + "allOwnersConstraint": "MUST_MATCH" } ] } @@ -12848,8 +12882,13 @@ { "request": { "parameters": { - "operationId": { - "value": "bad4abcd-1234-abcd-5678-1234abcd5678" + "marketplaceId": { + "value": "ATVPDKIKX0DER" + }, + "mskus": { + "value": [ + "badmsku" + ] } } }, @@ -12857,7 +12896,7 @@ "errors": [ { "code": "BadRequest", - "message": "The operationId is malformed." + "message": "The requested MSKU is not valid." } ] } @@ -12998,57 +13037,571 @@ } } } - } - } - }, - "components": { - "schemas": { - "Address": { - "required": [ - "addressLine1", - "city", - "countryCode", - "name", - "postalCode" + }, + "post": { + "tags": [ + "FBAInboundV20240320" ], - "type": "object", - "properties": { - "addressLine1": { - "maxLength": 180, - "minLength": 1, - "type": "string", - "description": "Street address information." + "description": "Set the preparation details for a list of MSKUs in a specified marketplace.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", + "operationId": "setPrepDetails", + "requestBody": { + "description": "The body of the request to `setPrepDetails`.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetPrepDetailsRequest" + } + } }, - "addressLine2": { - "maxLength": 60, - "minLength": 1, - "type": "string", - "description": "Additional street address information." + "required": true + }, + "responses": { + "202": { + "description": "SetPrepDetails 202 response", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetPrepDetailsResponse" + } + } + }, + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "mskuPrepDetails": [ + { + "msku": "msku", + "prepCategory": "TEXTILE", + "prepTypes": [ + "ITEM_LABELING", + "ITEM_POLYBAGGING" + ] + } + ] + } + } + } + }, + "response": { + "operationId": "1234abcd-1234-abcd-5678-1234abcd5678" + } + } + ] + } }, - "city": { - "maxLength": 30, - "minLength": 1, - "type": "string", - "description": "The city." + "400": { + "description": "Request has missing or invalid parameters and cannot be parsed.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + }, + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "marketplaceId": "ATVPDKIKX0DER", + "mskuPrepDetails": [ + { + "msku": "badSku", + "prepCategory": "TEXTILE", + "prepTypes": [ + "ITEM_LABELING", + "ITEM_POLYBAGGING" + ] + } + ] + } + } + } + }, + "response": { + "errors": [ + { + "code": "BadRequest", + "message": "The requested MSKU is not valid." + } + ] + } + } + ] + } }, - "companyName": { - "maxLength": 50, - "minLength": 1, - "type": "string", - "description": "The name of the business." + "404": { + "description": "The resource specified does not exist.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } }, - "countryCode": { - "maxLength": 2, - "minLength": 2, - "pattern": "^[A-Z]{2}$", - "type": "string", - "description": "The country code in two-character ISO 3166-1 alpha-2 format." + "500": { + "description": "An unexpected condition occurred that prevented the server from fulfilling the request.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } }, - "email": { - "maxLength": 1024, - "minLength": 1, - "type": "string", - "description": "The email address." + "403": { + "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "413": { + "description": "The request size exceeded the maximum accepted size.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "415": { + "description": "The request payload is in an unsupported format.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "429": { + "description": "The frequency of requests was greater than allowed.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "503": { + "description": "Temporary overloading or maintenance of the server.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + } + }, + "x-codegen-request-body-name": "body" + } + }, + "/inbound/fba/2024-03-20/operations/{operationId}": { + "get": { + "tags": [ + "FBAInboundV20240320" + ], + "description": "Gets the status of the processing of an asynchronous API call.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 6 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).", + "operationId": "getInboundOperationStatus", + "parameters": [ + { + "name": "operationId", + "in": "path", + "description": "Identifier of an asynchronous operation.", + "required": true, + "schema": { + "maxLength": 38, + "minLength": 36, + "pattern": "^[a-zA-Z0-9-]*$", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "GetInboundOperationStatus 200 response", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InboundOperationStatus" + } + } + }, + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "operationId": { + "value": "1234abcd-1234-abcd-5678-1234abcd5678" + } + } + }, + "response": { + "operationId": "a440f2ff-cb08-416a-99e1-67a04eee88f6", + "operation": "operationName", + "operationStatus": "SUCCESS", + "operationProblems": [ + { + "code": "DimensionMismatch", + "message": "The dimension does not match what is expected.", + "details": "", + "severity": "WARNING" + } + ] + } + } + ] + } + }, + "400": { + "description": "Request has missing or invalid parameters and cannot be parsed.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + }, + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "operationId": { + "value": "bad4abcd-1234-abcd-5678-1234abcd5678" + } + } + }, + "response": { + "errors": [ + { + "code": "BadRequest", + "message": "The operationId is malformed." + } + ] + } + } + ] + } + }, + "404": { + "description": "The resource specified does not exist.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + }, + "x-amzn-RateLimit-Limit": { + "description": "Your rate limit (requests per second) for this operation.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "500": { + "description": "An unexpected condition occurred that prevented the server from fulfilling the request.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "403": { + "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "413": { + "description": "The request size exceeded the maximum accepted size.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "415": { + "description": "The request payload is in an unsupported format.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "429": { + "description": "The frequency of requests was greater than allowed.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "503": { + "description": "Temporary overloading or maintenance of the server.", + "headers": { + "x-amzn-RequestId": { + "description": "Unique request reference identifier.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Address": { + "required": [ + "addressLine1", + "city", + "countryCode", + "name", + "postalCode" + ], + "type": "object", + "properties": { + "addressLine1": { + "maxLength": 180, + "minLength": 1, + "type": "string", + "description": "Street address information." + }, + "addressLine2": { + "maxLength": 60, + "minLength": 1, + "type": "string", + "description": "Additional street address information." + }, + "city": { + "maxLength": 30, + "minLength": 1, + "type": "string", + "description": "The city." + }, + "companyName": { + "maxLength": 50, + "minLength": 1, + "type": "string", + "description": "The name of the business." + }, + "countryCode": { + "maxLength": 2, + "minLength": 2, + "pattern": "^[A-Z]{2}$", + "type": "string", + "description": "The country code in two-character ISO 3166-1 alpha-2 format." + }, + "email": { + "maxLength": 1024, + "minLength": 1, + "type": "string", + "description": "The email address." }, "name": { "maxLength": 50, @@ -13176,6 +13729,19 @@ "stateOrProvinceCode": "ON" } }, + "AllOwnersConstraint": { + "type": "string", + "description": "A constraint that applies to all owners. If no constraint is specified, defer to any individual owner constraints.", + "enum": [ + "MUST_MATCH" + ], + "x-docgen-enum-table-extension": [ + { + "value": "MUST_MATCH", + "description": "All owners must match." + } + ] + }, "AppointmentSlot": { "required": [ "slotId", @@ -13288,7 +13854,7 @@ }, { "value": "BARCODE_2D", - "description": "Box contents information is provided by a barcode on the shipment. For more information, see Using 2D barcodes for box content information on Seller Central." + "description": "Box contents information is provided by a barcode on the shipment. For more information, refer to [Using 2D barcodes for box content information](https://sellercentral.amazon.com/help/hub/reference/GJWALJCN6JKWJX5A) on Seller Central." } ] }, @@ -13326,7 +13892,6 @@ }, "description": "Input information for a given box.", "example": { - "boxId": "FBA10ABC0YY100001", "contentInformationSource": "BOX_CONTENT_PROVIDED", "dimensions": { "height": 5, @@ -13667,9 +14232,9 @@ "description": "Identifier of a content update preview." }, "expiration": { - "pattern": "^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", "type": "string", - "description": "The date in ISO 8601 format for when the content update expires." + "description": "The time at which the content update expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "format": "date-time" }, "requestedUpdates": { "$ref": "#/components/schemas/RequestedUpdates" @@ -13694,10 +14259,10 @@ "type": "array", "description": "Marketplaces where the items need to be shipped to. Currently only one marketplace can be selected in this request.", "items": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values." + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." } }, "items": { @@ -13721,11 +14286,6 @@ }, "description": "The `createInboundPlan` request.", "example": { - "contactInformation": { - "email": "email@email.com", - "name": "name", - "phoneNumber": "1234567890" - }, "destinationMarketplaces": [ "ATVPDKIKX0DER" ], @@ -13798,19 +14358,20 @@ "localeCode": { "pattern": "^[a-z]{2}_[A-Z]{2}$", "type": "string", - "description": "The locale code constructed from ISO 639 language code and ISO 3166-1 alpha-2 standard of country codes separated by an underscore character." + "description": "The locale code constructed from ISO 639 language code and ISO 3166-1 alpha-2 standard of country codes separated by an underscore character.", + "default": "en_US" }, "marketplaceId": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values." + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." }, "mskuQuantities": { "maxItems": 100, "minItems": 1, "type": "array", - "description": "Represents the quantity of an msku to print item labels for.", + "description": "Represents the quantity of an MSKU to print item labels for.", "items": { "$ref": "#/components/schemas/MskuQuantity" } @@ -13875,7 +14436,7 @@ "description": "ISO 4217 standard of a currency code." } }, - "description": "Currency definition." + "description": "The type and amount of currency." }, "CustomPlacementInput": { "required": [ @@ -13953,17 +14514,17 @@ }, "endDate": { "type": "string", - "description": "The timestamp at which this delivery window option ends. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this delivery window option ends. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.", "format": "date-time" }, "startDate": { "type": "string", - "description": "The timestamp at which this delivery window option starts. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this delivery window option starts. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.", "format": "date-time" }, "validUntil": { "type": "string", - "description": "The timestamp at which this window delivery option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this window delivery option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.", "format": "date-time" } }, @@ -14021,11 +14582,11 @@ "properties": { "downloadType": { "type": "string", - "description": "The type of download. Can be `URL`." + "description": "The type of download. Possible values: `URL`." }, "expiration": { "type": "string", - "description": "The timestamp of expiration of the URI. This is in ISO 8601 datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The URI's expiration time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", "format": "date-time" }, "uri": { @@ -14094,7 +14655,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Freight class. Can be: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`." + "description": "Freight class.\n\nPossible values: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`." } }, "description": "Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.", @@ -14143,7 +14704,7 @@ "properties": { "customPlacement": { "type": "array", - "description": "Custom placement options to be added to the plan.", + "description": "Custom placement options you want to add to the plan. This is only used for the India (IN - A21TJRUUN4KGV) marketplace.", "items": { "$ref": "#/components/schemas/CustomPlacementInput" } @@ -14189,12 +14750,12 @@ "properties": { "desiredEndDate": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The desired end date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.", "format": "date-time" }, "desiredStartDate": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The desired start date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.", "format": "date-time" } }, @@ -14459,7 +15020,7 @@ "properties": { "createdAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime with pattern `yyyy-MM-ddTHH:mm:ssZ`.", "format": "date-time" }, "inboundPlanId": { @@ -14471,17 +15032,17 @@ }, "lastUpdatedAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.", "format": "date-time" }, "marketplaceIds": { "type": "array", - "description": "Marketplace IDs.", + "description": "A list of marketplace IDs.", "items": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values." + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." } }, "name": { @@ -14504,7 +15065,7 @@ }, "shipments": { "type": "array", - "description": "Shipment IDs for the inbound plan. This property will be populated when it has been generated via the corresponding operation. If there is a chosen placement option, only shipments for that option will be returned. If there are confirmed shipments, only those shipments will be returned. Query the shipment for more details.", + "description": "A list of shipment IDs for the inbound plan. This property is populated when it has been generated with the `confirmPlacementOptions` operation. Only shipments from the chosen placement option are returned. Query the shipment for more details.", "items": { "$ref": "#/components/schemas/ShipmentSummary" } @@ -14516,16 +15077,11 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, 'ERRORED'." + "description": "Current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`." } }, "description": "Inbound plan containing details of the inbound workflow.", "example": { - "contactInformation": { - "email": "email@email.com", - "name": "name", - "phoneNumber": "1234567890" - }, "createdAt": "2024-03-20T12:01:00Z", "inboundPlanId": "wf1234abcd-1234-abcd-5678-1234abcd5678", "lastUpdatedAt": "2024-03-28T13:15:30Z", @@ -14565,7 +15121,7 @@ "properties": { "createdAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.", "format": "date-time" }, "inboundPlanId": { @@ -14577,17 +15133,17 @@ }, "lastUpdatedAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.", "format": "date-time" }, "marketplaceIds": { "type": "array", - "description": "Marketplace IDs.", + "description": "A list of marketplace IDs.", "items": { - "maxLength": 256, + "maxLength": 20, "minLength": 1, "type": "string", - "description": "The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values." + "description": "The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." } }, "name": { @@ -14601,16 +15157,11 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, 'ERRORED'." + "description": "The current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`." } }, "description": "A light-weight inbound plan.", "example": { - "contactInformation": { - "email": "email@email.com", - "name": "name", - "phoneNumber": "1234567890" - }, "createdAt": "2023-03-08T13:15:30Z", "inboundPlanId": "wf1234abcd-1234-abcd-5678-1234abcd5678", "lastUpdatedAt": "2023-03-08T13:15:30Z", @@ -14652,13 +15203,13 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Target of the incentive. Can be 'Placement Services' or 'Fulfillment Fee Discount'." + "description": "Target of the incentive. Possible values: 'Placement Services', 'Fulfillment Fee Discount'." }, "type": { "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Type of incentive. Can be: `FEE`, `DISCOUNT`." + "description": "Type of incentive. Possible values: `FEE`, `DISCOUNT`." }, "value": { "$ref": "#/components/schemas/Currency" @@ -14686,7 +15237,7 @@ "expiration": { "pattern": "^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", "type": "string", - "description": "The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box." + "description": "The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern`YYYY-MM-DD`. The same MSKU with different expiration dates cannot go into the same box." }, "fnsku": { "maxLength": 10, @@ -14710,7 +15261,7 @@ "maxLength": 40, "minLength": 1, "type": "string", - "description": "The merchant defined SKU ID." + "description": "The merchant SKU, a merchant-supplied identifier of a specific SKU." }, "prepInstructions": { "type": "array", @@ -14740,7 +15291,7 @@ "expiration": { "pattern": "^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", "type": "string", - "description": "The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box." + "description": "The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `YYYY-MM-DD`. Items with the same MSKU but different expiration dates cannot go into the same box." }, "labelOwner": { "$ref": "#/components/schemas/LabelOwner" @@ -14755,7 +15306,7 @@ "maxLength": 40, "minLength": 1, "type": "string", - "description": "Merchant SKU." + "description": "The merchant SKU, a merchant-supplied identifier of a specific SKU." }, "prepOwner": { "$ref": "#/components/schemas/PrepOwner" @@ -14764,7 +15315,7 @@ "maximum": 10000, "minimum": 1, "type": "integer", - "description": "The number of units of the specified msku that will be shipped." + "description": "The number of units of the specified MSKU that will be shipped." } }, "description": "Defines an item's input parameters.", @@ -15064,6 +15615,22 @@ }, "description": "The `listPlacementOptions` response." }, + "ListPrepDetailsResponse": { + "required": [ + "mskuPrepDetails" + ], + "type": "object", + "properties": { + "mskuPrepDetails": { + "type": "array", + "description": "A list of MSKUs and related prep details.", + "items": { + "$ref": "#/components/schemas/MskuPrepDetail" + } + } + }, + "description": "The response to the `listPrepDetails` operation." + }, "ListShipmentBoxesResponse": { "required": [ "boxes" @@ -15214,6 +15781,76 @@ ] } }, + "MskuPrepDetail": { + "required": [ + "msku", + "prepCategory", + "prepTypes" + ], + "type": "object", + "properties": { + "allOwnersConstraint": { + "$ref": "#/components/schemas/AllOwnersConstraint" + }, + "labelOwnerConstraint": { + "$ref": "#/components/schemas/OwnerConstraint" + }, + "msku": { + "maxLength": 40, + "minLength": 1, + "type": "string", + "description": "The merchant SKU, a merchant-supplied identifier for a specific SKU." + }, + "prepCategory": { + "$ref": "#/components/schemas/PrepCategory" + }, + "prepOwnerConstraint": { + "$ref": "#/components/schemas/OwnerConstraint" + }, + "prepTypes": { + "type": "array", + "description": "A list of preparation types associated with a preparation category.", + "items": { + "$ref": "#/components/schemas/PrepType" + } + } + }, + "description": "An MSKU and its related prep details." + }, + "MskuPrepDetailInput": { + "required": [ + "msku", + "prepCategory", + "prepTypes" + ], + "type": "object", + "properties": { + "msku": { + "maxLength": 40, + "minLength": 1, + "type": "string", + "description": "The merchant SKU, a merchant-supplied identifier for a specific SKU." + }, + "prepCategory": { + "$ref": "#/components/schemas/PrepCategory" + }, + "prepTypes": { + "type": "array", + "description": "A list of preparation types associated with a preparation category.", + "items": { + "$ref": "#/components/schemas/PrepType" + } + } + }, + "description": "An MSKU and its related prep details.", + "example": { + "msku": "msku", + "prepCategory": "NONE", + "prepTypes": [ + "ITEM_NO_PREP" + ] + } + }, "MskuQuantity": { "required": [ "msku", @@ -15234,7 +15871,7 @@ "description": "A positive integer." } }, - "description": "Represents an msku and the related quantity.", + "description": "Represents an MSKU and the related quantity.", "example": { "msku": "msku", "quantity": 5 @@ -15270,7 +15907,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The severity of the problem. Can be: `WARNING`, `ERROR`." + "description": "The severity of the problem. Possible values: `WARNING`, `ERROR`." } }, "description": "A problem with additional properties persisted to an operation." @@ -15298,6 +15935,29 @@ } ] }, + "OwnerConstraint": { + "type": "string", + "description": "A constraint that can apply to an individual owner. If no constraint is specified, both `AMAZON` and `SELLER` are acceptable.", + "enum": [ + "AMAZON_ONLY", + "NONE_ONLY", + "SELLER_ONLY" + ], + "x-docgen-enum-table-extension": [ + { + "value": "AMAZON_ONLY", + "description": "Only `AMAZON` is accepted as an owner." + }, + { + "value": "NONE_ONLY", + "description": "Only `NONE` is accepted as an owner." + }, + { + "value": "SELLER_ONLY", + "description": "Only `SELLER` is accepted as an owner." + } + ] + }, "PackageGroupingInput": { "required": [ "boxes" @@ -15332,7 +15992,6 @@ "example": { "boxes": [ { - "boxId": "FBA10ABC0YY100001", "contentInformationSource": "BOX_CONTENT_PROVIDED", "dimensions": { "height": 5, @@ -15381,7 +16040,7 @@ }, "expiration": { "type": "string", - "description": "The timestamp at which this packing option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this packing option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", "format": "date-time" }, "fees": { @@ -15413,7 +16072,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of the packing option. Can be: `OFFERED`, `ACCEPTED`, or `EXPIRED`." + "description": "The status of the packing option. Possible values: `OFFERED`, `ACCEPTED`, `EXPIRED`." }, "supportedShippingConfigurations": { "type": "array", @@ -15443,7 +16102,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a packing option. Can be 'OFFERED', 'ACCEPTED', or 'EXPIRED'." + "description": "The status of a packing option. Possible values: 'OFFERED', 'ACCEPTED', 'EXPIRED'." } }, "description": "Summary information about a packing option.", @@ -15552,12 +16211,12 @@ }, "expiration": { "type": "string", - "description": "The expiration date of the placement option. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The expiration date of the placement option. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", "format": "date-time" }, "fees": { "type": "array", - "description": "Fee for the offered option.", + "description": "The fee for the offered option.", "items": { "$ref": "#/components/schemas/Incentive" } @@ -15577,14 +16236,14 @@ "minLength": 38, "pattern": "^[a-zA-Z0-9-]*$", "type": "string", - "description": "Identifier of a shipment. A shipment contains the boxes and units being inbounded." + "description": "The identifier of a shipment. A shipment contains the boxes and units being inbounded." } }, "status": { "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a placement option. Can be: `OFFERED`, `ACCEPTED`, or `EXPIRED`." + "description": "The status of a placement option. Possible values: `OFFERED`, `ACCEPTED`, `EXPIRED`." } }, "description": "Contains information pertaining to the placement of the contents of an inbound plan and the related costs." @@ -15607,7 +16266,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a placement option. Can be: `OFFERED` or `ACCEPTED`." + "description": "The status of a placement option. Possible values: `OFFERED`, `ACCEPTED`." } }, "description": "Summary information about a placement option.", @@ -15616,6 +16275,84 @@ "status": "ACCEPTED" } }, + "PrepCategory": { + "type": "string", + "description": "The preparation category for shipping an item to Amazon's fulfillment network.", + "enum": [ + "ADULT", + "BABY", + "FC_PROVIDED", + "FRAGILE", + "GRANULAR", + "HANGER", + "LIQUID", + "PERFORATED", + "SET", + "SHARP", + "SMALL", + "TEXTILE", + "UNKNOWN", + "NONE" + ], + "x-docgen-enum-table-extension": [ + { + "value": "ADULT", + "description": "Displays potentially offensive material such as profanity or nudity." + }, + { + "value": "BABY", + "description": "Made for a child aged three years or younger, packaging with cutouts greater than one square inch." + }, + { + "value": "FC_PROVIDED", + "description": "A prep type has been defined by the Fulfillment Center. This value is provided by Amazon and cannot be used as an input." + }, + { + "value": "FRAGILE", + "description": "Glass or otherwise fragile, or a liquid in a glass container." + }, + { + "value": "GRANULAR", + "description": "Made of powder, pellets, or granular material." + }, + { + "value": "HANGER", + "description": "Made of cloth or fabric and intended to be put on a hanger." + }, + { + "value": "LIQUID", + "description": "Liquid or viscous without a double seal." + }, + { + "value": "PERFORATED", + "description": "In packaging that has a perforated opening." + }, + { + "value": "SET", + "description": "Multiple items that are sold as one unit." + }, + { + "value": "SHARP", + "description": "Sharp and easily exposed, not already contained in protective packaging." + }, + { + "value": "SMALL", + "description": "Longest side less than 2 1/8 inches (width of a credit card)." + }, + { + "value": "TEXTILE", + "description": "Made of cloth or fabric that could be damaged by dirt, dust, moisture, or liquid." + }, + { + "value": "UNKNOWN", + "description": "An unknown prep category was found and needs to be updated. This value is provided by Amazon and cannot be used as an input." + }, + { + "value": "NONE", + "description": "Does not require prep." + } + ] + }, "PrepInstruction": { "type": "object", "properties": { @@ -15632,14 +16369,14 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Type of preparation that should be done. Can be: `ITEM_LABELING`, `ITEM_BUBBLEWRAP`, `ITEM_POLYBAGGING`, `ITEM_TAPING`, `ITEM_BLACK_SHRINKWRAP`, `ITEM_HANG_GARMENT`, `ITEM_BOXING`, `ITEM_SETCREAT`, `ITEM_RMOVHANG`, `ITEM_SUFFOSTK`, `ITEM_CAP_SEALING`, `ITEM_DEBUNDLE`, `ITEM_SETSTK`, `ITEM_SIOC`, `ITEM_NO_PREP`, `ADULT`, `BABY`, `TEXTILE`, `HANGER`, `FRAGILE`, `LIQUID`, `SHARP`, `SMALL`, `PERFORATED`, `GRANULAR`, `SET`, `FC_PROVIDED`, `UNKNOWN`, `NONE`." + "description": "Type of preparation that should be done.\n\nPossible values: `ITEM_LABELING`, `ITEM_BUBBLEWRAP`, `ITEM_POLYBAGGING`, `ITEM_TAPING`, `ITEM_BLACK_SHRINKWRAP`, `ITEM_HANG_GARMENT`, `ITEM_BOXING`, `ITEM_SETCREAT`, `ITEM_RMOVHANG`, `ITEM_SUFFOSTK`, `ITEM_CAP_SEALING`, `ITEM_DEBUNDLE`, `ITEM_SETSTK`, `ITEM_SIOC`, `ITEM_NO_PREP`, `ADULT`, `BABY`, `TEXTILE`, `HANGER`, `FRAGILE`, `LIQUID`, `SHARP`, `SMALL`, `PERFORATED`, `GRANULAR`, `SET`, `FC_PROVIDED`, `UNKNOWN`, `NONE`." } }, "description": "Information pertaining to the preparation of inbound goods." }, "PrepOwner": { "type": "string", - "description": "In some situations, special preparations are required for items and this field reflects the owner of the preparations. Options include `AMAZON`, `SELLER` or `NONE`.", + "description": "The owner of the preparations, if special preparations are required.", "enum": [ "AMAZON", "SELLER", @@ -15652,7 +16389,7 @@ }, { "value": "SELLER", - "description": "Seller provides the information." + "description": "The seller provides the information." }, { "value": "NONE", @@ -15660,6 +16397,94 @@ } ] }, + "PrepType": { + "type": "string", + "description": "Preparation instructions for shipping an item to Amazon's fulfillment network. For more information about preparing items for shipment to Amazon's fulfillment network, refer to [Seller Central Help for your marketplace](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls).", + "enum": [ + "ITEM_BLACK_SHRINKWRAP", + "ITEM_BLANKSTK", + "ITEM_BOXING", + "ITEM_BUBBLEWRAP", + "ITEM_CAP_SEALING", + "ITEM_DEBUNDLE", + "ITEM_HANG_GARMENT", + "ITEM_LABELING", + "ITEM_NO_PREP", + "ITEM_POLYBAGGING", + "ITEM_RMOVHANG", + "ITEM_SETCREAT", + "ITEM_SETSTK", + "ITEM_SIOC", + "ITEM_SUFFOSTK", + "ITEM_TAPING" + ], + "x-docgen-enum-table-extension": [ + { + "value": "ITEM_BLACK_SHRINKWRAP", + "description": "The item requires black shrink wrapping." + }, + { + "value": "ITEM_BLANKSTK", + "description": "The item requires a blank sticker to obscure a bad barcode that cannot be covered by another sticker." + }, + { + "value": "ITEM_BOXING", + "description": "Products may require overboxing when there are safety concerns over sharp items, fragile items, hazardous liquids, and vinyl records. For items over 4.5 kg, use double-wall corrugated boxes." + }, + { + "value": "ITEM_BUBBLEWRAP", + "description": "The item requires bubble wrapping." + }, + { + "value": "ITEM_CAP_SEALING", + "description": "To prevent leakage, the product needs to have a secondary seal in one of the following types: Induction seal, safety ring, clips, heat shrink plastic band, or boxing." + }, + { + "value": "ITEM_DEBUNDLE", + "description": "The item requires taking apart a set of items labeled for individual sale. Remove tape or shrink wrap that groups multiple inventory units together." + }, + { + "value": "ITEM_HANG_GARMENT", + "description": "The item must be placed on a hanger." + }, + { + "value": "ITEM_LABELING", + "description": "The FNSKU label must be applied to the item." + }, + { + "value": "ITEM_NO_PREP", + "description": "The item does not require any prep." + }, + { + "value": "ITEM_POLYBAGGING", + "description": "The item requires polybagging." + }, + { + "value": "ITEM_RMOVHANG", + "description": "The item cannot be shipped on a hanger." + }, + { + "value": "ITEM_SETCREAT", + "description": "Units that are sets must be labeled as sets on their packaging. The barcodes on the individual items must not face outward and must not require covering." + }, + { + "value": "ITEM_SETSTK", + "description": "Products that are sets must be marked as sets on their packaging. Add a label to the unit that clearly states that the products must be received and sold as a single unit. For example, if a set of six unique toy cars is sold as one unit, the packaging for each car must indicate that it is part of the set. " + }, + { + "value": "ITEM_SIOC", + "description": "The item ships in its original product packaging." + }, + { + "value": "ITEM_SUFFOSTK", + "description": "Poly bags with an opening of 12 cm or larger (measured when flat) must have a suffocation warning. This warning must be printed on the bag or attached as a label." + }, + { + "value": "ITEM_TAPING", + "description": "Indicates that taping is required." + } + ] + }, "Quote": { "required": [ "cost" @@ -15671,7 +16496,7 @@ }, "expiration": { "type": "string", - "description": "The timestamp at which this transportation option quote becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which this transportation option quote expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", "format": "date-time" }, "voidableUntil": { @@ -15882,12 +16707,12 @@ "properties": { "expiresAt": { "type": "string", - "description": "The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.", + "description": "The time at which the self ship appointment slot expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.", "format": "date-time" }, "slots": { "type": "array", - "description": "List of appointment slots.", + "description": "A list of appointment slots.", "items": { "$ref": "#/components/schemas/AppointmentSlot" } @@ -15916,7 +16741,6 @@ { "boxes": [ { - "boxId": "FBA10ABC0YY100001", "contentInformationSource": "BOX_CONTENT_PROVIDED", "dimensions": { "height": 5, @@ -15963,6 +16787,59 @@ }, "description": "The `setPackingInformation` response." }, + "SetPrepDetailsRequest": { + "required": [ + "marketplaceId", + "mskuPrepDetails" + ], + "type": "object", + "properties": { + "marketplaceId": { + "maxLength": 20, + "minLength": 1, + "type": "string", + "description": "The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids)." + }, + "mskuPrepDetails": { + "maxItems": 100, + "minItems": 1, + "type": "array", + "description": "A list of MSKUs and related prep details.", + "items": { + "$ref": "#/components/schemas/MskuPrepDetailInput" + } + } + }, + "description": "The `setPrepDetails` request.", + "example": { + "marketplaceId": "A2EUQ1WTGCTBG2", + "mskuPrepDetails": [ + { + "msku": "msku", + "prepCategory": "NONE", + "prepTypes": [ + "ITEM_NO_PREP" + ] + } + ] + } + }, + "SetPrepDetailsResponse": { + "required": [ + "operationId" + ], + "type": "object", + "properties": { + "operationId": { + "maxLength": 38, + "minLength": 36, + "pattern": "^[a-zA-Z0-9-]*$", + "type": "string", + "description": "UUID for the given operation." + } + }, + "description": "The `setPrepDetails` response." + }, "Shipment": { "required": [ "destination", @@ -16038,7 +16915,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a shipment. The state of the shipment will typically start in `WORKING` and transition to `READY_TO_SHIP` once required actions are complete prior to being picked up or shipped out. Can be `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, or `WORKING`." + "description": "The status of a shipment. The state of the shipment will typically start as `UNCONFIRMED`, then transition to `WORKING` after a placement option has been confirmed, and then to `READY_TO_SHIP` once labels are generated.\n\nPossible values: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `UNCONFIRMED`, `WORKING`" }, "trackingDetails": { "$ref": "#/components/schemas/TrackingDetails" @@ -16085,7 +16962,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The type of destination for this shipment. Can be: `AMAZON_OPTIMIZED`, `AMAZON_WAREHOUSE`." + "description": "The type of destination for this shipment. Possible values: `AMAZON_OPTIMIZED`, `AMAZON_WAREHOUSE`." }, "warehouseId": { "maxLength": 1024, @@ -16109,7 +16986,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The type of source for this shipment. Can be: `SELLER_FACILITY`." + "description": "The type of source for this shipment. Possible values: `SELLER_FACILITY`." } }, "description": "Specifies the 'ship from' address for the shipment." @@ -16132,7 +17009,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "The status of a shipment. The state of the shipment will typically start in `WORKING` and transition to `READY_TO_SHIP` once required actions are complete prior to being picked up or shipped out. Can be: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `WORKING`." + "description": "The status of a shipment. The state of the shipment will typically start as `UNCONFIRMED`, then transition to `WORKING` after a placement option has been confirmed, and then to `READY_TO_SHIP` once labels are generated.\n\nPossible values: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `UNCONFIRMED`, `WORKING`" } }, "description": "Summary information about a shipment.", @@ -16181,13 +17058,13 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Mode of shipment transportation that this option will provide. Can be: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`." + "description": "Mode of shipment transportation that this option will provide.\n\nPossible values: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`." }, "shippingSolution": { "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Shipping program for the option. Can be: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`." + "description": "Shipping program for the option. Possible values: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`." } }, "description": "The shipping configurations supported for the packing option. Available modes are ground small parcel, freight less-than-truckload (LTL), freight full-truckload (FTL) palletized, freight FTL non-palletized, ocean less-than-container-load (LCL), ocean full-container load (FCL), air small parcel, and air small parcel express." @@ -16248,7 +17125,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Whether or not Amazon has validated the tracking number. If more than 24 hours have passed and the status is not yet 'VALIDATED', please verify the number and update if necessary. Can be: `VALIDATED`, `NOT_VALIDATED`." + "description": "Whether or not Amazon has validated the tracking number. If more than 24 hours have passed and the status is not yet 'VALIDATED', please verify the number and update if necessary. Possible values: `VALIDATED`, `NOT_VALIDATED`." } }, "description": "Contains information used to track and identify a Small Parcel Delivery (SPD) item." @@ -16334,7 +17211,7 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Type of tax. Can be: `CGST`, `SGST`, `IGST`, `TOTAL_TAX`." + "description": "Type of tax. Possible values: `CGST`, `SGST`, `IGST`, `TOTAL_TAX`." } }, "description": "Contains the type and rate of tax." @@ -16410,13 +17287,13 @@ "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Mode of shipment transportation that this option will provide. Can be: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`." + "description": "Mode of shipment transportation that this option will provide.\n\nPossible values: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`." }, "shippingSolution": { "maxLength": 1024, "minLength": 1, "type": "string", - "description": "Shipping program for the option. Can be: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`." + "description": "Shipping program for the option. Possible values: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`." }, "transportationOptionId": { "maxLength": 38, @@ -16736,7 +17613,7 @@ "properties": { "start": { "type": "string", - "description": "The start date of the window. The time component must be zero.", + "description": "The start date of the window. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with minute precision. Supports patterns `yyyy-MM-ddTHH:mmZ`, `yyyy-MM-ddTHH:mm:ssZ`, or `yyyy-MM-ddTHH:mm:ss.sssZ`. Note that non-zero second and millisecond components are removed.", "format": "date-time" } }, diff --git a/src/Seller/APlusContentV20201101/Dto/AplusPaginatedResponse.php b/src/Seller/APlusContentV20201101/Dto/AplusPaginatedResponse.php index 6844cc950..febdc5db1 100644 --- a/src/Seller/APlusContentV20201101/Dto/AplusPaginatedResponse.php +++ b/src/Seller/APlusContentV20201101/Dto/AplusPaginatedResponse.php @@ -21,7 +21,7 @@ final class AplusPaginatedResponse extends Dto * @param ?string $nextPageToken A page token that is returned when the results of the call exceed the page size. To get another page of results, call the operation again, passing in this value with the pageToken parameter. */ public function __construct( - public readonly ?array $warnings = null, - public readonly ?string $nextPageToken = null, + public ?array $warnings = null, + public ?string $nextPageToken = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/AplusResponse.php b/src/Seller/APlusContentV20201101/Dto/AplusResponse.php index cc5c5056c..1e0495607 100644 --- a/src/Seller/APlusContentV20201101/Dto/AplusResponse.php +++ b/src/Seller/APlusContentV20201101/Dto/AplusResponse.php @@ -20,6 +20,6 @@ final class AplusResponse extends Dto * @param Error[]|null $warnings A set of messages to the user, such as warnings or comments. */ public function __construct( - public readonly ?array $warnings = null, + public ?array $warnings = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/AsinMetadata.php b/src/Seller/APlusContentV20201101/Dto/AsinMetadata.php index df987b586..3f5163513 100644 --- a/src/Seller/APlusContentV20201101/Dto/AsinMetadata.php +++ b/src/Seller/APlusContentV20201101/Dto/AsinMetadata.php @@ -23,11 +23,11 @@ final class AsinMetadata extends Dto * @param ?string[] $contentReferenceKeySet A set of content reference keys. */ public function __construct( - public readonly string $asin, - public readonly ?array $badgeSet = null, - public readonly ?string $parent = null, - public readonly ?string $title = null, - public readonly ?string $imageUrl = null, - public readonly ?array $contentReferenceKeySet = null, + public string $asin, + public ?array $badgeSet = null, + public ?string $parent = null, + public ?string $title = null, + public ?string $imageUrl = null, + public ?array $contentReferenceKeySet = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ContentDocument.php b/src/Seller/APlusContentV20201101/Dto/ContentDocument.php index 50927201b..dbc4ae47a 100644 --- a/src/Seller/APlusContentV20201101/Dto/ContentDocument.php +++ b/src/Seller/APlusContentV20201101/Dto/ContentDocument.php @@ -25,10 +25,10 @@ final class ContentDocument extends Dto * @param ?string $contentSubType The A+ Content document subtype. This represents a special-purpose type of an A+ Content document. Not every A+ Content document type will have a subtype, and subtypes may change at any time. */ public function __construct( - public readonly string $name, - public readonly string $contentType, - public readonly string $locale, - public readonly array $contentModuleList, - public readonly ?string $contentSubType = null, + public string $name, + public string $contentType, + public string $locale, + public array $contentModuleList, + public ?string $contentSubType = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ContentMetadata.php b/src/Seller/APlusContentV20201101/Dto/ContentMetadata.php index d6b1eca90..897a08524 100644 --- a/src/Seller/APlusContentV20201101/Dto/ContentMetadata.php +++ b/src/Seller/APlusContentV20201101/Dto/ContentMetadata.php @@ -22,10 +22,10 @@ final class ContentMetadata extends Dto * @param \DateTimeInterface $updateTime The approximate age of the A+ Content document and metadata. */ public function __construct( - public readonly string $name, - public readonly string $marketplaceId, - public readonly string $status, - public readonly array $badgeSet, - public readonly \DateTimeInterface $updateTime, + public string $name, + public string $marketplaceId, + public string $status, + public array $badgeSet, + public \DateTimeInterface $updateTime, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ContentMetadataRecord.php b/src/Seller/APlusContentV20201101/Dto/ContentMetadataRecord.php index adaed5198..6f6f73623 100644 --- a/src/Seller/APlusContentV20201101/Dto/ContentMetadataRecord.php +++ b/src/Seller/APlusContentV20201101/Dto/ContentMetadataRecord.php @@ -19,7 +19,7 @@ final class ContentMetadataRecord extends Dto * @param ContentMetadata $contentMetadata The metadata of an A+ Content document. */ public function __construct( - public readonly string $contentReferenceKey, - public readonly ContentMetadata $contentMetadata, + public string $contentReferenceKey, + public ContentMetadata $contentMetadata, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ContentModule.php b/src/Seller/APlusContentV20201101/Dto/ContentModule.php index 47f94da0c..1f8d7ad0e 100644 --- a/src/Seller/APlusContentV20201101/Dto/ContentModule.php +++ b/src/Seller/APlusContentV20201101/Dto/ContentModule.php @@ -33,21 +33,21 @@ final class ContentModule extends Dto * @param ?StandardThreeImageTextModule $standardThreeImageText Three standard images with text, presented across a single row. */ public function __construct( - public readonly string $contentModuleType, - public readonly ?StandardCompanyLogoModule $standardCompanyLogo = null, - public readonly ?StandardComparisonTableModule $standardComparisonTable = null, - public readonly ?StandardFourImageTextModule $standardFourImageText = null, - public readonly ?StandardFourImageTextQuadrantModule $standardFourImageTextQuadrant = null, - public readonly ?StandardHeaderImageTextModule $standardHeaderImageText = null, - public readonly ?StandardImageSidebarModule $standardImageSidebar = null, - public readonly ?StandardImageTextOverlayModule $standardImageTextOverlay = null, - public readonly ?StandardMultipleImageTextModule $standardMultipleImageText = null, - public readonly ?StandardProductDescriptionModule $standardProductDescription = null, - public readonly ?StandardSingleImageHighlightsModule $standardSingleImageHighlights = null, - public readonly ?StandardSingleImageSpecsDetailModule $standardSingleImageSpecsDetail = null, - public readonly ?StandardSingleSideImageModule $standardSingleSideImage = null, - public readonly ?StandardTechSpecsModule $standardTechSpecs = null, - public readonly ?StandardTextModule $standardText = null, - public readonly ?StandardThreeImageTextModule $standardThreeImageText = null, + public string $contentModuleType, + public ?StandardCompanyLogoModule $standardCompanyLogo = null, + public ?StandardComparisonTableModule $standardComparisonTable = null, + public ?StandardFourImageTextModule $standardFourImageText = null, + public ?StandardFourImageTextQuadrantModule $standardFourImageTextQuadrant = null, + public ?StandardHeaderImageTextModule $standardHeaderImageText = null, + public ?StandardImageSidebarModule $standardImageSidebar = null, + public ?StandardImageTextOverlayModule $standardImageTextOverlay = null, + public ?StandardMultipleImageTextModule $standardMultipleImageText = null, + public ?StandardProductDescriptionModule $standardProductDescription = null, + public ?StandardSingleImageHighlightsModule $standardSingleImageHighlights = null, + public ?StandardSingleImageSpecsDetailModule $standardSingleImageSpecsDetail = null, + public ?StandardSingleSideImageModule $standardSingleSideImage = null, + public ?StandardTechSpecsModule $standardTechSpecs = null, + public ?StandardTextModule $standardText = null, + public ?StandardThreeImageTextModule $standardThreeImageText = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ContentRecord.php b/src/Seller/APlusContentV20201101/Dto/ContentRecord.php index e0ef2e784..24ce1a843 100644 --- a/src/Seller/APlusContentV20201101/Dto/ContentRecord.php +++ b/src/Seller/APlusContentV20201101/Dto/ContentRecord.php @@ -20,8 +20,8 @@ final class ContentRecord extends Dto * @param ?ContentDocument $contentDocument The A+ Content document. This is the enhanced content that is published to product detail pages. */ public function __construct( - public readonly string $contentReferenceKey, - public readonly ?ContentMetadata $contentMetadata = null, - public readonly ?ContentDocument $contentDocument = null, + public string $contentReferenceKey, + public ?ContentMetadata $contentMetadata = null, + public ?ContentDocument $contentDocument = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/Decorator.php b/src/Seller/APlusContentV20201101/Dto/Decorator.php index 331d0bf9b..036c4742d 100644 --- a/src/Seller/APlusContentV20201101/Dto/Decorator.php +++ b/src/Seller/APlusContentV20201101/Dto/Decorator.php @@ -21,9 +21,9 @@ final class Decorator extends Dto * @param ?int $depth The relative intensity or variation of this decorator. Decorators such as bullet-points, for example, can have multiple indentation depths. */ public function __construct( - public readonly ?string $type = null, - public readonly ?int $offset = null, - public readonly ?int $length = null, - public readonly ?int $depth = null, + public ?string $type = null, + public ?int $offset = null, + public ?int $length = null, + public ?int $depth = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/Error.php b/src/Seller/APlusContentV20201101/Dto/Error.php index d6ece1ceb..8a696803c 100644 --- a/src/Seller/APlusContentV20201101/Dto/Error.php +++ b/src/Seller/APlusContentV20201101/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional information, if available, to clarify the error condition. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ImageComponent.php b/src/Seller/APlusContentV20201101/Dto/ImageComponent.php index 1a2eb6aa1..e56c07d6c 100644 --- a/src/Seller/APlusContentV20201101/Dto/ImageComponent.php +++ b/src/Seller/APlusContentV20201101/Dto/ImageComponent.php @@ -20,8 +20,8 @@ final class ImageComponent extends Dto * @param string $altText The alternative text for the image. */ public function __construct( - public readonly string $uploadDestinationId, - public readonly ImageCropSpecification $imageCropSpecification, - public readonly string $altText, + public string $uploadDestinationId, + public ImageCropSpecification $imageCropSpecification, + public string $altText, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ImageCropSpecification.php b/src/Seller/APlusContentV20201101/Dto/ImageCropSpecification.php index b7a140dd7..b161c596c 100644 --- a/src/Seller/APlusContentV20201101/Dto/ImageCropSpecification.php +++ b/src/Seller/APlusContentV20201101/Dto/ImageCropSpecification.php @@ -19,7 +19,7 @@ final class ImageCropSpecification extends Dto * @param ?ImageOffsets $offset The top left corner of the cropped image, specified in the original image's coordinate space. */ public function __construct( - public readonly ImageDimensions $size, - public readonly ?ImageOffsets $offset = null, + public ImageDimensions $size, + public ?ImageOffsets $offset = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ImageDimensions.php b/src/Seller/APlusContentV20201101/Dto/ImageDimensions.php index 06d0ece8a..12b87b760 100644 --- a/src/Seller/APlusContentV20201101/Dto/ImageDimensions.php +++ b/src/Seller/APlusContentV20201101/Dto/ImageDimensions.php @@ -19,7 +19,7 @@ final class ImageDimensions extends Dto * @param IntegerWithUnits $height A whole number dimension and its unit of measurement. For example, this can represent 100 pixels. */ public function __construct( - public readonly IntegerWithUnits $width, - public readonly IntegerWithUnits $height, + public IntegerWithUnits $width, + public IntegerWithUnits $height, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ImageOffsets.php b/src/Seller/APlusContentV20201101/Dto/ImageOffsets.php index 733d9b0d2..e48640b89 100644 --- a/src/Seller/APlusContentV20201101/Dto/ImageOffsets.php +++ b/src/Seller/APlusContentV20201101/Dto/ImageOffsets.php @@ -19,7 +19,7 @@ final class ImageOffsets extends Dto * @param IntegerWithUnits $y A whole number dimension and its unit of measurement. For example, this can represent 100 pixels. */ public function __construct( - public readonly IntegerWithUnits $x, - public readonly IntegerWithUnits $y, + public IntegerWithUnits $x, + public IntegerWithUnits $y, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/IntegerWithUnits.php b/src/Seller/APlusContentV20201101/Dto/IntegerWithUnits.php index cac7ae600..57b78d932 100644 --- a/src/Seller/APlusContentV20201101/Dto/IntegerWithUnits.php +++ b/src/Seller/APlusContentV20201101/Dto/IntegerWithUnits.php @@ -19,7 +19,7 @@ final class IntegerWithUnits extends Dto * @param string $units The unit of measurement. */ public function __construct( - public readonly int $value, - public readonly string $units, + public int $value, + public string $units, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/ParagraphComponent.php b/src/Seller/APlusContentV20201101/Dto/ParagraphComponent.php index 4cc635a44..cb5ddd961 100644 --- a/src/Seller/APlusContentV20201101/Dto/ParagraphComponent.php +++ b/src/Seller/APlusContentV20201101/Dto/ParagraphComponent.php @@ -20,6 +20,6 @@ final class ParagraphComponent extends Dto * @param TextComponent[] $textList */ public function __construct( - public readonly array $textList, + public array $textList, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/PlainTextItem.php b/src/Seller/APlusContentV20201101/Dto/PlainTextItem.php index ea099df42..64ea7c3d9 100644 --- a/src/Seller/APlusContentV20201101/Dto/PlainTextItem.php +++ b/src/Seller/APlusContentV20201101/Dto/PlainTextItem.php @@ -19,7 +19,7 @@ final class PlainTextItem extends Dto * @param string $value The actual plain text. */ public function __construct( - public readonly int $position, - public readonly string $value, + public int $position, + public string $value, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/PostContentDocumentAsinRelationsRequest.php b/src/Seller/APlusContentV20201101/Dto/PostContentDocumentAsinRelationsRequest.php index 1d35b509d..b8f27f73a 100644 --- a/src/Seller/APlusContentV20201101/Dto/PostContentDocumentAsinRelationsRequest.php +++ b/src/Seller/APlusContentV20201101/Dto/PostContentDocumentAsinRelationsRequest.php @@ -18,6 +18,6 @@ final class PostContentDocumentAsinRelationsRequest extends Dto * @param string[] $asinSet The set of ASINs. */ public function __construct( - public readonly array $asinSet, + public array $asinSet, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/PostContentDocumentRequest.php b/src/Seller/APlusContentV20201101/Dto/PostContentDocumentRequest.php index 9a4bbbf86..ca42abe41 100644 --- a/src/Seller/APlusContentV20201101/Dto/PostContentDocumentRequest.php +++ b/src/Seller/APlusContentV20201101/Dto/PostContentDocumentRequest.php @@ -18,6 +18,6 @@ final class PostContentDocumentRequest extends Dto * @param ContentDocument $contentDocument The A+ Content document. This is the enhanced content that is published to product detail pages. */ public function __construct( - public readonly ContentDocument $contentDocument, + public ContentDocument $contentDocument, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/PublishRecord.php b/src/Seller/APlusContentV20201101/Dto/PublishRecord.php index 8fba05c3f..1965d4895 100644 --- a/src/Seller/APlusContentV20201101/Dto/PublishRecord.php +++ b/src/Seller/APlusContentV20201101/Dto/PublishRecord.php @@ -24,11 +24,11 @@ final class PublishRecord extends Dto * @param ?string $contentSubType The A+ Content document subtype. This represents a special-purpose type of an A+ Content document. Not every A+ Content document type will have a subtype, and subtypes may change at any time. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $locale, - public readonly string $asin, - public readonly string $contentType, - public readonly string $contentReferenceKey, - public readonly ?string $contentSubType = null, + public string $marketplaceId, + public string $locale, + public string $asin, + public string $contentType, + public string $contentReferenceKey, + public ?string $contentSubType = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardCompanyLogoModule.php b/src/Seller/APlusContentV20201101/Dto/StandardCompanyLogoModule.php index b922fec4d..bda5e46ff 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardCompanyLogoModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardCompanyLogoModule.php @@ -18,6 +18,6 @@ final class StandardCompanyLogoModule extends Dto * @param ImageComponent $companyLogo A reference to an image, hosted in the A+ Content media library. */ public function __construct( - public readonly ImageComponent $companyLogo, + public ImageComponent $companyLogo, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardComparisonProductBlock.php b/src/Seller/APlusContentV20201101/Dto/StandardComparisonProductBlock.php index d6ecca9e2..64a311ee6 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardComparisonProductBlock.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardComparisonProductBlock.php @@ -25,11 +25,11 @@ final class StandardComparisonProductBlock extends Dto * @param PlainTextItem[]|null $metrics Comparison metrics for the product. */ public function __construct( - public readonly int $position, - public readonly ?ImageComponent $image = null, - public readonly ?string $title = null, - public readonly ?string $asin = null, - public readonly ?bool $highlight = null, - public readonly ?array $metrics = null, + public int $position, + public ?ImageComponent $image = null, + public ?string $title = null, + public ?string $asin = null, + public ?bool $highlight = null, + public ?array $metrics = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardComparisonTableModule.php b/src/Seller/APlusContentV20201101/Dto/StandardComparisonTableModule.php index 19365209f..d98a8184c 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardComparisonTableModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardComparisonTableModule.php @@ -24,7 +24,7 @@ final class StandardComparisonTableModule extends Dto * @param PlainTextItem[]|null $metricRowLabels */ public function __construct( - public readonly ?array $productColumns = null, - public readonly ?array $metricRowLabels = null, + public ?array $productColumns = null, + public ?array $metricRowLabels = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardFourImageTextModule.php b/src/Seller/APlusContentV20201101/Dto/StandardFourImageTextModule.php index 861c8f6ac..151034eb4 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardFourImageTextModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardFourImageTextModule.php @@ -22,10 +22,10 @@ final class StandardFourImageTextModule extends Dto * @param ?StandardImageTextBlock $block4 The A+ Content standard image and text box block. */ public function __construct( - public readonly ?TextComponent $headline = null, - public readonly ?StandardImageTextBlock $block1 = null, - public readonly ?StandardImageTextBlock $block2 = null, - public readonly ?StandardImageTextBlock $block3 = null, - public readonly ?StandardImageTextBlock $block4 = null, + public ?TextComponent $headline = null, + public ?StandardImageTextBlock $block1 = null, + public ?StandardImageTextBlock $block2 = null, + public ?StandardImageTextBlock $block3 = null, + public ?StandardImageTextBlock $block4 = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardFourImageTextQuadrantModule.php b/src/Seller/APlusContentV20201101/Dto/StandardFourImageTextQuadrantModule.php index 58dda4fe5..96b86e81e 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardFourImageTextQuadrantModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardFourImageTextQuadrantModule.php @@ -21,9 +21,9 @@ final class StandardFourImageTextQuadrantModule extends Dto * @param StandardImageTextBlock $block4 The A+ Content standard image and text box block. */ public function __construct( - public readonly StandardImageTextBlock $block1, - public readonly StandardImageTextBlock $block2, - public readonly StandardImageTextBlock $block3, - public readonly StandardImageTextBlock $block4, + public StandardImageTextBlock $block1, + public StandardImageTextBlock $block2, + public StandardImageTextBlock $block3, + public StandardImageTextBlock $block4, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardHeaderImageTextModule.php b/src/Seller/APlusContentV20201101/Dto/StandardHeaderImageTextModule.php index 3864b0c83..255b3009e 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardHeaderImageTextModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardHeaderImageTextModule.php @@ -19,7 +19,7 @@ final class StandardHeaderImageTextModule extends Dto * @param ?StandardImageTextBlock $block The A+ Content standard image and text box block. */ public function __construct( - public readonly ?TextComponent $headline = null, - public readonly ?StandardImageTextBlock $block = null, + public ?TextComponent $headline = null, + public ?StandardImageTextBlock $block = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardHeaderTextListBlock.php b/src/Seller/APlusContentV20201101/Dto/StandardHeaderTextListBlock.php index eafb16412..e442d3100 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardHeaderTextListBlock.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardHeaderTextListBlock.php @@ -19,7 +19,7 @@ final class StandardHeaderTextListBlock extends Dto * @param ?StandardTextListBlock $block The A+ Content standard fixed length list of text, usually presented as bullet points. */ public function __construct( - public readonly ?TextComponent $headline = null, - public readonly ?StandardTextListBlock $block = null, + public ?TextComponent $headline = null, + public ?StandardTextListBlock $block = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardImageCaptionBlock.php b/src/Seller/APlusContentV20201101/Dto/StandardImageCaptionBlock.php index 0dcdbaac9..252802731 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardImageCaptionBlock.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardImageCaptionBlock.php @@ -19,7 +19,7 @@ final class StandardImageCaptionBlock extends Dto * @param ?TextComponent $caption Rich text content. */ public function __construct( - public readonly ?ImageComponent $image = null, - public readonly ?TextComponent $caption = null, + public ?ImageComponent $image = null, + public ?TextComponent $caption = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardImageSidebarModule.php b/src/Seller/APlusContentV20201101/Dto/StandardImageSidebarModule.php index 172c647ad..9a1481c1b 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardImageSidebarModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardImageSidebarModule.php @@ -23,11 +23,11 @@ final class StandardImageSidebarModule extends Dto * @param ?StandardTextListBlock $sidebarListBlock The A+ Content standard fixed length list of text, usually presented as bullet points. */ public function __construct( - public readonly ?TextComponent $headline = null, - public readonly ?StandardImageCaptionBlock $imageCaptionBlock = null, - public readonly ?StandardTextBlock $descriptionTextBlock = null, - public readonly ?StandardTextListBlock $descriptionListBlock = null, - public readonly ?StandardImageTextBlock $sidebarImageTextBlock = null, - public readonly ?StandardTextListBlock $sidebarListBlock = null, + public ?TextComponent $headline = null, + public ?StandardImageCaptionBlock $imageCaptionBlock = null, + public ?StandardTextBlock $descriptionTextBlock = null, + public ?StandardTextListBlock $descriptionListBlock = null, + public ?StandardImageTextBlock $sidebarImageTextBlock = null, + public ?StandardTextListBlock $sidebarListBlock = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardImageTextBlock.php b/src/Seller/APlusContentV20201101/Dto/StandardImageTextBlock.php index acd980c79..8b082db95 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardImageTextBlock.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardImageTextBlock.php @@ -20,8 +20,8 @@ final class StandardImageTextBlock extends Dto * @param ?ParagraphComponent $body A list of rich text content, usually presented in a text box. */ public function __construct( - public readonly ?ImageComponent $image = null, - public readonly ?TextComponent $headline = null, - public readonly ?ParagraphComponent $body = null, + public ?ImageComponent $image = null, + public ?TextComponent $headline = null, + public ?ParagraphComponent $body = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardImageTextCaptionBlock.php b/src/Seller/APlusContentV20201101/Dto/StandardImageTextCaptionBlock.php index c8b84f7d5..dd918af4c 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardImageTextCaptionBlock.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardImageTextCaptionBlock.php @@ -19,7 +19,7 @@ final class StandardImageTextCaptionBlock extends Dto * @param ?TextComponent $caption Rich text content. */ public function __construct( - public readonly ?StandardImageTextBlock $block = null, - public readonly ?TextComponent $caption = null, + public ?StandardImageTextBlock $block = null, + public ?TextComponent $caption = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardImageTextOverlayModule.php b/src/Seller/APlusContentV20201101/Dto/StandardImageTextOverlayModule.php index 13ebf6fd6..d7bb7fada 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardImageTextOverlayModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardImageTextOverlayModule.php @@ -19,7 +19,7 @@ final class StandardImageTextOverlayModule extends Dto * @param ?StandardImageTextBlock $block The A+ Content standard image and text box block. */ public function __construct( - public readonly string $overlayColorType, - public readonly ?StandardImageTextBlock $block = null, + public string $overlayColorType, + public ?StandardImageTextBlock $block = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardMultipleImageTextModule.php b/src/Seller/APlusContentV20201101/Dto/StandardMultipleImageTextModule.php index 26617d280..af57689c3 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardMultipleImageTextModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardMultipleImageTextModule.php @@ -20,6 +20,6 @@ final class StandardMultipleImageTextModule extends Dto * @param StandardImageTextCaptionBlock[]|null $blocks */ public function __construct( - public readonly ?array $blocks = null, + public ?array $blocks = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardProductDescriptionModule.php b/src/Seller/APlusContentV20201101/Dto/StandardProductDescriptionModule.php index 5362d4d7e..46672460c 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardProductDescriptionModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardProductDescriptionModule.php @@ -18,6 +18,6 @@ final class StandardProductDescriptionModule extends Dto * @param ParagraphComponent $body A list of rich text content, usually presented in a text box. */ public function __construct( - public readonly ParagraphComponent $body, + public ParagraphComponent $body, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardSingleImageHighlightsModule.php b/src/Seller/APlusContentV20201101/Dto/StandardSingleImageHighlightsModule.php index 48deceb09..f7381b4b4 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardSingleImageHighlightsModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardSingleImageHighlightsModule.php @@ -23,11 +23,11 @@ final class StandardSingleImageHighlightsModule extends Dto * @param ?StandardHeaderTextListBlock $bulletedListBlock The A+ standard fixed-length list of text, with a related headline. */ public function __construct( - public readonly ?ImageComponent $image = null, - public readonly ?TextComponent $headline = null, - public readonly ?StandardTextBlock $textBlock1 = null, - public readonly ?StandardTextBlock $textBlock2 = null, - public readonly ?StandardTextBlock $textBlock3 = null, - public readonly ?StandardHeaderTextListBlock $bulletedListBlock = null, + public ?ImageComponent $image = null, + public ?TextComponent $headline = null, + public ?StandardTextBlock $textBlock1 = null, + public ?StandardTextBlock $textBlock2 = null, + public ?StandardTextBlock $textBlock3 = null, + public ?StandardHeaderTextListBlock $bulletedListBlock = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardSingleImageSpecsDetailModule.php b/src/Seller/APlusContentV20201101/Dto/StandardSingleImageSpecsDetailModule.php index c1c5d1931..dec6df2d2 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardSingleImageSpecsDetailModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardSingleImageSpecsDetailModule.php @@ -25,13 +25,13 @@ final class StandardSingleImageSpecsDetailModule extends Dto * @param ?StandardTextBlock $specificationTextBlock The A+ Content standard text box block, comprised of a paragraph with a headline. */ public function __construct( - public readonly ?TextComponent $headline = null, - public readonly ?ImageComponent $image = null, - public readonly ?TextComponent $descriptionHeadline = null, - public readonly ?StandardTextBlock $descriptionBlock1 = null, - public readonly ?StandardTextBlock $descriptionBlock2 = null, - public readonly ?TextComponent $specificationHeadline = null, - public readonly ?StandardHeaderTextListBlock $specificationListBlock = null, - public readonly ?StandardTextBlock $specificationTextBlock = null, + public ?TextComponent $headline = null, + public ?ImageComponent $image = null, + public ?TextComponent $descriptionHeadline = null, + public ?StandardTextBlock $descriptionBlock1 = null, + public ?StandardTextBlock $descriptionBlock2 = null, + public ?TextComponent $specificationHeadline = null, + public ?StandardHeaderTextListBlock $specificationListBlock = null, + public ?StandardTextBlock $specificationTextBlock = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardSingleSideImageModule.php b/src/Seller/APlusContentV20201101/Dto/StandardSingleSideImageModule.php index ee2e20af6..112a14bc6 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardSingleSideImageModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardSingleSideImageModule.php @@ -19,7 +19,7 @@ final class StandardSingleSideImageModule extends Dto * @param ?StandardImageTextBlock $block The A+ Content standard image and text box block. */ public function __construct( - public readonly string $imagePositionType, - public readonly ?StandardImageTextBlock $block = null, + public string $imagePositionType, + public ?StandardImageTextBlock $block = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardTechSpecsModule.php b/src/Seller/APlusContentV20201101/Dto/StandardTechSpecsModule.php index 448d72bf7..679b16110 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardTechSpecsModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardTechSpecsModule.php @@ -22,8 +22,8 @@ final class StandardTechSpecsModule extends Dto * @param ?int $tableCount The number of tables to present. Features are evenly divided between the tables. */ public function __construct( - public readonly array $specificationList, - public readonly ?TextComponent $headline = null, - public readonly ?int $tableCount = null, + public array $specificationList, + public ?TextComponent $headline = null, + public ?int $tableCount = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardTextBlock.php b/src/Seller/APlusContentV20201101/Dto/StandardTextBlock.php index 6d91ff5b6..c999eade4 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardTextBlock.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardTextBlock.php @@ -19,7 +19,7 @@ final class StandardTextBlock extends Dto * @param ?ParagraphComponent $body A list of rich text content, usually presented in a text box. */ public function __construct( - public readonly ?TextComponent $headline = null, - public readonly ?ParagraphComponent $body = null, + public ?TextComponent $headline = null, + public ?ParagraphComponent $body = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardTextListBlock.php b/src/Seller/APlusContentV20201101/Dto/StandardTextListBlock.php index 90798f095..a2cba5026 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardTextListBlock.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardTextListBlock.php @@ -20,6 +20,6 @@ final class StandardTextListBlock extends Dto * @param TextItem[] $textList */ public function __construct( - public readonly array $textList, + public array $textList, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardTextModule.php b/src/Seller/APlusContentV20201101/Dto/StandardTextModule.php index a36dbeb14..7527bbc3c 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardTextModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardTextModule.php @@ -19,7 +19,7 @@ final class StandardTextModule extends Dto * @param ?TextComponent $headline Rich text content. */ public function __construct( - public readonly ParagraphComponent $body, - public readonly ?TextComponent $headline = null, + public ParagraphComponent $body, + public ?TextComponent $headline = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardTextPairBlock.php b/src/Seller/APlusContentV20201101/Dto/StandardTextPairBlock.php index 7e4337479..0c392204d 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardTextPairBlock.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardTextPairBlock.php @@ -19,7 +19,7 @@ final class StandardTextPairBlock extends Dto * @param ?TextComponent $description Rich text content. */ public function __construct( - public readonly ?TextComponent $label = null, - public readonly ?TextComponent $description = null, + public ?TextComponent $label = null, + public ?TextComponent $description = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/StandardThreeImageTextModule.php b/src/Seller/APlusContentV20201101/Dto/StandardThreeImageTextModule.php index 3f38a50b9..92df52ed7 100644 --- a/src/Seller/APlusContentV20201101/Dto/StandardThreeImageTextModule.php +++ b/src/Seller/APlusContentV20201101/Dto/StandardThreeImageTextModule.php @@ -21,9 +21,9 @@ final class StandardThreeImageTextModule extends Dto * @param ?StandardImageTextBlock $block3 The A+ Content standard image and text box block. */ public function __construct( - public readonly ?TextComponent $headline = null, - public readonly ?StandardImageTextBlock $block1 = null, - public readonly ?StandardImageTextBlock $block2 = null, - public readonly ?StandardImageTextBlock $block3 = null, + public ?TextComponent $headline = null, + public ?StandardImageTextBlock $block1 = null, + public ?StandardImageTextBlock $block2 = null, + public ?StandardImageTextBlock $block3 = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/TextComponent.php b/src/Seller/APlusContentV20201101/Dto/TextComponent.php index c50786ee5..3fb6cf816 100644 --- a/src/Seller/APlusContentV20201101/Dto/TextComponent.php +++ b/src/Seller/APlusContentV20201101/Dto/TextComponent.php @@ -21,7 +21,7 @@ final class TextComponent extends Dto * @param Decorator[]|null $decoratorSet A set of content decorators. */ public function __construct( - public readonly string $value, - public readonly ?array $decoratorSet = null, + public string $value, + public ?array $decoratorSet = null, ) {} } diff --git a/src/Seller/APlusContentV20201101/Dto/TextItem.php b/src/Seller/APlusContentV20201101/Dto/TextItem.php index b19e4f339..553c0ce78 100644 --- a/src/Seller/APlusContentV20201101/Dto/TextItem.php +++ b/src/Seller/APlusContentV20201101/Dto/TextItem.php @@ -19,7 +19,7 @@ final class TextItem extends Dto * @param TextComponent $text Rich text content. */ public function __construct( - public readonly int $position, - public readonly TextComponent $text, + public int $position, + public TextComponent $text, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/Address.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/Address.php index 813a7ed1c..fdb403a1c 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/Address.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $postalCode Optional postal code where this address is located. */ public function __construct( - public readonly string $addressLine1, - public readonly string $countryCode, - public readonly string $name, - public readonly string $stateOrRegion, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $phoneNumber = null, - public readonly ?string $postalCode = null, + public string $addressLine1, + public string $countryCode, + public string $name, + public string $stateOrRegion, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $phoneNumber = null, + public ?string $postalCode = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/CarrierCode.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/CarrierCode.php index fa15a5428..6144dc251 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/CarrierCode.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/CarrierCode.php @@ -19,7 +19,7 @@ final class CarrierCode extends Dto * @param ?string $carrierCodeValue Value of the carrier code. */ public function __construct( - public readonly ?string $carrierCodeType = null, - public readonly ?string $carrierCodeValue = null, + public ?string $carrierCodeType = null, + public ?string $carrierCodeValue = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackage.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackage.php index fc9e0e2c2..1e95d10fa 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackage.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackage.php @@ -20,8 +20,8 @@ final class DistributionPackage extends Dto * @param string $type Type of distribution packages. */ public function __construct( - public readonly DistributionPackageContents $contents, - public readonly MeasurementData $measurements, - public readonly string $type, + public DistributionPackageContents $contents, + public MeasurementData $measurements, + public string $type, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackageContents.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackageContents.php index 5780715ac..3d07900aa 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackageContents.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackageContents.php @@ -24,7 +24,7 @@ final class DistributionPackageContents extends Dto * @param ProductQuantity[]|null $products This is required only when `DistributionPackageType=CASE`. */ public function __construct( - public readonly ?array $packages = null, - public readonly ?array $products = null, + public ?array $packages = null, + public ?array $products = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackageQuantity.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackageQuantity.php index 67d2b9797..bb72e8051 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackageQuantity.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/DistributionPackageQuantity.php @@ -19,7 +19,7 @@ final class DistributionPackageQuantity extends Dto * @param DistributionPackage $distributionPackage Represents an AWD distribution package. */ public function __construct( - public readonly int $count, - public readonly DistributionPackage $distributionPackage, + public int $count, + public DistributionPackage $distributionPackage, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/Error.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/Error.php index 1110de306..75207e115 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/Error.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InboundShipmentSummary.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InboundShipmentSummary.php index 6f61aecd5..61f18a81c 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InboundShipmentSummary.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InboundShipmentSummary.php @@ -23,11 +23,11 @@ final class InboundShipmentSummary extends Dto * @param ?\DateTimeInterface $updatedAt Timestamp when the shipment was updated. */ public function __construct( - public readonly string $orderId, - public readonly string $shipmentId, - public readonly string $shipmentStatus, - public readonly ?\DateTimeInterface $createdAt = null, - public readonly ?string $externalReferenceId = null, - public readonly ?\DateTimeInterface $updatedAt = null, + public string $orderId, + public string $shipmentId, + public string $shipmentStatus, + public ?\DateTimeInterface $createdAt = null, + public ?string $externalReferenceId = null, + public ?\DateTimeInterface $updatedAt = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventoryDetails.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventoryDetails.php index 346e8bd2b..8e1eaf9c6 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventoryDetails.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventoryDetails.php @@ -19,7 +19,7 @@ final class InventoryDetails extends Dto * @param ?int $reservedDistributableQuantity Quantity that is reserved for a downstream channel replenishment order that is being prepared for shipment. */ public function __construct( - public readonly ?int $availableDistributableQuantity = null, - public readonly ?int $reservedDistributableQuantity = null, + public ?int $availableDistributableQuantity = null, + public ?int $reservedDistributableQuantity = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventoryQuantity.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventoryQuantity.php index ec33ff99b..7f1b31717 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventoryQuantity.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventoryQuantity.php @@ -19,7 +19,7 @@ final class InventoryQuantity extends Dto * @param string $unitOfMeasurement Unit of measurement for the inventory. */ public function __construct( - public readonly float $quantity, - public readonly string $unitOfMeasurement, + public float $quantity, + public string $unitOfMeasurement, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventorySummary.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventorySummary.php index 5bf4d689c..253824542 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventorySummary.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/InventorySummary.php @@ -21,9 +21,9 @@ final class InventorySummary extends Dto * @param ?int $totalOnhandQuantity Total quantity that is present in AWD distribution centers. */ public function __construct( - public readonly string $sku, - public readonly ?InventoryDetails $inventoryDetails = null, - public readonly ?int $totalInboundQuantity = null, - public readonly ?int $totalOnhandQuantity = null, + public string $sku, + public ?InventoryDetails $inventoryDetails = null, + public ?int $totalInboundQuantity = null, + public ?int $totalOnhandQuantity = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/MeasurementData.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/MeasurementData.php index b0bfe9d33..07de05436 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/MeasurementData.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/MeasurementData.php @@ -20,8 +20,8 @@ final class MeasurementData extends Dto * @param ?PackageVolume $volume Represents the volume of the package with a unit of measurement. */ public function __construct( - public readonly PackageWeight $weight, - public readonly ?PackageDimensions $dimensions = null, - public readonly ?PackageVolume $volume = null, + public PackageWeight $weight, + public ?PackageDimensions $dimensions = null, + public ?PackageVolume $volume = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageDimensions.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageDimensions.php index 28278859a..b099b4211 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageDimensions.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageDimensions.php @@ -21,9 +21,9 @@ final class PackageDimensions extends Dto * @param float $width Width of the package. */ public function __construct( - public readonly float $height, - public readonly float $length, - public readonly string $unitOfMeasurement, - public readonly float $width, + public float $height, + public float $length, + public string $unitOfMeasurement, + public float $width, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageVolume.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageVolume.php index 27f976452..12fe61fda 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageVolume.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageVolume.php @@ -19,7 +19,7 @@ final class PackageVolume extends Dto * @param float $volume The package volume value. */ public function __construct( - public readonly string $unitOfMeasurement, - public readonly float $volume, + public string $unitOfMeasurement, + public float $volume, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageWeight.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageWeight.php index 3457999c6..0b66bd964 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageWeight.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/PackageWeight.php @@ -19,7 +19,7 @@ final class PackageWeight extends Dto * @param float $weight The package weight value. */ public function __construct( - public readonly string $unitOfMeasurement, - public readonly float $weight, + public string $unitOfMeasurement, + public float $weight, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/ProductAttribute.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/ProductAttribute.php index 88ca5948a..4a43113c0 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/ProductAttribute.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/ProductAttribute.php @@ -19,7 +19,7 @@ final class ProductAttribute extends Dto * @param ?string $value Product attribute value. */ public function __construct( - public readonly ?string $name = null, - public readonly ?string $value = null, + public ?string $name = null, + public ?string $value = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/ProductQuantity.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/ProductQuantity.php index 23c2138ac..12efbd9a5 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/ProductQuantity.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/ProductQuantity.php @@ -22,8 +22,8 @@ final class ProductQuantity extends Dto * @param ProductAttribute[]|null $attributes Attributes for this instance of the product. For example, already-prepped, or other attributes that distinguish the product beyond the SKU. */ public function __construct( - public readonly int $quantity, - public readonly string $sku, - public readonly ?array $attributes = null, + public int $quantity, + public string $sku, + public ?array $attributes = null, ) {} } diff --git a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/SkuQuantity.php b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/SkuQuantity.php index 1ae99a59b..ed993b224 100644 --- a/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/SkuQuantity.php +++ b/src/Seller/AmazonWarehousingAndDistributionV20240509/Dto/SkuQuantity.php @@ -20,8 +20,8 @@ final class SkuQuantity extends Dto * @param ?InventoryQuantity $receivedQuantity Quantity of inventory with an associated measurement unit context. */ public function __construct( - public readonly InventoryQuantity $expectedQuantity, - public readonly string $sku, - public readonly ?InventoryQuantity $receivedQuantity = null, + public InventoryQuantity $expectedQuantity, + public string $sku, + public ?InventoryQuantity $receivedQuantity = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/AsinIdentifier.php b/src/Seller/CatalogItemsV0/Dto/AsinIdentifier.php index 99ad79316..6fa93c77d 100644 --- a/src/Seller/CatalogItemsV0/Dto/AsinIdentifier.php +++ b/src/Seller/CatalogItemsV0/Dto/AsinIdentifier.php @@ -21,7 +21,7 @@ final class AsinIdentifier extends Dto * @param string $asin The Amazon Standard Identification Number (ASIN) of the item. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $asin, + public string $marketplaceId, + public string $asin, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/AttributeSetListType.php b/src/Seller/CatalogItemsV0/Dto/AttributeSetListType.php index 6fabed422..9c2bf3d39 100644 --- a/src/Seller/CatalogItemsV0/Dto/AttributeSetListType.php +++ b/src/Seller/CatalogItemsV0/Dto/AttributeSetListType.php @@ -214,101 +214,101 @@ final class AttributeSetListType extends Dto * @param ?Price $weeeTaxValue The price attribute of the item. */ public function __construct( - public readonly ?array $actor = null, - public readonly ?array $artist = null, - public readonly ?string $aspectRatio = null, - public readonly ?string $audienceRating = null, - public readonly ?array $author = null, - public readonly ?string $backFinding = null, - public readonly ?string $bandMaterialType = null, - public readonly ?string $binding = null, - public readonly ?string $blurayRegion = null, - public readonly ?string $brand = null, - public readonly ?string $ceroAgeRating = null, - public readonly ?string $chainType = null, - public readonly ?string $claspType = null, - public readonly ?string $color = null, - public readonly ?string $cpuManufacturer = null, - public readonly ?DecimalWithUnits $cpuSpeed = null, - public readonly ?string $cpuType = null, - public readonly ?array $creator = null, - public readonly ?string $department = null, - public readonly ?array $director = null, - public readonly ?DecimalWithUnits $displaySize = null, - public readonly ?string $edition = null, - public readonly ?string $episodeSequence = null, - public readonly ?string $esrbAgeRating = null, - public readonly ?array $feature = null, - public readonly ?string $flavor = null, - public readonly ?array $format = null, - public readonly ?array $gemType = null, - public readonly ?string $genre = null, - public readonly ?string $golfClubFlex = null, - public readonly ?DecimalWithUnits $golfClubLoft = null, - public readonly ?string $handOrientation = null, - public readonly ?string $hardDiskInterface = null, - public readonly ?DecimalWithUnits $hardDiskSize = null, - public readonly ?string $hardwarePlatform = null, - public readonly ?string $hazardousMaterialType = null, - public readonly ?DimensionType $itemDimensions = null, - public readonly ?bool $isAdultProduct = null, - public readonly ?bool $isAutographed = null, - public readonly ?bool $isEligibleForTradeIn = null, - public readonly ?bool $isMemorabilia = null, - public readonly ?string $issuesPerYear = null, - public readonly ?string $itemPartNumber = null, - public readonly ?string $label = null, - public readonly ?array $languages = null, - public readonly ?string $legalDisclaimer = null, - public readonly ?Price $listPrice = null, - public readonly ?string $manufacturer = null, - public readonly ?DecimalWithUnits $manufacturerMaximumAge = null, - public readonly ?DecimalWithUnits $manufacturerMinimumAge = null, - public readonly ?string $manufacturerPartsWarrantyDescription = null, - public readonly ?array $materialType = null, - public readonly ?DecimalWithUnits $maximumResolution = null, - public readonly ?array $mediaType = null, - public readonly ?string $metalStamp = null, - public readonly ?string $metalType = null, - public readonly ?string $model = null, - public readonly ?int $numberOfDiscs = null, - public readonly ?int $numberOfIssues = null, - public readonly ?int $numberOfItems = null, - public readonly ?int $numberOfPages = null, - public readonly ?int $numberOfTracks = null, - public readonly ?array $operatingSystem = null, - public readonly ?DecimalWithUnits $opticalZoom = null, - public readonly ?DimensionType $packageDimensions = null, - public readonly ?int $packageQuantity = null, - public readonly ?string $partNumber = null, - public readonly ?string $pegiRating = null, - public readonly ?array $platform = null, - public readonly ?int $processorCount = null, - public readonly ?string $productGroup = null, - public readonly ?string $productTypeName = null, - public readonly ?string $productTypeSubcategory = null, - public readonly ?string $publicationDate = null, - public readonly ?string $publisher = null, - public readonly ?string $regionCode = null, - public readonly ?string $releaseDate = null, - public readonly ?string $ringSize = null, - public readonly ?DecimalWithUnits $runningTime = null, - public readonly ?string $shaftMaterial = null, - public readonly ?string $scent = null, - public readonly ?string $seasonSequence = null, - public readonly ?string $seikodoProductCode = null, - public readonly ?string $size = null, - public readonly ?string $sizePerPearl = null, - public readonly ?Image $smallImage = null, - public readonly ?string $studio = null, - public readonly ?DecimalWithUnits $subscriptionLength = null, - public readonly ?DecimalWithUnits $systemMemorySize = null, - public readonly ?string $systemMemoryType = null, - public readonly ?string $theatricalReleaseDate = null, - public readonly ?string $title = null, - public readonly ?DecimalWithUnits $totalDiamondWeight = null, - public readonly ?DecimalWithUnits $totalGemWeight = null, - public readonly ?string $warranty = null, - public readonly ?Price $weeeTaxValue = null, + public ?array $actor = null, + public ?array $artist = null, + public ?string $aspectRatio = null, + public ?string $audienceRating = null, + public ?array $author = null, + public ?string $backFinding = null, + public ?string $bandMaterialType = null, + public ?string $binding = null, + public ?string $blurayRegion = null, + public ?string $brand = null, + public ?string $ceroAgeRating = null, + public ?string $chainType = null, + public ?string $claspType = null, + public ?string $color = null, + public ?string $cpuManufacturer = null, + public ?DecimalWithUnits $cpuSpeed = null, + public ?string $cpuType = null, + public ?array $creator = null, + public ?string $department = null, + public ?array $director = null, + public ?DecimalWithUnits $displaySize = null, + public ?string $edition = null, + public ?string $episodeSequence = null, + public ?string $esrbAgeRating = null, + public ?array $feature = null, + public ?string $flavor = null, + public ?array $format = null, + public ?array $gemType = null, + public ?string $genre = null, + public ?string $golfClubFlex = null, + public ?DecimalWithUnits $golfClubLoft = null, + public ?string $handOrientation = null, + public ?string $hardDiskInterface = null, + public ?DecimalWithUnits $hardDiskSize = null, + public ?string $hardwarePlatform = null, + public ?string $hazardousMaterialType = null, + public ?DimensionType $itemDimensions = null, + public ?bool $isAdultProduct = null, + public ?bool $isAutographed = null, + public ?bool $isEligibleForTradeIn = null, + public ?bool $isMemorabilia = null, + public ?string $issuesPerYear = null, + public ?string $itemPartNumber = null, + public ?string $label = null, + public ?array $languages = null, + public ?string $legalDisclaimer = null, + public ?Price $listPrice = null, + public ?string $manufacturer = null, + public ?DecimalWithUnits $manufacturerMaximumAge = null, + public ?DecimalWithUnits $manufacturerMinimumAge = null, + public ?string $manufacturerPartsWarrantyDescription = null, + public ?array $materialType = null, + public ?DecimalWithUnits $maximumResolution = null, + public ?array $mediaType = null, + public ?string $metalStamp = null, + public ?string $metalType = null, + public ?string $model = null, + public ?int $numberOfDiscs = null, + public ?int $numberOfIssues = null, + public ?int $numberOfItems = null, + public ?int $numberOfPages = null, + public ?int $numberOfTracks = null, + public ?array $operatingSystem = null, + public ?DecimalWithUnits $opticalZoom = null, + public ?DimensionType $packageDimensions = null, + public ?int $packageQuantity = null, + public ?string $partNumber = null, + public ?string $pegiRating = null, + public ?array $platform = null, + public ?int $processorCount = null, + public ?string $productGroup = null, + public ?string $productTypeName = null, + public ?string $productTypeSubcategory = null, + public ?string $publicationDate = null, + public ?string $publisher = null, + public ?string $regionCode = null, + public ?string $releaseDate = null, + public ?string $ringSize = null, + public ?DecimalWithUnits $runningTime = null, + public ?string $shaftMaterial = null, + public ?string $scent = null, + public ?string $seasonSequence = null, + public ?string $seikodoProductCode = null, + public ?string $size = null, + public ?string $sizePerPearl = null, + public ?Image $smallImage = null, + public ?string $studio = null, + public ?DecimalWithUnits $subscriptionLength = null, + public ?DecimalWithUnits $systemMemorySize = null, + public ?string $systemMemoryType = null, + public ?string $theatricalReleaseDate = null, + public ?string $title = null, + public ?DecimalWithUnits $totalDiamondWeight = null, + public ?DecimalWithUnits $totalGemWeight = null, + public ?string $warranty = null, + public ?Price $weeeTaxValue = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/Categories.php b/src/Seller/CatalogItemsV0/Dto/Categories.php index d815547e6..5fd41298e 100644 --- a/src/Seller/CatalogItemsV0/Dto/Categories.php +++ b/src/Seller/CatalogItemsV0/Dto/Categories.php @@ -25,8 +25,8 @@ final class Categories extends Dto * @param ?mixed[] $parent The parent product category. */ public function __construct( - public readonly ?string $productCategoryId = null, - public readonly ?string $productCategoryName = null, - public readonly ?array $parent = null, + public ?string $productCategoryId = null, + public ?string $productCategoryName = null, + public ?array $parent = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/CreatorType.php b/src/Seller/CatalogItemsV0/Dto/CreatorType.php index d881c10ee..825c2df5d 100644 --- a/src/Seller/CatalogItemsV0/Dto/CreatorType.php +++ b/src/Seller/CatalogItemsV0/Dto/CreatorType.php @@ -21,7 +21,7 @@ final class CreatorType extends Dto * @param ?string $role The role of the value. */ public function __construct( - public readonly ?string $value = null, - public readonly ?string $role = null, + public ?string $value = null, + public ?string $role = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/DecimalWithUnits.php b/src/Seller/CatalogItemsV0/Dto/DecimalWithUnits.php index e47e5a4b3..67e03df56 100644 --- a/src/Seller/CatalogItemsV0/Dto/DecimalWithUnits.php +++ b/src/Seller/CatalogItemsV0/Dto/DecimalWithUnits.php @@ -21,7 +21,7 @@ final class DecimalWithUnits extends Dto * @param ?string $units The unit of the decimal value. */ public function __construct( - public readonly ?float $value = null, - public readonly ?string $units = null, + public ?float $value = null, + public ?string $units = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/DimensionType.php b/src/Seller/CatalogItemsV0/Dto/DimensionType.php index 94a23d17e..e63c86c7a 100644 --- a/src/Seller/CatalogItemsV0/Dto/DimensionType.php +++ b/src/Seller/CatalogItemsV0/Dto/DimensionType.php @@ -28,9 +28,9 @@ final class DimensionType extends Dto * @param ?DecimalWithUnits $weight The decimal value and unit. */ public function __construct( - public readonly ?DecimalWithUnits $height = null, - public readonly ?DecimalWithUnits $length = null, - public readonly ?DecimalWithUnits $width = null, - public readonly ?DecimalWithUnits $weight = null, + public ?DecimalWithUnits $height = null, + public ?DecimalWithUnits $length = null, + public ?DecimalWithUnits $width = null, + public ?DecimalWithUnits $weight = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/Error.php b/src/Seller/CatalogItemsV0/Dto/Error.php index 1822ca515..3396e4ce1 100644 --- a/src/Seller/CatalogItemsV0/Dto/Error.php +++ b/src/Seller/CatalogItemsV0/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional information that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/ErrorList.php b/src/Seller/CatalogItemsV0/Dto/ErrorList.php index 0220564be..07dc3b3e1 100644 --- a/src/Seller/CatalogItemsV0/Dto/ErrorList.php +++ b/src/Seller/CatalogItemsV0/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/IdentifierType.php b/src/Seller/CatalogItemsV0/Dto/IdentifierType.php index ca73e389a..ced77edc4 100644 --- a/src/Seller/CatalogItemsV0/Dto/IdentifierType.php +++ b/src/Seller/CatalogItemsV0/Dto/IdentifierType.php @@ -17,7 +17,7 @@ final class IdentifierType extends Dto protected static array $attributeMap = ['marketplaceAsin' => 'MarketplaceASIN', 'skuIdentifier' => 'SKUIdentifier']; public function __construct( - public readonly ?AsinIdentifier $marketplaceAsin = null, - public readonly ?SellerSkuIdentifier $skuIdentifier = null, + public ?AsinIdentifier $marketplaceAsin = null, + public ?SellerSkuIdentifier $skuIdentifier = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/Image.php b/src/Seller/CatalogItemsV0/Dto/Image.php index a5facaa1d..d4f41c6ea 100644 --- a/src/Seller/CatalogItemsV0/Dto/Image.php +++ b/src/Seller/CatalogItemsV0/Dto/Image.php @@ -22,8 +22,8 @@ final class Image extends Dto * @param ?DecimalWithUnits $width The decimal value and unit. */ public function __construct( - public readonly ?string $url = null, - public readonly ?DecimalWithUnits $height = null, - public readonly ?DecimalWithUnits $width = null, + public ?string $url = null, + public ?DecimalWithUnits $height = null, + public ?DecimalWithUnits $width = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/Item.php b/src/Seller/CatalogItemsV0/Dto/Item.php index e3abc1422..2bdf5f097 100644 --- a/src/Seller/CatalogItemsV0/Dto/Item.php +++ b/src/Seller/CatalogItemsV0/Dto/Item.php @@ -33,9 +33,9 @@ final class Item extends Dto * @param SalesRankType[]|null $salesRankings A list of sales rank information for the item by category. */ public function __construct( - public readonly IdentifierType $identifiers, - public readonly ?array $attributeSets = null, - public readonly ?array $relationships = null, - public readonly ?array $salesRankings = null, + public IdentifierType $identifiers, + public ?array $attributeSets = null, + public ?array $relationships = null, + public ?array $salesRankings = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/LanguageType.php b/src/Seller/CatalogItemsV0/Dto/LanguageType.php index 48d76ea14..9fec16f29 100644 --- a/src/Seller/CatalogItemsV0/Dto/LanguageType.php +++ b/src/Seller/CatalogItemsV0/Dto/LanguageType.php @@ -22,8 +22,8 @@ final class LanguageType extends Dto * @param ?string $audioFormat The audio format attribute of the item. */ public function __construct( - public readonly ?string $name = null, - public readonly ?string $type = null, - public readonly ?string $audioFormat = null, + public ?string $name = null, + public ?string $type = null, + public ?string $audioFormat = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/ListMatchingItemsResponse.php b/src/Seller/CatalogItemsV0/Dto/ListMatchingItemsResponse.php index 3c552886b..2fdfb8e44 100644 --- a/src/Seller/CatalogItemsV0/Dto/ListMatchingItemsResponse.php +++ b/src/Seller/CatalogItemsV0/Dto/ListMatchingItemsResponse.php @@ -22,6 +22,6 @@ final class ListMatchingItemsResponse extends Dto * @param Item[]|null $items A list of items. */ public function __construct( - public readonly ?array $items = null, + public ?array $items = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/Price.php b/src/Seller/CatalogItemsV0/Dto/Price.php index 4a3eaced1..63680242c 100644 --- a/src/Seller/CatalogItemsV0/Dto/Price.php +++ b/src/Seller/CatalogItemsV0/Dto/Price.php @@ -21,7 +21,7 @@ final class Price extends Dto * @param ?string $currencyCode The currency code of the amount. */ public function __construct( - public readonly ?float $amount = null, - public readonly ?string $currencyCode = null, + public ?float $amount = null, + public ?string $currencyCode = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/RelationshipType.php b/src/Seller/CatalogItemsV0/Dto/RelationshipType.php index eb362a9d1..2fb45fc4f 100644 --- a/src/Seller/CatalogItemsV0/Dto/RelationshipType.php +++ b/src/Seller/CatalogItemsV0/Dto/RelationshipType.php @@ -65,28 +65,28 @@ final class RelationshipType extends Dto * @param ?DimensionType $itemDimensions The dimension type attribute of an item. */ public function __construct( - public readonly ?IdentifierType $identifiers = null, - public readonly ?string $color = null, - public readonly ?string $edition = null, - public readonly ?string $flavor = null, - public readonly ?array $gemType = null, - public readonly ?string $golfClubFlex = null, - public readonly ?string $handOrientation = null, - public readonly ?string $hardwarePlatform = null, - public readonly ?array $materialType = null, - public readonly ?string $metalType = null, - public readonly ?string $model = null, - public readonly ?array $operatingSystem = null, - public readonly ?string $productTypeSubcategory = null, - public readonly ?string $ringSize = null, - public readonly ?string $shaftMaterial = null, - public readonly ?string $scent = null, - public readonly ?string $size = null, - public readonly ?string $sizePerPearl = null, - public readonly ?DecimalWithUnits $golfClubLoft = null, - public readonly ?DecimalWithUnits $totalDiamondWeight = null, - public readonly ?DecimalWithUnits $totalGemWeight = null, - public readonly ?int $packageQuantity = null, - public readonly ?DimensionType $itemDimensions = null, + public ?IdentifierType $identifiers = null, + public ?string $color = null, + public ?string $edition = null, + public ?string $flavor = null, + public ?array $gemType = null, + public ?string $golfClubFlex = null, + public ?string $handOrientation = null, + public ?string $hardwarePlatform = null, + public ?array $materialType = null, + public ?string $metalType = null, + public ?string $model = null, + public ?array $operatingSystem = null, + public ?string $productTypeSubcategory = null, + public ?string $ringSize = null, + public ?string $shaftMaterial = null, + public ?string $scent = null, + public ?string $size = null, + public ?string $sizePerPearl = null, + public ?DecimalWithUnits $golfClubLoft = null, + public ?DecimalWithUnits $totalDiamondWeight = null, + public ?DecimalWithUnits $totalGemWeight = null, + public ?int $packageQuantity = null, + public ?DimensionType $itemDimensions = null, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/SalesRankType.php b/src/Seller/CatalogItemsV0/Dto/SalesRankType.php index b4f894f50..badbf5e7e 100644 --- a/src/Seller/CatalogItemsV0/Dto/SalesRankType.php +++ b/src/Seller/CatalogItemsV0/Dto/SalesRankType.php @@ -21,7 +21,7 @@ final class SalesRankType extends Dto * @param int $rank The sales rank of the item within the item category. */ public function __construct( - public readonly string $productCategoryId, - public readonly int $rank, + public string $productCategoryId, + public int $rank, ) {} } diff --git a/src/Seller/CatalogItemsV0/Dto/SellerSkuIdentifier.php b/src/Seller/CatalogItemsV0/Dto/SellerSkuIdentifier.php index ac6756d42..ad4eec80a 100644 --- a/src/Seller/CatalogItemsV0/Dto/SellerSkuIdentifier.php +++ b/src/Seller/CatalogItemsV0/Dto/SellerSkuIdentifier.php @@ -26,8 +26,8 @@ final class SellerSkuIdentifier extends Dto * @param string $sellerSku The seller stock keeping unit (SKU) of the item. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $sellerId, - public readonly string $sellerSku, + public string $marketplaceId, + public string $sellerId, + public string $sellerSku, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/BrandRefinement.php b/src/Seller/CatalogItemsV20201201/Dto/BrandRefinement.php index a2530066d..412c3cf52 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/BrandRefinement.php +++ b/src/Seller/CatalogItemsV20201201/Dto/BrandRefinement.php @@ -19,7 +19,7 @@ final class BrandRefinement extends Dto * @param string $brandName Brand name. For display and can be used as a search refinement. */ public function __construct( - public readonly int $numberOfResults, - public readonly string $brandName, + public int $numberOfResults, + public string $brandName, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ClassificationRefinement.php b/src/Seller/CatalogItemsV20201201/Dto/ClassificationRefinement.php index da3133579..54d5ad321 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ClassificationRefinement.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ClassificationRefinement.php @@ -20,8 +20,8 @@ final class ClassificationRefinement extends Dto * @param string $classificationId Identifier for the classification that can be used for search refinement purposes. */ public function __construct( - public readonly int $numberOfResults, - public readonly string $displayName, - public readonly string $classificationId, + public int $numberOfResults, + public string $displayName, + public string $classificationId, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/Error.php b/src/Seller/CatalogItemsV20201201/Dto/Error.php index 01fc87cf4..b5213032a 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/Error.php +++ b/src/Seller/CatalogItemsV20201201/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemIdentifier.php b/src/Seller/CatalogItemsV20201201/Dto/ItemIdentifier.php index cd7d0b474..62fd4258e 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemIdentifier.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemIdentifier.php @@ -19,7 +19,7 @@ final class ItemIdentifier extends Dto * @param string $identifier Identifier. */ public function __construct( - public readonly string $identifierType, - public readonly string $identifier, + public string $identifierType, + public string $identifier, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemIdentifiersByMarketplace.php b/src/Seller/CatalogItemsV20201201/Dto/ItemIdentifiersByMarketplace.php index d6b780804..df5ca1827 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemIdentifiersByMarketplace.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemIdentifiersByMarketplace.php @@ -21,7 +21,7 @@ final class ItemIdentifiersByMarketplace extends Dto * @param ItemIdentifier[] $identifiers Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $identifiers, + public string $marketplaceId, + public array $identifiers, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemImage.php b/src/Seller/CatalogItemsV20201201/Dto/ItemImage.php index 93b740062..eb03cbc95 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemImage.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemImage.php @@ -21,9 +21,9 @@ final class ItemImage extends Dto * @param int $width Width of the image in pixels. */ public function __construct( - public readonly string $variant, - public readonly string $link, - public readonly int $height, - public readonly int $width, + public string $variant, + public string $link, + public int $height, + public int $width, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemImagesByMarketplace.php b/src/Seller/CatalogItemsV20201201/Dto/ItemImagesByMarketplace.php index e53afb5d2..63c15daaa 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemImagesByMarketplace.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemImagesByMarketplace.php @@ -21,7 +21,7 @@ final class ItemImagesByMarketplace extends Dto * @param ItemImage[] $images Images for an item in the Amazon catalog for the indicated Amazon marketplace. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $images, + public string $marketplaceId, + public array $images, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemProductTypeByMarketplace.php b/src/Seller/CatalogItemsV20201201/Dto/ItemProductTypeByMarketplace.php index ab2f2567f..209d1f94e 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemProductTypeByMarketplace.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemProductTypeByMarketplace.php @@ -19,7 +19,7 @@ final class ItemProductTypeByMarketplace extends Dto * @param ?string $productType Name of the product type associated with the Amazon catalog item. */ public function __construct( - public readonly ?string $marketplaceId = null, - public readonly ?string $productType = null, + public ?string $marketplaceId = null, + public ?string $productType = null, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemSalesRank.php b/src/Seller/CatalogItemsV20201201/Dto/ItemSalesRank.php index 672be80c5..8ddd17856 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemSalesRank.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemSalesRank.php @@ -20,8 +20,8 @@ final class ItemSalesRank extends Dto * @param ?string $link Corresponding Amazon retail website link, or URL, for the sales rank. */ public function __construct( - public readonly string $title, - public readonly int $rank, - public readonly ?string $link = null, + public string $title, + public int $rank, + public ?string $link = null, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemSalesRanksByMarketplace.php b/src/Seller/CatalogItemsV20201201/Dto/ItemSalesRanksByMarketplace.php index c47480347..c3111842b 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemSalesRanksByMarketplace.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemSalesRanksByMarketplace.php @@ -21,7 +21,7 @@ final class ItemSalesRanksByMarketplace extends Dto * @param ItemSalesRank[] $ranks Sales ranks of an Amazon catalog item for an Amazon marketplace. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $ranks, + public string $marketplaceId, + public array $ranks, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemSummaryByMarketplace.php b/src/Seller/CatalogItemsV20201201/Dto/ItemSummaryByMarketplace.php index 2b251f788..5161e0360 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemSummaryByMarketplace.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemSummaryByMarketplace.php @@ -26,14 +26,14 @@ final class ItemSummaryByMarketplace extends Dto * @param ?string $styleName Name of the style associated with an Amazon catalog item. */ public function __construct( - public readonly string $marketplaceId, - public readonly ?string $brandName = null, - public readonly ?string $browseNode = null, - public readonly ?string $colorName = null, - public readonly ?string $itemName = null, - public readonly ?string $manufacturer = null, - public readonly ?string $modelNumber = null, - public readonly ?string $sizeName = null, - public readonly ?string $styleName = null, + public string $marketplaceId, + public ?string $brandName = null, + public ?string $browseNode = null, + public ?string $colorName = null, + public ?string $itemName = null, + public ?string $manufacturer = null, + public ?string $modelNumber = null, + public ?string $sizeName = null, + public ?string $styleName = null, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemVariationsByMarketplace.php b/src/Seller/CatalogItemsV20201201/Dto/ItemVariationsByMarketplace.php index ff2930d63..ca1f0982f 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemVariationsByMarketplace.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemVariationsByMarketplace.php @@ -20,8 +20,8 @@ final class ItemVariationsByMarketplace extends Dto * @param string $variationType Type of variation relationship of the Amazon catalog item in the request to the related item(s): "PARENT" or "CHILD". */ public function __construct( - public readonly string $marketplaceId, - public readonly array $asins, - public readonly string $variationType, + public string $marketplaceId, + public array $asins, + public string $variationType, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/ItemVendorDetailsByMarketplace.php b/src/Seller/CatalogItemsV20201201/Dto/ItemVendorDetailsByMarketplace.php index 8361d371c..1fc408556 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/ItemVendorDetailsByMarketplace.php +++ b/src/Seller/CatalogItemsV20201201/Dto/ItemVendorDetailsByMarketplace.php @@ -25,13 +25,13 @@ final class ItemVendorDetailsByMarketplace extends Dto * @param ?string $subcategoryCode Product subcategory associated with an Amazon catalog item. */ public function __construct( - public readonly string $marketplaceId, - public readonly ?string $brandCode = null, - public readonly ?string $categoryCode = null, - public readonly ?string $manufacturerCode = null, - public readonly ?string $manufacturerCodeParent = null, - public readonly ?string $productGroup = null, - public readonly ?string $replenishmentCategory = null, - public readonly ?string $subcategoryCode = null, + public string $marketplaceId, + public ?string $brandCode = null, + public ?string $categoryCode = null, + public ?string $manufacturerCode = null, + public ?string $manufacturerCodeParent = null, + public ?string $productGroup = null, + public ?string $replenishmentCategory = null, + public ?string $subcategoryCode = null, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/Pagination.php b/src/Seller/CatalogItemsV20201201/Dto/Pagination.php index 3c7872638..685a2eb93 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/Pagination.php +++ b/src/Seller/CatalogItemsV20201201/Dto/Pagination.php @@ -19,7 +19,7 @@ final class Pagination extends Dto * @param ?string $previousToken A token that can be used to fetch the previous page. */ public function __construct( - public readonly ?string $nextToken = null, - public readonly ?string $previousToken = null, + public ?string $nextToken = null, + public ?string $previousToken = null, ) {} } diff --git a/src/Seller/CatalogItemsV20201201/Dto/Refinements.php b/src/Seller/CatalogItemsV20201201/Dto/Refinements.php index 738049955..43414fca8 100644 --- a/src/Seller/CatalogItemsV20201201/Dto/Refinements.php +++ b/src/Seller/CatalogItemsV20201201/Dto/Refinements.php @@ -24,7 +24,7 @@ final class Refinements extends Dto * @param ClassificationRefinement[] $classifications Classification search refinements. */ public function __construct( - public readonly array $brands, - public readonly array $classifications, + public array $brands, + public array $classifications, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/BrandRefinement.php b/src/Seller/CatalogItemsV20220401/Dto/BrandRefinement.php index aefa32108..e02c717be 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/BrandRefinement.php +++ b/src/Seller/CatalogItemsV20220401/Dto/BrandRefinement.php @@ -19,7 +19,7 @@ final class BrandRefinement extends Dto * @param string $brandName Brand name. For display and can be used as a search refinement. */ public function __construct( - public readonly int $numberOfResults, - public readonly string $brandName, + public int $numberOfResults, + public string $brandName, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ClassificationRefinement.php b/src/Seller/CatalogItemsV20220401/Dto/ClassificationRefinement.php index 70a3c819a..cc42af62f 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ClassificationRefinement.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ClassificationRefinement.php @@ -20,8 +20,8 @@ final class ClassificationRefinement extends Dto * @param string $classificationId Identifier for the classification that can be used for search refinement purposes. */ public function __construct( - public readonly int $numberOfResults, - public readonly string $displayName, - public readonly string $classificationId, + public int $numberOfResults, + public string $displayName, + public string $classificationId, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/Dimension.php b/src/Seller/CatalogItemsV20220401/Dto/Dimension.php index fdd5546f2..a79b3dcde 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/Dimension.php +++ b/src/Seller/CatalogItemsV20220401/Dto/Dimension.php @@ -19,7 +19,7 @@ final class Dimension extends Dto * @param ?float $value Numeric dimension value. */ public function __construct( - public readonly ?string $unit = null, - public readonly ?float $value = null, + public ?string $unit = null, + public ?float $value = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/Dimensions.php b/src/Seller/CatalogItemsV20220401/Dto/Dimensions.php index f0f4e3483..10a9ab2ee 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/Dimensions.php +++ b/src/Seller/CatalogItemsV20220401/Dto/Dimensions.php @@ -21,9 +21,9 @@ final class Dimensions extends Dto * @param ?Dimension $width Individual dimension value of an Amazon catalog item or item package. */ public function __construct( - public readonly ?Dimension $height = null, - public readonly ?Dimension $length = null, - public readonly ?Dimension $weight = null, - public readonly ?Dimension $width = null, + public ?Dimension $height = null, + public ?Dimension $length = null, + public ?Dimension $weight = null, + public ?Dimension $width = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/Error.php b/src/Seller/CatalogItemsV20220401/Dto/Error.php index 2efa04a24..efefe1f57 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/Error.php +++ b/src/Seller/CatalogItemsV20220401/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemBrowseClassification.php b/src/Seller/CatalogItemsV20220401/Dto/ItemBrowseClassification.php index 457a3389c..f5756ead4 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemBrowseClassification.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemBrowseClassification.php @@ -20,8 +20,8 @@ final class ItemBrowseClassification extends Dto * @param ?ItemBrowseClassification $parent Classification (browse node) associated with an Amazon catalog item. */ public function __construct( - public readonly string $displayName, - public readonly string $classificationId, - public readonly ?ItemBrowseClassification $parent = null, + public string $displayName, + public string $classificationId, + public ?ItemBrowseClassification $parent = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemBrowseClassificationsByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemBrowseClassificationsByMarketplace.php index 056b0f270..fc677f2b6 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemBrowseClassificationsByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemBrowseClassificationsByMarketplace.php @@ -21,7 +21,7 @@ final class ItemBrowseClassificationsByMarketplace extends Dto * @param ItemBrowseClassification[]|null $classifications Classifications (browse nodes) associated with the item in the Amazon catalog for the indicated Amazon marketplace. */ public function __construct( - public readonly string $marketplaceId, - public readonly ?array $classifications = null, + public string $marketplaceId, + public ?array $classifications = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemClassificationSalesRank.php b/src/Seller/CatalogItemsV20220401/Dto/ItemClassificationSalesRank.php index 9ad6b8af5..9f869bad8 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemClassificationSalesRank.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemClassificationSalesRank.php @@ -21,9 +21,9 @@ final class ItemClassificationSalesRank extends Dto * @param ?string $link Corresponding Amazon retail website link, or URL, for the sales rank. */ public function __construct( - public readonly string $classificationId, - public readonly string $title, - public readonly int $rank, - public readonly ?string $link = null, + public string $classificationId, + public string $title, + public int $rank, + public ?string $link = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemContributor.php b/src/Seller/CatalogItemsV20220401/Dto/ItemContributor.php index 231f18877..af6c5b2c5 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemContributor.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemContributor.php @@ -19,7 +19,7 @@ final class ItemContributor extends Dto * @param string $value Name of the contributor, such as Jane Austen. */ public function __construct( - public readonly ItemContributorRole $role, - public readonly string $value, + public ItemContributorRole $role, + public string $value, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemContributorRole.php b/src/Seller/CatalogItemsV20220401/Dto/ItemContributorRole.php index faf84ada5..7529da87d 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemContributorRole.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemContributorRole.php @@ -19,7 +19,7 @@ final class ItemContributorRole extends Dto * @param ?string $displayName Display name of the role in the requested locale, such as Author or Actor. */ public function __construct( - public readonly string $value, - public readonly ?string $displayName = null, + public string $value, + public ?string $displayName = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemDimensionsByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemDimensionsByMarketplace.php index 81be8055f..02cd8a4e0 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemDimensionsByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemDimensionsByMarketplace.php @@ -20,8 +20,8 @@ final class ItemDimensionsByMarketplace extends Dto * @param ?Dimensions $package Dimensions of an Amazon catalog item or item in its packaging. */ public function __construct( - public readonly string $marketplaceId, - public readonly ?Dimensions $item = null, - public readonly ?Dimensions $package = null, + public string $marketplaceId, + public ?Dimensions $item = null, + public ?Dimensions $package = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemDisplayGroupSalesRank.php b/src/Seller/CatalogItemsV20220401/Dto/ItemDisplayGroupSalesRank.php index 3e21dd265..11d999ced 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemDisplayGroupSalesRank.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemDisplayGroupSalesRank.php @@ -21,9 +21,9 @@ final class ItemDisplayGroupSalesRank extends Dto * @param ?string $link Corresponding Amazon retail website link, or URL, for the sales rank. */ public function __construct( - public readonly string $websiteDisplayGroup, - public readonly string $title, - public readonly int $rank, - public readonly ?string $link = null, + public string $websiteDisplayGroup, + public string $title, + public int $rank, + public ?string $link = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemIdentifier.php b/src/Seller/CatalogItemsV20220401/Dto/ItemIdentifier.php index b8b68d587..92363caff 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemIdentifier.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemIdentifier.php @@ -19,7 +19,7 @@ final class ItemIdentifier extends Dto * @param string $identifier Identifier. */ public function __construct( - public readonly string $identifierType, - public readonly string $identifier, + public string $identifierType, + public string $identifier, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemIdentifiersByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemIdentifiersByMarketplace.php index f4ef62969..77cb88efe 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemIdentifiersByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemIdentifiersByMarketplace.php @@ -21,7 +21,7 @@ final class ItemIdentifiersByMarketplace extends Dto * @param ItemIdentifier[] $identifiers Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $identifiers, + public string $marketplaceId, + public array $identifiers, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemImage.php b/src/Seller/CatalogItemsV20220401/Dto/ItemImage.php index 9b0020ef2..0fd6611a6 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemImage.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemImage.php @@ -21,9 +21,9 @@ final class ItemImage extends Dto * @param int $width Width of the image in pixels. */ public function __construct( - public readonly string $variant, - public readonly string $link, - public readonly int $height, - public readonly int $width, + public string $variant, + public string $link, + public int $height, + public int $width, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemImagesByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemImagesByMarketplace.php index b3da1c946..ce95f496e 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemImagesByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemImagesByMarketplace.php @@ -21,7 +21,7 @@ final class ItemImagesByMarketplace extends Dto * @param ItemImage[] $images Images for an item in the Amazon catalog for the indicated Amazon marketplace. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $images, + public string $marketplaceId, + public array $images, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemProductTypeByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemProductTypeByMarketplace.php index af7b007c6..90915066c 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemProductTypeByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemProductTypeByMarketplace.php @@ -19,7 +19,7 @@ final class ItemProductTypeByMarketplace extends Dto * @param ?string $productType Name of the product type associated with the Amazon catalog item. */ public function __construct( - public readonly ?string $marketplaceId = null, - public readonly ?string $productType = null, + public ?string $marketplaceId = null, + public ?string $productType = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemRelationship.php b/src/Seller/CatalogItemsV20220401/Dto/ItemRelationship.php index 74e0e08f7..dd6b320a1 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemRelationship.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemRelationship.php @@ -21,9 +21,9 @@ final class ItemRelationship extends Dto * @param ?ItemVariationTheme $variationTheme Variation theme indicating the combination of Amazon item catalog attributes that define the variation family. */ public function __construct( - public readonly string $type, - public readonly ?array $childAsins = null, - public readonly ?array $parentAsins = null, - public readonly ?ItemVariationTheme $variationTheme = null, + public string $type, + public ?array $childAsins = null, + public ?array $parentAsins = null, + public ?ItemVariationTheme $variationTheme = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemRelationshipsByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemRelationshipsByMarketplace.php index a6b081dd8..877ea112b 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemRelationshipsByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemRelationshipsByMarketplace.php @@ -21,7 +21,7 @@ final class ItemRelationshipsByMarketplace extends Dto * @param ItemRelationship[] $relationships Relationships for the item. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $relationships, + public string $marketplaceId, + public array $relationships, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemSalesRanksByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemSalesRanksByMarketplace.php index ae9f05595..5bd28a983 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemSalesRanksByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemSalesRanksByMarketplace.php @@ -25,8 +25,8 @@ final class ItemSalesRanksByMarketplace extends Dto * @param ItemDisplayGroupSalesRank[]|null $displayGroupRanks Sales ranks of an Amazon catalog item for an Amazon marketplace by website display group. */ public function __construct( - public readonly string $marketplaceId, - public readonly ?array $classificationRanks = null, - public readonly ?array $displayGroupRanks = null, + public string $marketplaceId, + public ?array $classificationRanks = null, + public ?array $displayGroupRanks = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemSummaryByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemSummaryByMarketplace.php index b2e3bb3d7..6f166ab33 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemSummaryByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemSummaryByMarketplace.php @@ -39,25 +39,25 @@ final class ItemSummaryByMarketplace extends Dto * @param ?string $websiteDisplayGroupName Display name of the website display group associated with an Amazon catalog item. */ public function __construct( - public readonly string $marketplaceId, - public readonly ?bool $adultProduct = null, - public readonly ?bool $autographed = null, - public readonly ?string $brand = null, - public readonly ?ItemBrowseClassification $browseClassification = null, - public readonly ?string $color = null, - public readonly ?array $contributors = null, - public readonly ?string $itemClassification = null, - public readonly ?string $itemName = null, - public readonly ?string $manufacturer = null, - public readonly ?bool $memorabilia = null, - public readonly ?string $modelNumber = null, - public readonly ?int $packageQuantity = null, - public readonly ?string $partNumber = null, - public readonly ?\DateTimeInterface $releaseDate = null, - public readonly ?string $size = null, - public readonly ?string $style = null, - public readonly ?bool $tradeInEligible = null, - public readonly ?string $websiteDisplayGroup = null, - public readonly ?string $websiteDisplayGroupName = null, + public string $marketplaceId, + public ?bool $adultProduct = null, + public ?bool $autographed = null, + public ?string $brand = null, + public ?ItemBrowseClassification $browseClassification = null, + public ?string $color = null, + public ?array $contributors = null, + public ?string $itemClassification = null, + public ?string $itemName = null, + public ?string $manufacturer = null, + public ?bool $memorabilia = null, + public ?string $modelNumber = null, + public ?int $packageQuantity = null, + public ?string $partNumber = null, + public ?\DateTimeInterface $releaseDate = null, + public ?string $size = null, + public ?string $style = null, + public ?bool $tradeInEligible = null, + public ?string $websiteDisplayGroup = null, + public ?string $websiteDisplayGroupName = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemVariationTheme.php b/src/Seller/CatalogItemsV20220401/Dto/ItemVariationTheme.php index 8db89e4d5..c7ecc6751 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemVariationTheme.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemVariationTheme.php @@ -19,7 +19,7 @@ final class ItemVariationTheme extends Dto * @param ?string $theme Variation theme indicating the combination of Amazon item catalog attributes that define the variation family. */ public function __construct( - public readonly ?array $attributes = null, - public readonly ?string $theme = null, + public ?array $attributes = null, + public ?string $theme = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemVendorDetailsByMarketplace.php b/src/Seller/CatalogItemsV20220401/Dto/ItemVendorDetailsByMarketplace.php index 2503086c9..bcbcb5957 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemVendorDetailsByMarketplace.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemVendorDetailsByMarketplace.php @@ -25,13 +25,13 @@ final class ItemVendorDetailsByMarketplace extends Dto * @param ?string $replenishmentCategory Replenishment category associated with an Amazon catalog item. */ public function __construct( - public readonly string $marketplaceId, - public readonly ?string $brandCode = null, - public readonly ?string $manufacturerCode = null, - public readonly ?string $manufacturerCodeParent = null, - public readonly ?ItemVendorDetailsCategory $productCategory = null, - public readonly ?string $productGroup = null, - public readonly ?ItemVendorDetailsCategory $productSubcategory = null, - public readonly ?string $replenishmentCategory = null, + public string $marketplaceId, + public ?string $brandCode = null, + public ?string $manufacturerCode = null, + public ?string $manufacturerCodeParent = null, + public ?ItemVendorDetailsCategory $productCategory = null, + public ?string $productGroup = null, + public ?ItemVendorDetailsCategory $productSubcategory = null, + public ?string $replenishmentCategory = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/ItemVendorDetailsCategory.php b/src/Seller/CatalogItemsV20220401/Dto/ItemVendorDetailsCategory.php index 88497ee78..a9640fb4f 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/ItemVendorDetailsCategory.php +++ b/src/Seller/CatalogItemsV20220401/Dto/ItemVendorDetailsCategory.php @@ -19,7 +19,7 @@ final class ItemVendorDetailsCategory extends Dto * @param ?string $value Value (code) of the product category or subcategory. */ public function __construct( - public readonly ?string $displayName = null, - public readonly ?string $value = null, + public ?string $displayName = null, + public ?string $value = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/Pagination.php b/src/Seller/CatalogItemsV20220401/Dto/Pagination.php index 56936e660..eb6d310f8 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/Pagination.php +++ b/src/Seller/CatalogItemsV20220401/Dto/Pagination.php @@ -19,7 +19,7 @@ final class Pagination extends Dto * @param ?string $previousToken A token that can be used to fetch the previous page. */ public function __construct( - public readonly ?string $nextToken = null, - public readonly ?string $previousToken = null, + public ?string $nextToken = null, + public ?string $previousToken = null, ) {} } diff --git a/src/Seller/CatalogItemsV20220401/Dto/Refinements.php b/src/Seller/CatalogItemsV20220401/Dto/Refinements.php index c95483db6..cb8341966 100644 --- a/src/Seller/CatalogItemsV20220401/Dto/Refinements.php +++ b/src/Seller/CatalogItemsV20220401/Dto/Refinements.php @@ -24,7 +24,7 @@ final class Refinements extends Dto * @param ClassificationRefinement[] $classifications Classification search refinements. */ public function __construct( - public readonly array $brands, - public readonly array $classifications, + public array $brands, + public array $classifications, ) {} } diff --git a/src/Seller/DataKioskV20231115/Dto/CreateQuerySpecification.php b/src/Seller/DataKioskV20231115/Dto/CreateQuerySpecification.php index 65744cbe5..2888751ad 100644 --- a/src/Seller/DataKioskV20231115/Dto/CreateQuerySpecification.php +++ b/src/Seller/DataKioskV20231115/Dto/CreateQuerySpecification.php @@ -19,7 +19,7 @@ final class CreateQuerySpecification extends Dto * @param ?string $paginationToken A token to fetch a certain page of query results when there are multiple pages of query results available. The value of this token must be fetched from the `pagination.nextToken` field of the `Query` object, and the `query` field for this object must also be set to the `query` field of the same `Query` object. A `Query` object can be retrieved from either the `getQueries` or `getQuery` operation. In the absence of this token value, the first page of query results will be requested. */ public function __construct( - public readonly string $query, - public readonly ?string $paginationToken = null, + public string $query, + public ?string $paginationToken = null, ) {} } diff --git a/src/Seller/DataKioskV20231115/Dto/Error.php b/src/Seller/DataKioskV20231115/Dto/Error.php index be73c3e8c..60d04a3a2 100644 --- a/src/Seller/DataKioskV20231115/Dto/Error.php +++ b/src/Seller/DataKioskV20231115/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/DataKioskV20231115/Dto/Pagination.php b/src/Seller/DataKioskV20231115/Dto/Pagination.php index 53952640e..53c0c4351 100644 --- a/src/Seller/DataKioskV20231115/Dto/Pagination.php +++ b/src/Seller/DataKioskV20231115/Dto/Pagination.php @@ -18,6 +18,6 @@ final class Pagination extends Dto * @param ?string $nextToken A token that can be used to fetch the next page of results. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Seller/DataKioskV20231115/Dto/Pagination2.php b/src/Seller/DataKioskV20231115/Dto/Pagination2.php index dff272b5e..5d9f40e99 100644 --- a/src/Seller/DataKioskV20231115/Dto/Pagination2.php +++ b/src/Seller/DataKioskV20231115/Dto/Pagination2.php @@ -18,6 +18,6 @@ final class Pagination2 extends Dto * @param ?string $nextToken A token that can be used to fetch the next page of results. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/CreateScheduledPackageRequest.php b/src/Seller/EasyShipV20220323/Dto/CreateScheduledPackageRequest.php index bf8e1e940..64bf52a1a 100644 --- a/src/Seller/EasyShipV20220323/Dto/CreateScheduledPackageRequest.php +++ b/src/Seller/EasyShipV20220323/Dto/CreateScheduledPackageRequest.php @@ -20,8 +20,8 @@ final class CreateScheduledPackageRequest extends Dto * @param PackageDetails $packageDetails Package details. Includes `packageItems`, `packageTimeSlot`, and `packageIdentifier`. */ public function __construct( - public readonly string $amazonOrderId, - public readonly string $marketplaceId, - public readonly PackageDetails $packageDetails, + public string $amazonOrderId, + public string $marketplaceId, + public PackageDetails $packageDetails, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/CreateScheduledPackagesRequest.php b/src/Seller/EasyShipV20220323/Dto/CreateScheduledPackagesRequest.php index 457e8454c..60049611e 100644 --- a/src/Seller/EasyShipV20220323/Dto/CreateScheduledPackagesRequest.php +++ b/src/Seller/EasyShipV20220323/Dto/CreateScheduledPackagesRequest.php @@ -22,8 +22,8 @@ final class CreateScheduledPackagesRequest extends Dto * @param string $labelFormat The file format in which the shipping label will be created. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $orderScheduleDetailsList, - public readonly string $labelFormat, + public string $marketplaceId, + public array $orderScheduleDetailsList, + public string $labelFormat, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/Dimensions.php b/src/Seller/EasyShipV20220323/Dto/Dimensions.php index f71478531..606886905 100644 --- a/src/Seller/EasyShipV20220323/Dto/Dimensions.php +++ b/src/Seller/EasyShipV20220323/Dto/Dimensions.php @@ -22,10 +22,10 @@ final class Dimensions extends Dto * @param ?string $identifier A string of up to 255 characters. */ public function __construct( - public readonly ?float $length = null, - public readonly ?float $width = null, - public readonly ?float $height = null, - public readonly ?string $unit = null, - public readonly ?string $identifier = null, + public ?float $length = null, + public ?float $width = null, + public ?float $height = null, + public ?string $unit = null, + public ?string $identifier = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/Error.php b/src/Seller/EasyShipV20220323/Dto/Error.php index 3974736ab..df0d9d118 100644 --- a/src/Seller/EasyShipV20220323/Dto/Error.php +++ b/src/Seller/EasyShipV20220323/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/InvoiceData.php b/src/Seller/EasyShipV20220323/Dto/InvoiceData.php index 0eba7653e..af2e849e0 100644 --- a/src/Seller/EasyShipV20220323/Dto/InvoiceData.php +++ b/src/Seller/EasyShipV20220323/Dto/InvoiceData.php @@ -19,7 +19,7 @@ final class InvoiceData extends Dto * @param ?\DateTimeInterface $invoiceDate A datetime value in ISO 8601 format. */ public function __construct( - public readonly string $invoiceNumber, - public readonly ?\DateTimeInterface $invoiceDate = null, + public string $invoiceNumber, + public ?\DateTimeInterface $invoiceDate = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/Item.php b/src/Seller/EasyShipV20220323/Dto/Item.php index bb24cbadb..e74d2383a 100644 --- a/src/Seller/EasyShipV20220323/Dto/Item.php +++ b/src/Seller/EasyShipV20220323/Dto/Item.php @@ -19,7 +19,7 @@ final class Item extends Dto * @param ?string[] $orderItemSerialNumbers A list of serial numbers for the items associated with the `OrderItemId` value. */ public function __construct( - public readonly ?string $orderItemId = null, - public readonly ?array $orderItemSerialNumbers = null, + public ?string $orderItemId = null, + public ?array $orderItemSerialNumbers = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/ListHandoverSlotsRequest.php b/src/Seller/EasyShipV20220323/Dto/ListHandoverSlotsRequest.php index 920229725..43be5f273 100644 --- a/src/Seller/EasyShipV20220323/Dto/ListHandoverSlotsRequest.php +++ b/src/Seller/EasyShipV20220323/Dto/ListHandoverSlotsRequest.php @@ -21,9 +21,9 @@ final class ListHandoverSlotsRequest extends Dto * @param Weight $packageWeight The weight of the scheduled package */ public function __construct( - public readonly string $marketplaceId, - public readonly string $amazonOrderId, - public readonly Dimensions $packageDimensions, - public readonly Weight $packageWeight, + public string $marketplaceId, + public string $amazonOrderId, + public Dimensions $packageDimensions, + public Weight $packageWeight, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/OrderScheduleDetails.php b/src/Seller/EasyShipV20220323/Dto/OrderScheduleDetails.php index 5d59dca29..b68f505b4 100644 --- a/src/Seller/EasyShipV20220323/Dto/OrderScheduleDetails.php +++ b/src/Seller/EasyShipV20220323/Dto/OrderScheduleDetails.php @@ -19,7 +19,7 @@ final class OrderScheduleDetails extends Dto * @param ?PackageDetails $packageDetails Package details. Includes `packageItems`, `packageTimeSlot`, and `packageIdentifier`. */ public function __construct( - public readonly string $amazonOrderId, - public readonly ?PackageDetails $packageDetails = null, + public string $amazonOrderId, + public ?PackageDetails $packageDetails = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/PackageDetails.php b/src/Seller/EasyShipV20220323/Dto/PackageDetails.php index 5efbbf791..d2e709df2 100644 --- a/src/Seller/EasyShipV20220323/Dto/PackageDetails.php +++ b/src/Seller/EasyShipV20220323/Dto/PackageDetails.php @@ -22,8 +22,8 @@ final class PackageDetails extends Dto * @param ?string $packageIdentifier Optional seller-created identifier that is printed on the shipping label to help the seller identify the package. */ public function __construct( - public readonly TimeSlot $packageTimeSlot, - public readonly ?array $packageItems = null, - public readonly ?string $packageIdentifier = null, + public TimeSlot $packageTimeSlot, + public ?array $packageItems = null, + public ?string $packageIdentifier = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/RejectedOrder.php b/src/Seller/EasyShipV20220323/Dto/RejectedOrder.php index 05176da36..9719ad2cb 100644 --- a/src/Seller/EasyShipV20220323/Dto/RejectedOrder.php +++ b/src/Seller/EasyShipV20220323/Dto/RejectedOrder.php @@ -19,7 +19,7 @@ final class RejectedOrder extends Dto * @param ?Error $error Error response returned when the request is unsuccessful. */ public function __construct( - public readonly string $amazonOrderId, - public readonly ?Error $error = null, + public string $amazonOrderId, + public ?Error $error = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/ScheduledPackageId.php b/src/Seller/EasyShipV20220323/Dto/ScheduledPackageId.php index 374928bcb..713bc0442 100644 --- a/src/Seller/EasyShipV20220323/Dto/ScheduledPackageId.php +++ b/src/Seller/EasyShipV20220323/Dto/ScheduledPackageId.php @@ -19,7 +19,7 @@ final class ScheduledPackageId extends Dto * @param ?string $packageId An Amazon-defined identifier for the scheduled package. */ public function __construct( - public readonly string $amazonOrderId, - public readonly ?string $packageId = null, + public string $amazonOrderId, + public ?string $packageId = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/TimeSlot.php b/src/Seller/EasyShipV20220323/Dto/TimeSlot.php index e56cdccb1..6ff58f09f 100644 --- a/src/Seller/EasyShipV20220323/Dto/TimeSlot.php +++ b/src/Seller/EasyShipV20220323/Dto/TimeSlot.php @@ -21,9 +21,9 @@ final class TimeSlot extends Dto * @param ?string $handoverMethod Identifies the method by which a seller will hand a package over to Amazon Logistics. */ public function __construct( - public readonly string $slotId, - public readonly ?\DateTimeInterface $startTime = null, - public readonly ?\DateTimeInterface $endTime = null, - public readonly ?string $handoverMethod = null, + public string $slotId, + public ?\DateTimeInterface $startTime = null, + public ?\DateTimeInterface $endTime = null, + public ?string $handoverMethod = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/TrackingDetails.php b/src/Seller/EasyShipV20220323/Dto/TrackingDetails.php index d57d3ad09..7f2323d99 100644 --- a/src/Seller/EasyShipV20220323/Dto/TrackingDetails.php +++ b/src/Seller/EasyShipV20220323/Dto/TrackingDetails.php @@ -18,6 +18,6 @@ final class TrackingDetails extends Dto * @param ?string $trackingId A string of up to 255 characters. */ public function __construct( - public readonly ?string $trackingId = null, + public ?string $trackingId = null, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/UpdatePackageDetails.php b/src/Seller/EasyShipV20220323/Dto/UpdatePackageDetails.php index 860a8f217..70e8605a2 100644 --- a/src/Seller/EasyShipV20220323/Dto/UpdatePackageDetails.php +++ b/src/Seller/EasyShipV20220323/Dto/UpdatePackageDetails.php @@ -19,7 +19,7 @@ final class UpdatePackageDetails extends Dto * @param TimeSlot $packageTimeSlot A time window to hand over an Easy Ship package to Amazon Logistics. */ public function __construct( - public readonly ScheduledPackageId $scheduledPackageId, - public readonly TimeSlot $packageTimeSlot, + public ScheduledPackageId $scheduledPackageId, + public TimeSlot $packageTimeSlot, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/UpdateScheduledPackagesRequest.php b/src/Seller/EasyShipV20220323/Dto/UpdateScheduledPackagesRequest.php index 68fa47595..1b1253eef 100644 --- a/src/Seller/EasyShipV20220323/Dto/UpdateScheduledPackagesRequest.php +++ b/src/Seller/EasyShipV20220323/Dto/UpdateScheduledPackagesRequest.php @@ -21,7 +21,7 @@ final class UpdateScheduledPackagesRequest extends Dto * @param UpdatePackageDetails[] $updatePackageDetailsList A list of package update details. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $updatePackageDetailsList, + public string $marketplaceId, + public array $updatePackageDetailsList, ) {} } diff --git a/src/Seller/EasyShipV20220323/Dto/Weight.php b/src/Seller/EasyShipV20220323/Dto/Weight.php index 17c452471..b1590756e 100644 --- a/src/Seller/EasyShipV20220323/Dto/Weight.php +++ b/src/Seller/EasyShipV20220323/Dto/Weight.php @@ -19,7 +19,7 @@ final class Weight extends Dto * @param ?string $unit The unit of measurement used to measure the weight. */ public function __construct( - public readonly ?float $value = null, - public readonly ?string $unit = null, + public ?float $value = null, + public ?string $unit = null, ) {} } diff --git a/src/Seller/FBAInboundEligibilityV1/Dto/Error.php b/src/Seller/FBAInboundEligibilityV1/Dto/Error.php index 1e0c0ada1..77269b9ce 100644 --- a/src/Seller/FBAInboundEligibilityV1/Dto/Error.php +++ b/src/Seller/FBAInboundEligibilityV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional information that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly ?string $message = null, - public readonly ?string $details = null, + public string $code, + public ?string $message = null, + public ?string $details = null, ) {} } diff --git a/src/Seller/FBAInboundEligibilityV1/Dto/ErrorList.php b/src/Seller/FBAInboundEligibilityV1/Dto/ErrorList.php index 73bc5fa5a..dd5064ade 100644 --- a/src/Seller/FBAInboundEligibilityV1/Dto/ErrorList.php +++ b/src/Seller/FBAInboundEligibilityV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/FBAInboundEligibilityV1/Dto/ItemEligibilityPreview.php b/src/Seller/FBAInboundEligibilityV1/Dto/ItemEligibilityPreview.php index 849913ebe..286fe18ce 100644 --- a/src/Seller/FBAInboundEligibilityV1/Dto/ItemEligibilityPreview.php +++ b/src/Seller/FBAInboundEligibilityV1/Dto/ItemEligibilityPreview.php @@ -22,10 +22,10 @@ final class ItemEligibilityPreview extends Dto * @param ?string[] $ineligibilityReasonList Potential Ineligibility Reason Codes. */ public function __construct( - public readonly string $asin, - public readonly string $program, - public readonly bool $isEligibleForProgram, - public readonly ?string $marketplaceId = null, - public readonly ?array $ineligibilityReasonList = null, + public string $asin, + public string $program, + public bool $isEligibleForProgram, + public ?string $marketplaceId = null, + public ?array $ineligibilityReasonList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Api.php b/src/Seller/FBAInboundV0/Api.php index 8f42563d0..b615bf052 100644 --- a/src/Seller/FBAInboundV0/Api.php +++ b/src/Seller/FBAInboundV0/Api.php @@ -161,7 +161,7 @@ public function confirmTransport(string $shipmentId): Response * @param ?int $numberOfPackages The number of packages in the shipment. * @param ?array $packageLabelsToPrint A list of identifiers that specify packages for which you want package labels printed. * - * Must match CartonId values previously passed using the FBA Inbound Shipment Carton Information Feed. If not, the operation returns the IncorrectPackageIdentifier error code. + * If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then `PackageLabelsToPrint` must match the `CartonId` values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then `PackageLabelsToPrint` must match the `boxID` values from the [`listShipmentBoxes`](https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v2024-03-20-reference#listshipmentboxes) response. If these values do not match as required, the operation returns the `IncorrectPackageIdentifier` error code. * @param ?int $numberOfPallets The number of pallets in the shipment. This returns four identical labels for each pallet. * @param ?int $pageSize The page size for paginating through the total packages' labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000. * @param ?int $pageStartIndex The page start index for paginating through the total packages' labels. This is a required parameter for Non-Partnered LTL Shipments. diff --git a/src/Seller/FBAInboundV0/Dto/Address.php b/src/Seller/FBAInboundV0/Dto/Address.php index e8a3696f3..5ae25bb4a 100644 --- a/src/Seller/FBAInboundV0/Dto/Address.php +++ b/src/Seller/FBAInboundV0/Dto/Address.php @@ -40,13 +40,13 @@ final class Address extends Dto * If postal codes are used in your marketplace, we recommended that you include one with your request. This helps Amazon select the most appropriate Amazon fulfillment center for the inbound shipment plan. */ public function __construct( - public readonly ?string $name = null, - public readonly ?string $addressLine1 = null, - public readonly ?string $addressLine2 = null, - public readonly ?string $districtOrCounty = null, - public readonly ?string $city = null, - public readonly ?string $stateOrProvinceCode = null, - public readonly ?string $countryCode = null, - public readonly ?string $postalCode = null, + public ?string $name = null, + public ?string $addressLine1 = null, + public ?string $addressLine2 = null, + public ?string $districtOrCounty = null, + public ?string $city = null, + public ?string $stateOrProvinceCode = null, + public ?string $countryCode = null, + public ?string $postalCode = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/AmazonPrepFeesDetails.php b/src/Seller/FBAInboundV0/Dto/AmazonPrepFeesDetails.php index 9b718ecc2..8ac0e412e 100644 --- a/src/Seller/FBAInboundV0/Dto/AmazonPrepFeesDetails.php +++ b/src/Seller/FBAInboundV0/Dto/AmazonPrepFeesDetails.php @@ -21,7 +21,7 @@ final class AmazonPrepFeesDetails extends Dto * @param ?Amount $feePerUnit The monetary value. */ public function __construct( - public readonly ?string $prepInstruction = null, - public readonly ?Amount $feePerUnit = null, + public ?string $prepInstruction = null, + public ?Amount $feePerUnit = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/Amount.php b/src/Seller/FBAInboundV0/Dto/Amount.php index 6ad0d62ac..ff2cf6bfd 100644 --- a/src/Seller/FBAInboundV0/Dto/Amount.php +++ b/src/Seller/FBAInboundV0/Dto/Amount.php @@ -21,7 +21,7 @@ final class Amount extends Dto * @param float $value Number format that supports decimal. */ public function __construct( - public readonly string $currencyCode, - public readonly float $value, + public string $currencyCode, + public float $value, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/AsinInboundGuidance.php b/src/Seller/FBAInboundV0/Dto/AsinInboundGuidance.php index ee7f5481e..cf68300ae 100644 --- a/src/Seller/FBAInboundV0/Dto/AsinInboundGuidance.php +++ b/src/Seller/FBAInboundV0/Dto/AsinInboundGuidance.php @@ -26,8 +26,8 @@ final class AsinInboundGuidance extends Dto * @param ?string[] $guidanceReasonList A list of inbound guidance reason information. */ public function __construct( - public readonly string $asin, - public readonly string $inboundGuidance, - public readonly ?array $guidanceReasonList = null, + public string $asin, + public string $inboundGuidance, + public ?array $guidanceReasonList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/AsinPrepInstructions.php b/src/Seller/FBAInboundV0/Dto/AsinPrepInstructions.php index 340c4eabd..3307dd62e 100644 --- a/src/Seller/FBAInboundV0/Dto/AsinPrepInstructions.php +++ b/src/Seller/FBAInboundV0/Dto/AsinPrepInstructions.php @@ -28,9 +28,9 @@ final class AsinPrepInstructions extends Dto * @param ?string[] $prepInstructionList A list of preparation instructions to help with item sourcing decisions. */ public function __construct( - public readonly ?string $asin = null, - public readonly ?string $barcodeInstruction = null, - public readonly ?string $prepGuidance = null, - public readonly ?array $prepInstructionList = null, + public ?string $asin = null, + public ?string $barcodeInstruction = null, + public ?string $prepGuidance = null, + public ?array $prepInstructionList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/BillOfLadingDownloadUrl.php b/src/Seller/FBAInboundV0/Dto/BillOfLadingDownloadUrl.php index 6bc16a5e5..7d88e9a6d 100644 --- a/src/Seller/FBAInboundV0/Dto/BillOfLadingDownloadUrl.php +++ b/src/Seller/FBAInboundV0/Dto/BillOfLadingDownloadUrl.php @@ -20,6 +20,6 @@ final class BillOfLadingDownloadUrl extends Dto * @param ?string $downloadUrl URL to download the bill of lading for the package. Note: The URL will only be valid for 15 seconds */ public function __construct( - public readonly ?string $downloadUrl = null, + public ?string $downloadUrl = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/BoxContentsFeeDetails.php b/src/Seller/FBAInboundV0/Dto/BoxContentsFeeDetails.php index 9c9ca58f7..97ce0ac02 100644 --- a/src/Seller/FBAInboundV0/Dto/BoxContentsFeeDetails.php +++ b/src/Seller/FBAInboundV0/Dto/BoxContentsFeeDetails.php @@ -26,8 +26,8 @@ final class BoxContentsFeeDetails extends Dto * @param ?Amount $totalFee The monetary value. */ public function __construct( - public readonly ?int $totalUnits = null, - public readonly ?Amount $feePerUnit = null, - public readonly ?Amount $totalFee = null, + public ?int $totalUnits = null, + public ?Amount $feePerUnit = null, + public ?Amount $totalFee = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/CommonTransportResult.php b/src/Seller/FBAInboundV0/Dto/CommonTransportResult.php index 0b9973901..e29267543 100644 --- a/src/Seller/FBAInboundV0/Dto/CommonTransportResult.php +++ b/src/Seller/FBAInboundV0/Dto/CommonTransportResult.php @@ -20,6 +20,6 @@ final class CommonTransportResult extends Dto * @param ?TransportResult $transportResult The workflow status for a shipment with an Amazon-partnered carrier. */ public function __construct( - public readonly ?TransportResult $transportResult = null, + public ?TransportResult $transportResult = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/ConfirmPreorderResult.php b/src/Seller/FBAInboundV0/Dto/ConfirmPreorderResult.php index 01633f90d..d3d1c2627 100644 --- a/src/Seller/FBAInboundV0/Dto/ConfirmPreorderResult.php +++ b/src/Seller/FBAInboundV0/Dto/ConfirmPreorderResult.php @@ -24,7 +24,7 @@ final class ConfirmPreorderResult extends Dto * @param ?\DateTimeInterface $confirmedFulfillableDate Type containing date in string format */ public function __construct( - public readonly ?\DateTimeInterface $confirmedNeedByDate = null, - public readonly ?\DateTimeInterface $confirmedFulfillableDate = null, + public ?\DateTimeInterface $confirmedNeedByDate = null, + public ?\DateTimeInterface $confirmedFulfillableDate = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/Contact.php b/src/Seller/FBAInboundV0/Dto/Contact.php index 3fad82811..11d9e9038 100644 --- a/src/Seller/FBAInboundV0/Dto/Contact.php +++ b/src/Seller/FBAInboundV0/Dto/Contact.php @@ -23,9 +23,9 @@ final class Contact extends Dto * @param ?string $fax The fax number of the contact person. */ public function __construct( - public readonly string $name, - public readonly string $phone, - public readonly string $email, - public readonly ?string $fax = null, + public string $name, + public string $phone, + public string $email, + public ?string $fax = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/CreateInboundShipmentPlanRequest.php b/src/Seller/FBAInboundV0/Dto/CreateInboundShipmentPlanRequest.php index 537d9f95b..4a2f28ebe 100644 --- a/src/Seller/FBAInboundV0/Dto/CreateInboundShipmentPlanRequest.php +++ b/src/Seller/FBAInboundV0/Dto/CreateInboundShipmentPlanRequest.php @@ -52,10 +52,10 @@ final class CreateInboundShipmentPlanRequest extends Dto * Note: Not required. Specifying both ShipToCountryCode and ShipToCountrySubdivisionCode returns an error. */ public function __construct( - public readonly Address $shipFromAddress, - public readonly string $labelPrepPreference, - public readonly array $inboundShipmentPlanRequestItems, - public readonly ?string $shipToCountryCode = null, - public readonly ?string $shipToCountrySubdivisionCode = null, + public Address $shipFromAddress, + public string $labelPrepPreference, + public array $inboundShipmentPlanRequestItems, + public ?string $shipToCountryCode = null, + public ?string $shipToCountrySubdivisionCode = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/CreateInboundShipmentPlanResult.php b/src/Seller/FBAInboundV0/Dto/CreateInboundShipmentPlanResult.php index b1d6027cf..54cb01ed3 100644 --- a/src/Seller/FBAInboundV0/Dto/CreateInboundShipmentPlanResult.php +++ b/src/Seller/FBAInboundV0/Dto/CreateInboundShipmentPlanResult.php @@ -22,6 +22,6 @@ final class CreateInboundShipmentPlanResult extends Dto * @param InboundShipmentPlan[]|null $inboundShipmentPlans A list of inbound shipment plan information */ public function __construct( - public readonly ?array $inboundShipmentPlans = null, + public ?array $inboundShipmentPlans = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/Dimensions.php b/src/Seller/FBAInboundV0/Dto/Dimensions.php index 4d92b8878..58b8469e9 100644 --- a/src/Seller/FBAInboundV0/Dto/Dimensions.php +++ b/src/Seller/FBAInboundV0/Dto/Dimensions.php @@ -28,9 +28,9 @@ final class Dimensions extends Dto * @param string $unit Indicates the unit of measurement. */ public function __construct( - public readonly float $length, - public readonly float $width, - public readonly float $height, - public readonly string $unit, + public float $length, + public float $width, + public float $height, + public string $unit, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/Error.php b/src/Seller/FBAInboundV0/Dto/Error.php index 1714ab875..07c2e98d7 100644 --- a/src/Seller/FBAInboundV0/Dto/Error.php +++ b/src/Seller/FBAInboundV0/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/ErrorList.php b/src/Seller/FBAInboundV0/Dto/ErrorList.php index 758c88036..567f6f9fb 100644 --- a/src/Seller/FBAInboundV0/Dto/ErrorList.php +++ b/src/Seller/FBAInboundV0/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/GetInboundGuidanceResult.php b/src/Seller/FBAInboundV0/Dto/GetInboundGuidanceResult.php index 342ade62a..a2cb11fc8 100644 --- a/src/Seller/FBAInboundV0/Dto/GetInboundGuidanceResult.php +++ b/src/Seller/FBAInboundV0/Dto/GetInboundGuidanceResult.php @@ -35,9 +35,9 @@ final class GetInboundGuidanceResult extends Dto * @param InvalidAsin[]|null $invalidAsinList A list of invalid ASIN values and the reasons they are invalid. */ public function __construct( - public readonly ?array $skuInboundGuidanceList = null, - public readonly ?array $invalidSkuList = null, - public readonly ?array $asinInboundGuidanceList = null, - public readonly ?array $invalidAsinList = null, + public ?array $skuInboundGuidanceList = null, + public ?array $invalidSkuList = null, + public ?array $asinInboundGuidanceList = null, + public ?array $invalidAsinList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/GetPreorderInfoResult.php b/src/Seller/FBAInboundV0/Dto/GetPreorderInfoResult.php index 9407e58ba..6c4046ec2 100644 --- a/src/Seller/FBAInboundV0/Dto/GetPreorderInfoResult.php +++ b/src/Seller/FBAInboundV0/Dto/GetPreorderInfoResult.php @@ -28,9 +28,9 @@ final class GetPreorderInfoResult extends Dto * @param ?\DateTimeInterface $confirmedFulfillableDate Type containing date in string format */ public function __construct( - public readonly ?bool $shipmentContainsPreorderableItems = null, - public readonly ?bool $shipmentConfirmedForPreorder = null, - public readonly ?\DateTimeInterface $needByDate = null, - public readonly ?\DateTimeInterface $confirmedFulfillableDate = null, + public ?bool $shipmentContainsPreorderableItems = null, + public ?bool $shipmentConfirmedForPreorder = null, + public ?\DateTimeInterface $needByDate = null, + public ?\DateTimeInterface $confirmedFulfillableDate = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/GetPrepInstructionsResult.php b/src/Seller/FBAInboundV0/Dto/GetPrepInstructionsResult.php index 1a944f2f0..d0d6045ed 100644 --- a/src/Seller/FBAInboundV0/Dto/GetPrepInstructionsResult.php +++ b/src/Seller/FBAInboundV0/Dto/GetPrepInstructionsResult.php @@ -35,9 +35,9 @@ final class GetPrepInstructionsResult extends Dto * @param InvalidAsin[]|null $invalidAsinList A list of invalid ASIN values and the reasons they are invalid. */ public function __construct( - public readonly ?array $skuPrepInstructionsList = null, - public readonly ?array $invalidSkuList = null, - public readonly ?array $asinPrepInstructionsList = null, - public readonly ?array $invalidAsinList = null, + public ?array $skuPrepInstructionsList = null, + public ?array $invalidSkuList = null, + public ?array $asinPrepInstructionsList = null, + public ?array $invalidAsinList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/GetShipmentItemsResult.php b/src/Seller/FBAInboundV0/Dto/GetShipmentItemsResult.php index 1b1c0f9bd..36cca5c44 100644 --- a/src/Seller/FBAInboundV0/Dto/GetShipmentItemsResult.php +++ b/src/Seller/FBAInboundV0/Dto/GetShipmentItemsResult.php @@ -23,7 +23,7 @@ final class GetShipmentItemsResult extends Dto * @param ?string $nextToken When present and not empty, pass this string token in the next request to return the next response page. */ public function __construct( - public readonly ?array $itemData = null, - public readonly ?string $nextToken = null, + public ?array $itemData = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/GetShipmentsResult.php b/src/Seller/FBAInboundV0/Dto/GetShipmentsResult.php index cdc7bf27b..72f9d7e1f 100644 --- a/src/Seller/FBAInboundV0/Dto/GetShipmentsResult.php +++ b/src/Seller/FBAInboundV0/Dto/GetShipmentsResult.php @@ -23,7 +23,7 @@ final class GetShipmentsResult extends Dto * @param ?string $nextToken When present and not empty, pass this string token in the next request to return the next response page. */ public function __construct( - public readonly ?array $shipmentData = null, - public readonly ?string $nextToken = null, + public ?array $shipmentData = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/GetTransportDetailsResult.php b/src/Seller/FBAInboundV0/Dto/GetTransportDetailsResult.php index 0f3cabb13..11568865e 100644 --- a/src/Seller/FBAInboundV0/Dto/GetTransportDetailsResult.php +++ b/src/Seller/FBAInboundV0/Dto/GetTransportDetailsResult.php @@ -20,6 +20,6 @@ final class GetTransportDetailsResult extends Dto * @param ?TransportContent $transportContent Inbound shipment information, including carrier details, shipment status, and the workflow status for a request for shipment with an Amazon-partnered carrier. */ public function __construct( - public readonly ?TransportContent $transportContent = null, + public ?TransportContent $transportContent = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InboundShipmentHeader.php b/src/Seller/FBAInboundV0/Dto/InboundShipmentHeader.php index 02e043063..0cad752c6 100644 --- a/src/Seller/FBAInboundV0/Dto/InboundShipmentHeader.php +++ b/src/Seller/FBAInboundV0/Dto/InboundShipmentHeader.php @@ -42,12 +42,12 @@ final class InboundShipmentHeader extends Dto * @param ?string $intendedBoxContentsSource How the seller intends to provide box contents information for a shipment. Leaving this field blank is equivalent to selecting `NONE`, which will incur a fee if the seller does not provide box contents information. */ public function __construct( - public readonly string $shipmentName, - public readonly Address $shipFromAddress, - public readonly string $destinationFulfillmentCenterId, - public readonly string $shipmentStatus, - public readonly string $labelPrepPreference, - public readonly ?bool $areCasesRequired = null, - public readonly ?string $intendedBoxContentsSource = null, + public string $shipmentName, + public Address $shipFromAddress, + public string $destinationFulfillmentCenterId, + public string $shipmentStatus, + public string $labelPrepPreference, + public ?bool $areCasesRequired = null, + public ?string $intendedBoxContentsSource = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InboundShipmentInfo.php b/src/Seller/FBAInboundV0/Dto/InboundShipmentInfo.php index f1123e69f..6ffe51955 100644 --- a/src/Seller/FBAInboundV0/Dto/InboundShipmentInfo.php +++ b/src/Seller/FBAInboundV0/Dto/InboundShipmentInfo.php @@ -40,15 +40,15 @@ final class InboundShipmentInfo extends Dto * @param ?BoxContentsFeeDetails $estimatedBoxContentsFee The manual processing fee per unit and total fee for a shipment. */ public function __construct( - public readonly Address $shipFromAddress, - public readonly ?string $shipmentId = null, - public readonly ?string $shipmentName = null, - public readonly ?string $destinationFulfillmentCenterId = null, - public readonly ?string $shipmentStatus = null, - public readonly ?string $labelPrepType = null, - public readonly ?bool $areCasesRequired = null, - public readonly ?\DateTimeInterface $confirmedNeedByDate = null, - public readonly ?string $boxContentsSource = null, - public readonly ?BoxContentsFeeDetails $estimatedBoxContentsFee = null, + public Address $shipFromAddress, + public ?string $shipmentId = null, + public ?string $shipmentName = null, + public ?string $destinationFulfillmentCenterId = null, + public ?string $shipmentStatus = null, + public ?string $labelPrepType = null, + public ?bool $areCasesRequired = null, + public ?\DateTimeInterface $confirmedNeedByDate = null, + public ?string $boxContentsSource = null, + public ?BoxContentsFeeDetails $estimatedBoxContentsFee = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InboundShipmentItem.php b/src/Seller/FBAInboundV0/Dto/InboundShipmentItem.php index 41a4c211a..05e2f3bd5 100644 --- a/src/Seller/FBAInboundV0/Dto/InboundShipmentItem.php +++ b/src/Seller/FBAInboundV0/Dto/InboundShipmentItem.php @@ -38,13 +38,13 @@ final class InboundShipmentItem extends Dto * @param PrepDetails[]|null $prepDetailsList A list of preparation instructions and who is responsible for that preparation. */ public function __construct( - public readonly string $sellerSku, - public readonly int $quantityShipped, - public readonly ?string $shipmentId = null, - public readonly ?string $fulfillmentNetworkSku = null, - public readonly ?int $quantityReceived = null, - public readonly ?int $quantityInCase = null, - public readonly ?\DateTimeInterface $releaseDate = null, - public readonly ?array $prepDetailsList = null, + public string $sellerSku, + public int $quantityShipped, + public ?string $shipmentId = null, + public ?string $fulfillmentNetworkSku = null, + public ?int $quantityReceived = null, + public ?int $quantityInCase = null, + public ?\DateTimeInterface $releaseDate = null, + public ?array $prepDetailsList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InboundShipmentPlan.php b/src/Seller/FBAInboundV0/Dto/InboundShipmentPlan.php index e0394074a..82d389f38 100644 --- a/src/Seller/FBAInboundV0/Dto/InboundShipmentPlan.php +++ b/src/Seller/FBAInboundV0/Dto/InboundShipmentPlan.php @@ -34,11 +34,11 @@ final class InboundShipmentPlan extends Dto * @param ?BoxContentsFeeDetails $estimatedBoxContentsFee The manual processing fee per unit and total fee for a shipment. */ public function __construct( - public readonly string $shipmentId, - public readonly string $destinationFulfillmentCenterId, - public readonly Address $shipToAddress, - public readonly string $labelPrepType, - public readonly array $items, - public readonly ?BoxContentsFeeDetails $estimatedBoxContentsFee = null, + public string $shipmentId, + public string $destinationFulfillmentCenterId, + public Address $shipToAddress, + public string $labelPrepType, + public array $items, + public ?BoxContentsFeeDetails $estimatedBoxContentsFee = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InboundShipmentPlanItem.php b/src/Seller/FBAInboundV0/Dto/InboundShipmentPlanItem.php index d946c40c6..1215b330d 100644 --- a/src/Seller/FBAInboundV0/Dto/InboundShipmentPlanItem.php +++ b/src/Seller/FBAInboundV0/Dto/InboundShipmentPlanItem.php @@ -30,9 +30,9 @@ final class InboundShipmentPlanItem extends Dto * @param PrepDetails[]|null $prepDetailsList A list of preparation instructions and who is responsible for that preparation. */ public function __construct( - public readonly string $sellerSku, - public readonly string $fulfillmentNetworkSku, - public readonly int $quantity, - public readonly ?array $prepDetailsList = null, + public string $sellerSku, + public string $fulfillmentNetworkSku, + public int $quantity, + public ?array $prepDetailsList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InboundShipmentPlanRequestItem.php b/src/Seller/FBAInboundV0/Dto/InboundShipmentPlanRequestItem.php index aa99d3d91..2cc77f024 100644 --- a/src/Seller/FBAInboundV0/Dto/InboundShipmentPlanRequestItem.php +++ b/src/Seller/FBAInboundV0/Dto/InboundShipmentPlanRequestItem.php @@ -34,11 +34,11 @@ final class InboundShipmentPlanRequestItem extends Dto * @param PrepDetails[]|null $prepDetailsList A list of preparation instructions and who is responsible for that preparation. */ public function __construct( - public readonly string $sellerSku, - public readonly string $asin, - public readonly string $condition, - public readonly int $quantity, - public readonly ?int $quantityInCase = null, - public readonly ?array $prepDetailsList = null, + public string $sellerSku, + public string $asin, + public string $condition, + public int $quantity, + public ?int $quantityInCase = null, + public ?array $prepDetailsList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InboundShipmentRequest.php b/src/Seller/FBAInboundV0/Dto/InboundShipmentRequest.php index db03708f3..4b0f9d67d 100644 --- a/src/Seller/FBAInboundV0/Dto/InboundShipmentRequest.php +++ b/src/Seller/FBAInboundV0/Dto/InboundShipmentRequest.php @@ -28,8 +28,8 @@ final class InboundShipmentRequest extends Dto * @param string $marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored. */ public function __construct( - public readonly InboundShipmentHeader $inboundShipmentHeader, - public readonly array $inboundShipmentItems, - public readonly string $marketplaceId, + public InboundShipmentHeader $inboundShipmentHeader, + public array $inboundShipmentItems, + public string $marketplaceId, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InboundShipmentResult.php b/src/Seller/FBAInboundV0/Dto/InboundShipmentResult.php index 0cde4171e..b32f0c849 100644 --- a/src/Seller/FBAInboundV0/Dto/InboundShipmentResult.php +++ b/src/Seller/FBAInboundV0/Dto/InboundShipmentResult.php @@ -20,6 +20,6 @@ final class InboundShipmentResult extends Dto * @param string $shipmentId The shipment identifier submitted in the request. */ public function __construct( - public readonly string $shipmentId, + public string $shipmentId, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InvalidAsin.php b/src/Seller/FBAInboundV0/Dto/InvalidAsin.php index b0db2e518..83c689cd1 100644 --- a/src/Seller/FBAInboundV0/Dto/InvalidAsin.php +++ b/src/Seller/FBAInboundV0/Dto/InvalidAsin.php @@ -21,7 +21,7 @@ final class InvalidAsin extends Dto * @param ?string $errorReason The reason that the ASIN is invalid. */ public function __construct( - public readonly ?string $asin = null, - public readonly ?string $errorReason = null, + public ?string $asin = null, + public ?string $errorReason = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/InvalidSku.php b/src/Seller/FBAInboundV0/Dto/InvalidSku.php index a8fc4cc1f..345585a02 100644 --- a/src/Seller/FBAInboundV0/Dto/InvalidSku.php +++ b/src/Seller/FBAInboundV0/Dto/InvalidSku.php @@ -21,7 +21,7 @@ final class InvalidSku extends Dto * @param ?string $errorReason The reason that the ASIN is invalid. */ public function __construct( - public readonly ?string $sellerSku = null, - public readonly ?string $errorReason = null, + public ?string $sellerSku = null, + public ?string $errorReason = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/LabelDownloadUrl.php b/src/Seller/FBAInboundV0/Dto/LabelDownloadUrl.php index 25b5c3504..bc1a9fe7a 100644 --- a/src/Seller/FBAInboundV0/Dto/LabelDownloadUrl.php +++ b/src/Seller/FBAInboundV0/Dto/LabelDownloadUrl.php @@ -20,6 +20,6 @@ final class LabelDownloadUrl extends Dto * @param ?string $downloadUrl URL to download the label for the package. Note: The URL will only be valid for 15 seconds */ public function __construct( - public readonly ?string $downloadUrl = null, + public ?string $downloadUrl = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/NonPartneredLtlDataInput.php b/src/Seller/FBAInboundV0/Dto/NonPartneredLtlDataInput.php index e5883e6d7..e9d022cf3 100644 --- a/src/Seller/FBAInboundV0/Dto/NonPartneredLtlDataInput.php +++ b/src/Seller/FBAInboundV0/Dto/NonPartneredLtlDataInput.php @@ -21,7 +21,7 @@ final class NonPartneredLtlDataInput extends Dto * @param string $proNumber The PRO number ("progressive number" or "progressive ID") assigned to the shipment by the carrier. */ public function __construct( - public readonly string $carrierName, - public readonly string $proNumber, + public string $carrierName, + public string $proNumber, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/NonPartneredLtlDataOutput.php b/src/Seller/FBAInboundV0/Dto/NonPartneredLtlDataOutput.php index d2df92d13..1ad0f934a 100644 --- a/src/Seller/FBAInboundV0/Dto/NonPartneredLtlDataOutput.php +++ b/src/Seller/FBAInboundV0/Dto/NonPartneredLtlDataOutput.php @@ -21,7 +21,7 @@ final class NonPartneredLtlDataOutput extends Dto * @param string $proNumber The PRO number ("progressive number" or "progressive ID") assigned to the shipment by the carrier. */ public function __construct( - public readonly string $carrierName, - public readonly string $proNumber, + public string $carrierName, + public string $proNumber, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelDataInput.php b/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelDataInput.php index e7876fa54..4f81b8e3a 100644 --- a/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelDataInput.php +++ b/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelDataInput.php @@ -23,7 +23,7 @@ final class NonPartneredSmallParcelDataInput extends Dto * @param NonPartneredSmallParcelPackageInput[] $packageList A list of package tracking information. */ public function __construct( - public readonly string $carrierName, - public readonly array $packageList, + public string $carrierName, + public array $packageList, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelDataOutput.php b/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelDataOutput.php index 3d5c32fa8..2969ce63a 100644 --- a/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelDataOutput.php +++ b/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelDataOutput.php @@ -22,6 +22,6 @@ final class NonPartneredSmallParcelDataOutput extends Dto * @param NonPartneredSmallParcelPackageOutput[] $packageList A list of packages, including carrier, tracking number, and status information for each package. */ public function __construct( - public readonly array $packageList, + public array $packageList, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelPackageInput.php b/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelPackageInput.php index 36b81c3f9..6cd766d2e 100644 --- a/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelPackageInput.php +++ b/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelPackageInput.php @@ -20,6 +20,6 @@ final class NonPartneredSmallParcelPackageInput extends Dto * @param string $trackingId The tracking number of the package, provided by the carrier. */ public function __construct( - public readonly string $trackingId, + public string $trackingId, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelPackageOutput.php b/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelPackageOutput.php index 3423706ea..d8ca80397 100644 --- a/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelPackageOutput.php +++ b/src/Seller/FBAInboundV0/Dto/NonPartneredSmallParcelPackageOutput.php @@ -26,8 +26,8 @@ final class NonPartneredSmallParcelPackageOutput extends Dto * @param string $packageStatus The shipment status of the package. */ public function __construct( - public readonly string $carrierName, - public readonly string $trackingId, - public readonly string $packageStatus, + public string $carrierName, + public string $trackingId, + public string $packageStatus, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/Pallet.php b/src/Seller/FBAInboundV0/Dto/Pallet.php index b8f24e835..cd6c4eb9d 100644 --- a/src/Seller/FBAInboundV0/Dto/Pallet.php +++ b/src/Seller/FBAInboundV0/Dto/Pallet.php @@ -22,8 +22,8 @@ final class Pallet extends Dto * @param ?Weight $weight The weight of the package. */ public function __construct( - public readonly Dimensions $dimensions, - public readonly bool $isStacked, - public readonly ?Weight $weight = null, + public Dimensions $dimensions, + public bool $isStacked, + public ?Weight $weight = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PartneredEstimate.php b/src/Seller/FBAInboundV0/Dto/PartneredEstimate.php index 166d6bb5f..f6eea48e5 100644 --- a/src/Seller/FBAInboundV0/Dto/PartneredEstimate.php +++ b/src/Seller/FBAInboundV0/Dto/PartneredEstimate.php @@ -26,8 +26,8 @@ final class PartneredEstimate extends Dto * @param ?\DateTimeInterface $voidDeadline Timestamp in ISO 8601 format. */ public function __construct( - public readonly Amount $amount, - public readonly ?\DateTimeInterface $confirmDeadline = null, - public readonly ?\DateTimeInterface $voidDeadline = null, + public Amount $amount, + public ?\DateTimeInterface $confirmDeadline = null, + public ?\DateTimeInterface $voidDeadline = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PartneredLtlDataInput.php b/src/Seller/FBAInboundV0/Dto/PartneredLtlDataInput.php index ac7b8fd81..e2184fafb 100644 --- a/src/Seller/FBAInboundV0/Dto/PartneredLtlDataInput.php +++ b/src/Seller/FBAInboundV0/Dto/PartneredLtlDataInput.php @@ -36,12 +36,12 @@ final class PartneredLtlDataInput extends Dto * @param ?Amount $sellerDeclaredValue The monetary value. */ public function __construct( - public readonly ?Contact $contact = null, - public readonly ?int $boxCount = null, - public readonly ?string $sellerFreightClass = null, - public readonly ?\DateTimeInterface $freightReadyDate = null, - public readonly ?array $palletList = null, - public readonly ?Weight $totalWeight = null, - public readonly ?Amount $sellerDeclaredValue = null, + public ?Contact $contact = null, + public ?int $boxCount = null, + public ?string $sellerFreightClass = null, + public ?\DateTimeInterface $freightReadyDate = null, + public ?array $palletList = null, + public ?Weight $totalWeight = null, + public ?Amount $sellerDeclaredValue = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PartneredLtlDataOutput.php b/src/Seller/FBAInboundV0/Dto/PartneredLtlDataOutput.php index 14b533a30..84b0e6e15 100644 --- a/src/Seller/FBAInboundV0/Dto/PartneredLtlDataOutput.php +++ b/src/Seller/FBAInboundV0/Dto/PartneredLtlDataOutput.php @@ -52,20 +52,20 @@ final class PartneredLtlDataOutput extends Dto * @param ?PartneredEstimate $partneredEstimate The estimated shipping cost for a shipment using an Amazon-partnered carrier. */ public function __construct( - public readonly Contact $contact, - public readonly int $boxCount, - public readonly \DateTimeInterface $freightReadyDate, - public readonly array $palletList, - public readonly Weight $totalWeight, - public readonly \DateTimeInterface $previewPickupDate, - public readonly \DateTimeInterface $previewDeliveryDate, - public readonly string $previewFreightClass, - public readonly string $amazonReferenceId, - public readonly bool $isBillOfLadingAvailable, - public readonly string $carrierName, - public readonly ?string $sellerFreightClass = null, - public readonly ?Amount $sellerDeclaredValue = null, - public readonly ?Amount $amazonCalculatedValue = null, - public readonly ?PartneredEstimate $partneredEstimate = null, + public Contact $contact, + public int $boxCount, + public \DateTimeInterface $freightReadyDate, + public array $palletList, + public Weight $totalWeight, + public \DateTimeInterface $previewPickupDate, + public \DateTimeInterface $previewDeliveryDate, + public string $previewFreightClass, + public string $amazonReferenceId, + public bool $isBillOfLadingAvailable, + public string $carrierName, + public ?string $sellerFreightClass = null, + public ?Amount $sellerDeclaredValue = null, + public ?Amount $amazonCalculatedValue = null, + public ?PartneredEstimate $partneredEstimate = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelDataInput.php b/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelDataInput.php index 0399f1423..5916ad5d2 100644 --- a/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelDataInput.php +++ b/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelDataInput.php @@ -23,7 +23,7 @@ final class PartneredSmallParcelDataInput extends Dto * @param ?string $carrierName The Amazon-partnered carrier to use for the inbound shipment. **`CarrierName`** values in France (FR), Italy (IT), Spain (ES), the United Kingdom (UK), and the United States (US): `UNITED_PARCEL_SERVICE_INC`.
**`CarrierName`** values in Germany (DE): `DHL_STANDARD`,`UNITED_PARCEL_SERVICE_INC`.
Default: `UNITED_PARCEL_SERVICE_INC`. */ public function __construct( - public readonly ?array $packageList = null, - public readonly ?string $carrierName = null, + public ?array $packageList = null, + public ?string $carrierName = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelDataOutput.php b/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelDataOutput.php index a032b6733..85c2477db 100644 --- a/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelDataOutput.php +++ b/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelDataOutput.php @@ -23,7 +23,7 @@ final class PartneredSmallParcelDataOutput extends Dto * @param ?PartneredEstimate $partneredEstimate The estimated shipping cost for a shipment using an Amazon-partnered carrier. */ public function __construct( - public readonly array $packageList, - public readonly ?PartneredEstimate $partneredEstimate = null, + public array $packageList, + public ?PartneredEstimate $partneredEstimate = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelPackageInput.php b/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelPackageInput.php index e26c564fc..7adeb1175 100644 --- a/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelPackageInput.php +++ b/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelPackageInput.php @@ -21,7 +21,7 @@ final class PartneredSmallParcelPackageInput extends Dto * @param Weight $weight The weight of the package. */ public function __construct( - public readonly Dimensions $dimensions, - public readonly Weight $weight, + public Dimensions $dimensions, + public Weight $weight, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelPackageOutput.php b/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelPackageOutput.php index 052847e8a..8895d07d9 100644 --- a/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelPackageOutput.php +++ b/src/Seller/FBAInboundV0/Dto/PartneredSmallParcelPackageOutput.php @@ -30,10 +30,10 @@ final class PartneredSmallParcelPackageOutput extends Dto * @param string $packageStatus The shipment status of the package. */ public function __construct( - public readonly Dimensions $dimensions, - public readonly Weight $weight, - public readonly string $carrierName, - public readonly string $trackingId, - public readonly string $packageStatus, + public Dimensions $dimensions, + public Weight $weight, + public string $carrierName, + public string $trackingId, + public string $packageStatus, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PrepDetails.php b/src/Seller/FBAInboundV0/Dto/PrepDetails.php index fe2888a6a..53c06c01b 100644 --- a/src/Seller/FBAInboundV0/Dto/PrepDetails.php +++ b/src/Seller/FBAInboundV0/Dto/PrepDetails.php @@ -21,7 +21,7 @@ final class PrepDetails extends Dto * @param string $prepOwner Indicates who will prepare the item. */ public function __construct( - public readonly string $prepInstruction, - public readonly string $prepOwner, + public string $prepInstruction, + public string $prepOwner, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/PutTransportDetailsRequest.php b/src/Seller/FBAInboundV0/Dto/PutTransportDetailsRequest.php index 4336f7b0f..939259a80 100644 --- a/src/Seller/FBAInboundV0/Dto/PutTransportDetailsRequest.php +++ b/src/Seller/FBAInboundV0/Dto/PutTransportDetailsRequest.php @@ -26,8 +26,8 @@ final class PutTransportDetailsRequest extends Dto * @param TransportDetailInput $transportDetails Information required to create an Amazon-partnered carrier shipping estimate, or to alert the Amazon fulfillment center to the arrival of an inbound shipment by a non-Amazon-partnered carrier. */ public function __construct( - public readonly bool $isPartnered, - public readonly string $shipmentType, - public readonly TransportDetailInput $transportDetails, + public bool $isPartnered, + public string $shipmentType, + public TransportDetailInput $transportDetails, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/SkuInboundGuidance.php b/src/Seller/FBAInboundV0/Dto/SkuInboundGuidance.php index 0a2f1d5a0..e6d083087 100644 --- a/src/Seller/FBAInboundV0/Dto/SkuInboundGuidance.php +++ b/src/Seller/FBAInboundV0/Dto/SkuInboundGuidance.php @@ -28,9 +28,9 @@ final class SkuInboundGuidance extends Dto * @param ?string[] $guidanceReasonList A list of inbound guidance reason information. */ public function __construct( - public readonly string $sellerSku, - public readonly string $asin, - public readonly string $inboundGuidance, - public readonly ?array $guidanceReasonList = null, + public string $sellerSku, + public string $asin, + public string $inboundGuidance, + public ?array $guidanceReasonList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/SkuPrepInstructions.php b/src/Seller/FBAInboundV0/Dto/SkuPrepInstructions.php index e75bd4566..7c5b7d787 100644 --- a/src/Seller/FBAInboundV0/Dto/SkuPrepInstructions.php +++ b/src/Seller/FBAInboundV0/Dto/SkuPrepInstructions.php @@ -34,11 +34,11 @@ final class SkuPrepInstructions extends Dto * @param AmazonPrepFeesDetails[]|null $amazonPrepFeesDetailsList A list of preparation instructions and fees for Amazon to prep goods for shipment. */ public function __construct( - public readonly ?string $sellerSku = null, - public readonly ?string $asin = null, - public readonly ?string $barcodeInstruction = null, - public readonly ?string $prepGuidance = null, - public readonly ?array $prepInstructionList = null, - public readonly ?array $amazonPrepFeesDetailsList = null, + public ?string $sellerSku = null, + public ?string $asin = null, + public ?string $barcodeInstruction = null, + public ?string $prepGuidance = null, + public ?array $prepInstructionList = null, + public ?array $amazonPrepFeesDetailsList = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/TransportContent.php b/src/Seller/FBAInboundV0/Dto/TransportContent.php index 7c383e41c..49552c6a8 100644 --- a/src/Seller/FBAInboundV0/Dto/TransportContent.php +++ b/src/Seller/FBAInboundV0/Dto/TransportContent.php @@ -26,8 +26,8 @@ final class TransportContent extends Dto * @param TransportResult $transportResult The workflow status for a shipment with an Amazon-partnered carrier. */ public function __construct( - public readonly TransportHeader $transportHeader, - public readonly TransportDetailOutput $transportDetails, - public readonly TransportResult $transportResult, + public TransportHeader $transportHeader, + public TransportDetailOutput $transportDetails, + public TransportResult $transportResult, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/TransportDetailInput.php b/src/Seller/FBAInboundV0/Dto/TransportDetailInput.php index b998d19b3..125612cbb 100644 --- a/src/Seller/FBAInboundV0/Dto/TransportDetailInput.php +++ b/src/Seller/FBAInboundV0/Dto/TransportDetailInput.php @@ -28,9 +28,9 @@ final class TransportDetailInput extends Dto * @param ?NonPartneredLtlDataInput $nonPartneredLtlData Information that you provide to Amazon about a Less Than Truckload/Full Truckload (LTL/FTL) shipment by a carrier that has not partnered with Amazon. */ public function __construct( - public readonly ?PartneredSmallParcelDataInput $partneredSmallParcelData = null, - public readonly ?NonPartneredSmallParcelDataInput $nonPartneredSmallParcelData = null, - public readonly ?PartneredLtlDataInput $partneredLtlData = null, - public readonly ?NonPartneredLtlDataInput $nonPartneredLtlData = null, + public ?PartneredSmallParcelDataInput $partneredSmallParcelData = null, + public ?NonPartneredSmallParcelDataInput $nonPartneredSmallParcelData = null, + public ?PartneredLtlDataInput $partneredLtlData = null, + public ?NonPartneredLtlDataInput $nonPartneredLtlData = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/TransportDetailOutput.php b/src/Seller/FBAInboundV0/Dto/TransportDetailOutput.php index dfc9e7a98..b2fc5b4ad 100644 --- a/src/Seller/FBAInboundV0/Dto/TransportDetailOutput.php +++ b/src/Seller/FBAInboundV0/Dto/TransportDetailOutput.php @@ -28,9 +28,9 @@ final class TransportDetailOutput extends Dto * @param ?NonPartneredLtlDataOutput $nonPartneredLtlData Information returned by Amazon about a Less Than Truckload/Full Truckload (LTL/FTL) shipment shipped by a carrier that has not partnered with Amazon. */ public function __construct( - public readonly ?PartneredSmallParcelDataOutput $partneredSmallParcelData = null, - public readonly ?NonPartneredSmallParcelDataOutput $nonPartneredSmallParcelData = null, - public readonly ?PartneredLtlDataOutput $partneredLtlData = null, - public readonly ?NonPartneredLtlDataOutput $nonPartneredLtlData = null, + public ?PartneredSmallParcelDataOutput $partneredSmallParcelData = null, + public ?NonPartneredSmallParcelDataOutput $nonPartneredSmallParcelData = null, + public ?PartneredLtlDataOutput $partneredLtlData = null, + public ?NonPartneredLtlDataOutput $nonPartneredLtlData = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/TransportHeader.php b/src/Seller/FBAInboundV0/Dto/TransportHeader.php index 52afaec48..76f4709f4 100644 --- a/src/Seller/FBAInboundV0/Dto/TransportHeader.php +++ b/src/Seller/FBAInboundV0/Dto/TransportHeader.php @@ -34,9 +34,9 @@ final class TransportHeader extends Dto * @param string $shipmentType Specifies the carrier shipment type in a putTransportDetails request. */ public function __construct( - public readonly string $sellerId, - public readonly string $shipmentId, - public readonly bool $isPartnered, - public readonly string $shipmentType, + public string $sellerId, + public string $shipmentId, + public bool $isPartnered, + public string $shipmentType, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/TransportResult.php b/src/Seller/FBAInboundV0/Dto/TransportResult.php index b2d2f59a7..0e208b9cc 100644 --- a/src/Seller/FBAInboundV0/Dto/TransportResult.php +++ b/src/Seller/FBAInboundV0/Dto/TransportResult.php @@ -26,8 +26,8 @@ final class TransportResult extends Dto * @param ?string $errorDescription A message that describes the error condition. */ public function __construct( - public readonly string $transportStatus, - public readonly ?string $errorCode = null, - public readonly ?string $errorDescription = null, + public string $transportStatus, + public ?string $errorCode = null, + public ?string $errorDescription = null, ) {} } diff --git a/src/Seller/FBAInboundV0/Dto/Weight.php b/src/Seller/FBAInboundV0/Dto/Weight.php index b8ca8a243..ca2567ec0 100644 --- a/src/Seller/FBAInboundV0/Dto/Weight.php +++ b/src/Seller/FBAInboundV0/Dto/Weight.php @@ -21,7 +21,7 @@ final class Weight extends Dto * @param string $unit Indicates the unit of weight. */ public function __construct( - public readonly float $value, - public readonly string $unit, + public float $value, + public string $unit, ) {} } diff --git a/src/Seller/FBAInboundV0/Requests/GetLabels.php b/src/Seller/FBAInboundV0/Requests/GetLabels.php index 9db5fcb4e..fe78053d6 100644 --- a/src/Seller/FBAInboundV0/Requests/GetLabels.php +++ b/src/Seller/FBAInboundV0/Requests/GetLabels.php @@ -30,7 +30,7 @@ class GetLabels extends Request * @param ?int $numberOfPackages The number of packages in the shipment. * @param ?array $packageLabelsToPrint A list of identifiers that specify packages for which you want package labels printed. * - * Must match CartonId values previously passed using the FBA Inbound Shipment Carton Information Feed. If not, the operation returns the IncorrectPackageIdentifier error code. + * If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then `PackageLabelsToPrint` must match the `CartonId` values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then `PackageLabelsToPrint` must match the `boxID` values from the [`listShipmentBoxes`](https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v2024-03-20-reference#listshipmentboxes) response. If these values do not match as required, the operation returns the `IncorrectPackageIdentifier` error code. * @param ?int $numberOfPallets The number of pallets in the shipment. This returns four identical labels for each pallet. * @param ?int $pageSize The page size for paginating through the total packages' labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000. * @param ?int $pageStartIndex The page start index for paginating through the total packages' labels. This is a required parameter for Non-Partnered LTL Shipments. diff --git a/src/Seller/FBAInboundV20240320/Api.php b/src/Seller/FBAInboundV20240320/Api.php index 1d0c56627..b2934421b 100644 --- a/src/Seller/FBAInboundV20240320/Api.php +++ b/src/Seller/FBAInboundV20240320/Api.php @@ -14,6 +14,7 @@ use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\GenerateTransportationOptionsRequest; use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\ScheduleSelfShipAppointmentRequest; use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\SetPackingInformationRequest; +use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\SetPrepDetailsRequest; use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\UpdateInboundPlanNameRequest; use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\UpdateItemComplianceDetailsRequest; use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\UpdateShipmentNameRequest; @@ -50,6 +51,7 @@ use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ListPackingGroupItems; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ListPackingOptions; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ListPlacementOptions; +use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ListPrepDetails; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ListShipmentBoxes; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ListShipmentContentUpdatePreviews; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ListShipmentItems; @@ -57,6 +59,7 @@ use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ListTransportationOptions; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\ScheduleSelfShipAppointment; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\SetPackingInformation; +use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\SetPrepDetails; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\UpdateInboundPlanName; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\UpdateItemComplianceDetails; use SellingPartnerApi\Seller\FBAInboundV20240320\Requests\UpdateShipmentName; @@ -627,8 +630,8 @@ public function confirmTransportationOptions( } /** - * @param array $mskus List of merchant SKUs - a merchant-supplied identifier for a specific SKU. - * @param string $marketplaceId The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values. + * @param array $mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU. + * @param string $marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). */ public function listItemComplianceDetails(array $mskus, string $marketplaceId): Response { @@ -639,7 +642,7 @@ public function listItemComplianceDetails(array $mskus, string $marketplaceId): /** * @param UpdateItemComplianceDetailsRequest $updateItemComplianceDetailsRequest The `updateItemComplianceDetails` request. - * @param string $marketplaceId The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values. + * @param string $marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). */ public function updateItemComplianceDetails( UpdateItemComplianceDetailsRequest $updateItemComplianceDetailsRequest, @@ -661,6 +664,27 @@ public function createMarketplaceItemLabels( return $this->connector->send($request); } + /** + * @param string $marketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). + * @param array $mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU. + */ + public function listPrepDetails(string $marketplaceId, array $mskus): Response + { + $request = new ListPrepDetails($marketplaceId, $mskus); + + return $this->connector->send($request); + } + + /** + * @param SetPrepDetailsRequest $setPrepDetailsRequest The `setPrepDetails` request. + */ + public function setPrepDetails(SetPrepDetailsRequest $setPrepDetailsRequest): Response + { + $request = new SetPrepDetails($setPrepDetailsRequest); + + return $this->connector->send($request); + } + /** * @param string $operationId Identifier of an asynchronous operation. */ diff --git a/src/Seller/FBAInboundV20240320/Dto/Address.php b/src/Seller/FBAInboundV20240320/Dto/Address.php index 79e22cc25..7f97a6b70 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Address.php +++ b/src/Seller/FBAInboundV20240320/Dto/Address.php @@ -27,15 +27,15 @@ final class Address extends Dto * @param ?string $stateOrProvinceCode The state or province code. */ public function __construct( - public readonly string $addressLine1, - public readonly string $city, - public readonly string $countryCode, - public readonly string $name, - public readonly string $postalCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $companyName = null, - public readonly ?string $email = null, - public readonly ?string $phoneNumber = null, - public readonly ?string $stateOrProvinceCode = null, + public string $addressLine1, + public string $city, + public string $countryCode, + public string $name, + public string $postalCode, + public ?string $addressLine2 = null, + public ?string $companyName = null, + public ?string $email = null, + public ?string $phoneNumber = null, + public ?string $stateOrProvinceCode = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/AddressInput.php b/src/Seller/FBAInboundV20240320/Dto/AddressInput.php index a1c04d9de..b4745f607 100644 --- a/src/Seller/FBAInboundV20240320/Dto/AddressInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/AddressInput.php @@ -27,15 +27,15 @@ final class AddressInput extends Dto * @param ?string $stateOrProvinceCode The state or province code. */ public function __construct( - public readonly string $addressLine1, - public readonly string $city, - public readonly string $countryCode, - public readonly string $name, - public readonly string $phoneNumber, - public readonly string $postalCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $companyName = null, - public readonly ?string $email = null, - public readonly ?string $stateOrProvinceCode = null, + public string $addressLine1, + public string $city, + public string $countryCode, + public string $name, + public string $phoneNumber, + public string $postalCode, + public ?string $addressLine2 = null, + public ?string $companyName = null, + public ?string $email = null, + public ?string $stateOrProvinceCode = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/AppointmentSlot.php b/src/Seller/FBAInboundV20240320/Dto/AppointmentSlot.php index 151781b2c..4620702f2 100644 --- a/src/Seller/FBAInboundV20240320/Dto/AppointmentSlot.php +++ b/src/Seller/FBAInboundV20240320/Dto/AppointmentSlot.php @@ -19,7 +19,7 @@ final class AppointmentSlot extends Dto * @param AppointmentSlotTime $slotTime An appointment slot time with start and end. */ public function __construct( - public readonly string $slotId, - public readonly AppointmentSlotTime $slotTime, + public string $slotId, + public AppointmentSlotTime $slotTime, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/AppointmentSlotTime.php b/src/Seller/FBAInboundV20240320/Dto/AppointmentSlotTime.php index fdb3e6440..2e188401c 100644 --- a/src/Seller/FBAInboundV20240320/Dto/AppointmentSlotTime.php +++ b/src/Seller/FBAInboundV20240320/Dto/AppointmentSlotTime.php @@ -19,7 +19,7 @@ final class AppointmentSlotTime extends Dto * @param \DateTimeInterface $startTime The start timestamp of the appointment in UTC. */ public function __construct( - public readonly \DateTimeInterface $endTime, - public readonly \DateTimeInterface $startTime, + public \DateTimeInterface $endTime, + public \DateTimeInterface $startTime, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Box.php b/src/Seller/FBAInboundV20240320/Dto/Box.php index e0ba0002f..d3ab0590f 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Box.php +++ b/src/Seller/FBAInboundV20240320/Dto/Box.php @@ -28,14 +28,14 @@ final class Box extends Dto * @param ?Weight $weight The weight of a package. */ public function __construct( - public readonly string $packageId, - public readonly ?string $boxId = null, - public readonly ?string $contentInformationSource = null, - public readonly ?Region $destinationRegion = null, - public readonly ?Dimensions $dimensions = null, - public readonly ?array $items = null, - public readonly ?int $quantity = null, - public readonly ?string $templateName = null, - public readonly ?Weight $weight = null, + public string $packageId, + public ?string $boxId = null, + public ?string $contentInformationSource = null, + public ?Region $destinationRegion = null, + public ?Dimensions $dimensions = null, + public ?array $items = null, + public ?int $quantity = null, + public ?string $templateName = null, + public ?Weight $weight = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/BoxInput.php b/src/Seller/FBAInboundV20240320/Dto/BoxInput.php index 81a220065..aa004a111 100644 --- a/src/Seller/FBAInboundV20240320/Dto/BoxInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/BoxInput.php @@ -24,10 +24,10 @@ final class BoxInput extends Dto * @param ItemInput[]|null $items The items and their quantity in the box. This must be empty if the box `contentInformationSource` is `BARCODE_2D` or `MANUAL_PROCESS`. */ public function __construct( - public readonly string $contentInformationSource, - public readonly Dimensions $dimensions, - public readonly int $quantity, - public readonly Weight $weight, - public readonly ?array $items = null, + public string $contentInformationSource, + public Dimensions $dimensions, + public int $quantity, + public Weight $weight, + public ?array $items = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/BoxUpdateInput.php b/src/Seller/FBAInboundV20240320/Dto/BoxUpdateInput.php index 2df38dce3..dd05aceaf 100644 --- a/src/Seller/FBAInboundV20240320/Dto/BoxUpdateInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/BoxUpdateInput.php @@ -25,11 +25,11 @@ final class BoxUpdateInput extends Dto * @param ?string $packageId Primary key to uniquely identify a Box Package. PackageId must be provided if the intent is to update an existing box. Adding a new box will not require providing this value. Any existing PackageIds not provided will be treated as to-be-removed */ public function __construct( - public readonly string $contentInformationSource, - public readonly Dimensions $dimensions, - public readonly int $quantity, - public readonly Weight $weight, - public readonly ?array $items = null, - public readonly ?string $packageId = null, + public string $contentInformationSource, + public Dimensions $dimensions, + public int $quantity, + public Weight $weight, + public ?array $items = null, + public ?string $packageId = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/CancelSelfShipAppointmentRequest.php b/src/Seller/FBAInboundV20240320/Dto/CancelSelfShipAppointmentRequest.php index dd419caec..c3ae0e3ad 100644 --- a/src/Seller/FBAInboundV20240320/Dto/CancelSelfShipAppointmentRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/CancelSelfShipAppointmentRequest.php @@ -18,6 +18,6 @@ final class CancelSelfShipAppointmentRequest extends Dto * @param ?string $reasonComment Reason for cancelling or rescheduling a self-ship appointment. */ public function __construct( - public readonly ?string $reasonComment = null, + public ?string $reasonComment = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Carrier.php b/src/Seller/FBAInboundV20240320/Dto/Carrier.php index a4d8d749f..225f35236 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Carrier.php +++ b/src/Seller/FBAInboundV20240320/Dto/Carrier.php @@ -19,7 +19,7 @@ final class Carrier extends Dto * @param ?string $name The name of the carrier. */ public function __construct( - public readonly ?string $alphaCode = null, - public readonly ?string $name = null, + public ?string $alphaCode = null, + public ?string $name = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/CarrierAppointment.php b/src/Seller/FBAInboundV20240320/Dto/CarrierAppointment.php index 41b375348..a58dab4ba 100644 --- a/src/Seller/FBAInboundV20240320/Dto/CarrierAppointment.php +++ b/src/Seller/FBAInboundV20240320/Dto/CarrierAppointment.php @@ -19,7 +19,7 @@ final class CarrierAppointment extends Dto * @param \DateTimeInterface $startTime The start timestamp of the appointment in UTC. */ public function __construct( - public readonly \DateTimeInterface $endTime, - public readonly \DateTimeInterface $startTime, + public \DateTimeInterface $endTime, + public \DateTimeInterface $startTime, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/ComplianceDetail.php b/src/Seller/FBAInboundV20240320/Dto/ComplianceDetail.php index 659a974e5..6a2b0165b 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ComplianceDetail.php +++ b/src/Seller/FBAInboundV20240320/Dto/ComplianceDetail.php @@ -21,9 +21,9 @@ final class ComplianceDetail extends Dto * @param ?TaxDetails $taxDetails Information used to determine the tax compliance. */ public function __construct( - public readonly ?string $asin = null, - public readonly ?string $fnsku = null, - public readonly ?string $msku = null, - public readonly ?TaxDetails $taxDetails = null, + public ?string $asin = null, + public ?string $fnsku = null, + public ?string $msku = null, + public ?TaxDetails $taxDetails = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/ConfirmTransportationOptionsRequest.php b/src/Seller/FBAInboundV20240320/Dto/ConfirmTransportationOptionsRequest.php index 815009363..0ed659677 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ConfirmTransportationOptionsRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/ConfirmTransportationOptionsRequest.php @@ -20,6 +20,6 @@ final class ConfirmTransportationOptionsRequest extends Dto * @param TransportationSelection[] $transportationSelections Information needed to confirm one of the available transportation options. */ public function __construct( - public readonly array $transportationSelections, + public array $transportationSelections, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/ContactInformation.php b/src/Seller/FBAInboundV20240320/Dto/ContactInformation.php index cf34c5324..229e14adb 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ContactInformation.php +++ b/src/Seller/FBAInboundV20240320/Dto/ContactInformation.php @@ -20,8 +20,8 @@ final class ContactInformation extends Dto * @param ?string $email The email address. */ public function __construct( - public readonly string $name, - public readonly string $phoneNumber, - public readonly ?string $email = null, + public string $name, + public string $phoneNumber, + public ?string $email = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/CreateInboundPlanRequest.php b/src/Seller/FBAInboundV20240320/Dto/CreateInboundPlanRequest.php index 3a85a3401..62ebbcda3 100644 --- a/src/Seller/FBAInboundV20240320/Dto/CreateInboundPlanRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/CreateInboundPlanRequest.php @@ -23,9 +23,9 @@ final class CreateInboundPlanRequest extends Dto * @param ?string $name Name for the Inbound Plan. If one isn't provided, a default name will be provided. */ public function __construct( - public readonly array $destinationMarketplaces, - public readonly array $items, - public readonly AddressInput $sourceAddress, - public readonly ?string $name = null, + public array $destinationMarketplaces, + public array $items, + public AddressInput $sourceAddress, + public ?string $name = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/CreateMarketplaceItemLabelsRequest.php b/src/Seller/FBAInboundV20240320/Dto/CreateMarketplaceItemLabelsRequest.php index 2138bcbbf..f083f02cb 100644 --- a/src/Seller/FBAInboundV20240320/Dto/CreateMarketplaceItemLabelsRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/CreateMarketplaceItemLabelsRequest.php @@ -18,20 +18,20 @@ final class CreateMarketplaceItemLabelsRequest extends Dto /** * @param string $labelType Indicates the type of print type for a given label. - * @param string $marketplaceId The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values. - * @param MskuQuantity[] $mskuQuantities Represents the quantity of an msku to print item labels for. + * @param string $marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). + * @param MskuQuantity[] $mskuQuantities Represents the quantity of an MSKU to print item labels for. * @param ?float $height The height of the item label. * @param ?string $localeCode The locale code constructed from ISO 639 language code and ISO 3166-1 alpha-2 standard of country codes separated by an underscore character. * @param ?string $pageType The page type to use to print the labels. Possible values: 'A4_21', 'A4_24', 'A4_24_64x33', 'A4_24_66x35', 'A4_24_70x36', 'A4_24_70x37', 'A4_24i', 'A4_27', 'A4_40_52x29', 'A4_44_48x25', 'Letter_30'. * @param ?float $width The width of the item label. */ public function __construct( - public readonly string $labelType, - public readonly string $marketplaceId, - public readonly array $mskuQuantities, - public readonly ?float $height = null, - public readonly ?string $localeCode = null, - public readonly ?string $pageType = null, - public readonly ?float $width = null, + public string $labelType, + public string $marketplaceId, + public array $mskuQuantities, + public ?float $height = null, + public ?string $localeCode = null, + public ?string $pageType = null, + public ?float $width = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Currency.php b/src/Seller/FBAInboundV20240320/Dto/Currency.php index 876d32a29..32a4b425b 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Currency.php +++ b/src/Seller/FBAInboundV20240320/Dto/Currency.php @@ -19,7 +19,7 @@ final class Currency extends Dto * @param string $code ISO 4217 standard of a currency code. */ public function __construct( - public readonly float $amount, - public readonly string $code, + public float $amount, + public string $code, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/CustomPlacementInput.php b/src/Seller/FBAInboundV20240320/Dto/CustomPlacementInput.php index cd0e055e3..855e362fc 100644 --- a/src/Seller/FBAInboundV20240320/Dto/CustomPlacementInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/CustomPlacementInput.php @@ -21,7 +21,7 @@ final class CustomPlacementInput extends Dto * @param string $warehouseId Warehouse Id. */ public function __construct( - public readonly array $items, - public readonly string $warehouseId, + public array $items, + public string $warehouseId, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Dates.php b/src/Seller/FBAInboundV20240320/Dto/Dates.php index 68b77ed3d..4e0330d0d 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Dates.php +++ b/src/Seller/FBAInboundV20240320/Dto/Dates.php @@ -18,6 +18,6 @@ final class Dates extends Dto * @param ?Window $readyToShipWindow Contains a start and end DateTime representing a time range. */ public function __construct( - public readonly ?Window $readyToShipWindow = null, + public ?Window $readyToShipWindow = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/DeliveryWindowOption.php b/src/Seller/FBAInboundV20240320/Dto/DeliveryWindowOption.php index f3c606207..16e1b9230 100644 --- a/src/Seller/FBAInboundV20240320/Dto/DeliveryWindowOption.php +++ b/src/Seller/FBAInboundV20240320/Dto/DeliveryWindowOption.php @@ -17,15 +17,15 @@ final class DeliveryWindowOption extends Dto /** * @param string $availabilityType Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED` * @param string $deliveryWindowOptionId Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered. - * @param \DateTimeInterface $endDate The timestamp at which this delivery window option ends. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. - * @param \DateTimeInterface $startDate The timestamp at which this delivery window option starts. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. - * @param \DateTimeInterface $validUntil The timestamp at which this window delivery option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. + * @param \DateTimeInterface $endDate The time at which this delivery window option ends. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`. + * @param \DateTimeInterface $startDate The time at which this delivery window option starts. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`. + * @param \DateTimeInterface $validUntil The time at which this window delivery option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`. */ public function __construct( - public readonly string $availabilityType, - public readonly string $deliveryWindowOptionId, - public readonly \DateTimeInterface $endDate, - public readonly \DateTimeInterface $startDate, - public readonly \DateTimeInterface $validUntil, + public string $availabilityType, + public string $deliveryWindowOptionId, + public \DateTimeInterface $endDate, + public \DateTimeInterface $startDate, + public \DateTimeInterface $validUntil, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Dimensions.php b/src/Seller/FBAInboundV20240320/Dto/Dimensions.php index cbda038c5..d2aa08bef 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Dimensions.php +++ b/src/Seller/FBAInboundV20240320/Dto/Dimensions.php @@ -21,9 +21,9 @@ final class Dimensions extends Dto * @param float $width The width of a package. */ public function __construct( - public readonly float $height, - public readonly float $length, - public readonly string $unitOfMeasurement, - public readonly float $width, + public float $height, + public float $length, + public string $unitOfMeasurement, + public float $width, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/DocumentDownload.php b/src/Seller/FBAInboundV20240320/Dto/DocumentDownload.php index db535082c..90df91610 100644 --- a/src/Seller/FBAInboundV20240320/Dto/DocumentDownload.php +++ b/src/Seller/FBAInboundV20240320/Dto/DocumentDownload.php @@ -15,13 +15,13 @@ final class DocumentDownload extends Dto { /** - * @param string $downloadType The type of download. Can be `URL`. + * @param string $downloadType The type of download. Possible values: `URL`. * @param string $uri Uniform resource identifier to identify where the document is located. - * @param ?\DateTimeInterface $expiration The timestamp of expiration of the URI. This is in ISO 8601 datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. + * @param ?\DateTimeInterface $expiration The URI's expiration time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. */ public function __construct( - public readonly string $downloadType, - public readonly string $uri, - public readonly ?\DateTimeInterface $expiration = null, + public string $downloadType, + public string $uri, + public ?\DateTimeInterface $expiration = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Error.php b/src/Seller/FBAInboundV20240320/Dto/Error.php index 415e3cb26..ee706c9a1 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Error.php +++ b/src/Seller/FBAInboundV20240320/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/FreightInformation.php b/src/Seller/FBAInboundV20240320/Dto/FreightInformation.php index 56dfc5aef..f0f324e21 100644 --- a/src/Seller/FBAInboundV20240320/Dto/FreightInformation.php +++ b/src/Seller/FBAInboundV20240320/Dto/FreightInformation.php @@ -15,11 +15,13 @@ final class FreightInformation extends Dto { /** - * @param ?Currency $declaredValue Currency definition. - * @param ?string $freightClass Freight class. Can be: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`. + * @param ?Currency $declaredValue The type and amount of currency. + * @param ?string $freightClass Freight class. + * + * Possible values: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`. */ public function __construct( - public readonly ?Currency $declaredValue = null, - public readonly ?string $freightClass = null, + public ?Currency $declaredValue = null, + public ?string $freightClass = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/GeneratePlacementOptionsRequest.php b/src/Seller/FBAInboundV20240320/Dto/GeneratePlacementOptionsRequest.php index 7809d03e7..ba6ff3488 100644 --- a/src/Seller/FBAInboundV20240320/Dto/GeneratePlacementOptionsRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/GeneratePlacementOptionsRequest.php @@ -17,9 +17,9 @@ final class GeneratePlacementOptionsRequest extends Dto protected static array $complexArrayTypes = ['customPlacement' => CustomPlacementInput::class]; /** - * @param CustomPlacementInput[]|null $customPlacement Custom placement options to be added to the plan. + * @param CustomPlacementInput[]|null $customPlacement Custom placement options you want to add to the plan. This is only used for the India (IN - A21TJRUUN4KGV) marketplace. */ public function __construct( - public readonly ?array $customPlacement = null, + public ?array $customPlacement = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/GenerateSelfShipAppointmentSlotsRequest.php b/src/Seller/FBAInboundV20240320/Dto/GenerateSelfShipAppointmentSlotsRequest.php index 21317f7a1..de62b390d 100644 --- a/src/Seller/FBAInboundV20240320/Dto/GenerateSelfShipAppointmentSlotsRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/GenerateSelfShipAppointmentSlotsRequest.php @@ -15,11 +15,11 @@ final class GenerateSelfShipAppointmentSlotsRequest extends Dto { /** - * @param ?\DateTimeInterface $desiredEndDate The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. - * @param ?\DateTimeInterface $desiredStartDate The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. + * @param ?\DateTimeInterface $desiredEndDate The desired end date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format. + * @param ?\DateTimeInterface $desiredStartDate The desired start date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format. */ public function __construct( - public readonly ?\DateTimeInterface $desiredEndDate = null, - public readonly ?\DateTimeInterface $desiredStartDate = null, + public ?\DateTimeInterface $desiredEndDate = null, + public ?\DateTimeInterface $desiredStartDate = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/GenerateShipmentContentUpdatePreviewsRequest.php b/src/Seller/FBAInboundV20240320/Dto/GenerateShipmentContentUpdatePreviewsRequest.php index 0b077a70c..1900d2040 100644 --- a/src/Seller/FBAInboundV20240320/Dto/GenerateShipmentContentUpdatePreviewsRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/GenerateShipmentContentUpdatePreviewsRequest.php @@ -21,7 +21,7 @@ final class GenerateShipmentContentUpdatePreviewsRequest extends Dto * @param ItemInput[] $items A list of all items that will be present in the shipment after the update. */ public function __construct( - public readonly array $boxes, - public readonly array $items, + public array $boxes, + public array $items, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/GenerateTransportationOptionsRequest.php b/src/Seller/FBAInboundV20240320/Dto/GenerateTransportationOptionsRequest.php index 6cdf93e1a..34ecf727a 100644 --- a/src/Seller/FBAInboundV20240320/Dto/GenerateTransportationOptionsRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/GenerateTransportationOptionsRequest.php @@ -23,7 +23,7 @@ final class GenerateTransportationOptionsRequest extends Dto * @param ShipmentTransportationConfiguration[] $shipmentTransportationConfigurations List of shipment transportation configurations. */ public function __construct( - public readonly string $placementOptionId, - public readonly array $shipmentTransportationConfigurations, + public string $placementOptionId, + public array $shipmentTransportationConfigurations, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/InboundPlanSummary.php b/src/Seller/FBAInboundV20240320/Dto/InboundPlanSummary.php index 996ac2ad5..db8ded97c 100644 --- a/src/Seller/FBAInboundV20240320/Dto/InboundPlanSummary.php +++ b/src/Seller/FBAInboundV20240320/Dto/InboundPlanSummary.php @@ -15,21 +15,21 @@ final class InboundPlanSummary extends Dto { /** - * @param \DateTimeInterface $createdAt The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. + * @param \DateTimeInterface $createdAt The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`. * @param string $inboundPlanId Identifier of an inbound plan. - * @param \DateTimeInterface $lastUpdatedAt The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. - * @param string[] $marketplaceIds Marketplace IDs. + * @param \DateTimeInterface $lastUpdatedAt The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`. + * @param string[] $marketplaceIds A list of marketplace IDs. * @param string $name Human-readable name of the inbound plan. * @param Address $sourceAddress Specific details to identify a place. - * @param string $status Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, 'ERRORED'. + * @param string $status The current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`. */ public function __construct( - public readonly \DateTimeInterface $createdAt, - public readonly string $inboundPlanId, - public readonly \DateTimeInterface $lastUpdatedAt, - public readonly array $marketplaceIds, - public readonly string $name, - public readonly Address $sourceAddress, - public readonly string $status, + public \DateTimeInterface $createdAt, + public string $inboundPlanId, + public \DateTimeInterface $lastUpdatedAt, + public array $marketplaceIds, + public string $name, + public Address $sourceAddress, + public string $status, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Incentive.php b/src/Seller/FBAInboundV20240320/Dto/Incentive.php index 79df6853a..006f760c4 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Incentive.php +++ b/src/Seller/FBAInboundV20240320/Dto/Incentive.php @@ -16,14 +16,14 @@ final class Incentive extends Dto { /** * @param string $description Description of the incentive. - * @param string $target Target of the incentive. Can be 'Placement Services' or 'Fulfillment Fee Discount'. - * @param string $type Type of incentive. Can be: `FEE`, `DISCOUNT`. - * @param Currency $value Currency definition. + * @param string $target Target of the incentive. Possible values: 'Placement Services', 'Fulfillment Fee Discount'. + * @param string $type Type of incentive. Possible values: `FEE`, `DISCOUNT`. + * @param Currency $value The type and amount of currency. */ public function __construct( - public readonly string $description, - public readonly string $target, - public readonly string $type, - public readonly Currency $value, + public string $description, + public string $target, + public string $type, + public Currency $value, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Item.php b/src/Seller/FBAInboundV20240320/Dto/Item.php index 3e58ebe28..0926e3093 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Item.php +++ b/src/Seller/FBAInboundV20240320/Dto/Item.php @@ -20,20 +20,20 @@ final class Item extends Dto * @param string $asin The Amazon Standard Identification Number (ASIN) of the item. * @param string $fnsku A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center. * @param string $labelOwner Specifies who will label the items. Options include `AMAZON`, `SELLER`, and `NONE`. - * @param string $msku The merchant defined SKU ID. + * @param string $msku The merchant SKU, a merchant-supplied identifier of a specific SKU. * @param PrepInstruction[] $prepInstructions Special preparations that are required for an item. * @param int $quantity The number of the specified MSKU. - * @param ?string $expiration The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box. + * @param ?string $expiration The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern`YYYY-MM-DD`. The same MSKU with different expiration dates cannot go into the same box. * @param ?string $manufacturingLotCode The manufacturing lot code. */ public function __construct( - public readonly string $asin, - public readonly string $fnsku, - public readonly string $labelOwner, - public readonly string $msku, - public readonly array $prepInstructions, - public readonly int $quantity, - public readonly ?string $expiration = null, - public readonly ?string $manufacturingLotCode = null, + public string $asin, + public string $fnsku, + public string $labelOwner, + public string $msku, + public array $prepInstructions, + public int $quantity, + public ?string $expiration = null, + public ?string $manufacturingLotCode = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/ItemInput.php b/src/Seller/FBAInboundV20240320/Dto/ItemInput.php index 4d0732fb7..b93c0ac72 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ItemInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/ItemInput.php @@ -16,18 +16,18 @@ final class ItemInput extends Dto { /** * @param string $labelOwner Specifies who will label the items. Options include `AMAZON`, `SELLER` or `NONE`. - * @param string $msku Merchant SKU. - * @param string $prepOwner In some situations, special preparations are required for items and this field reflects the owner of the preparations. Options include `AMAZON`, `SELLER` or `NONE`. - * @param int $quantity The number of units of the specified msku that will be shipped. - * @param ?string $expiration The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box. + * @param string $msku The merchant SKU, a merchant-supplied identifier of a specific SKU. + * @param string $prepOwner The owner of the preparations, if special preparations are required. + * @param int $quantity The number of units of the specified MSKU that will be shipped. + * @param ?string $expiration The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `YYYY-MM-DD`. Items with the same MSKU but different expiration dates cannot go into the same box. * @param ?string $manufacturingLotCode The manufacturing lot code. */ public function __construct( - public readonly string $labelOwner, - public readonly string $msku, - public readonly string $prepOwner, - public readonly int $quantity, - public readonly ?string $expiration = null, - public readonly ?string $manufacturingLotCode = null, + public string $labelOwner, + public string $msku, + public string $prepOwner, + public int $quantity, + public ?string $expiration = null, + public ?string $manufacturingLotCode = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/LtlTrackingDetail.php b/src/Seller/FBAInboundV20240320/Dto/LtlTrackingDetail.php index 2883029d4..0d75f900c 100644 --- a/src/Seller/FBAInboundV20240320/Dto/LtlTrackingDetail.php +++ b/src/Seller/FBAInboundV20240320/Dto/LtlTrackingDetail.php @@ -19,7 +19,7 @@ final class LtlTrackingDetail extends Dto * @param ?string[] $freightBillNumber The number associated with the freight bill. */ public function __construct( - public readonly ?string $billOfLadingNumber = null, - public readonly ?array $freightBillNumber = null, + public ?string $billOfLadingNumber = null, + public ?array $freightBillNumber = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/LtlTrackingDetailInput.php b/src/Seller/FBAInboundV20240320/Dto/LtlTrackingDetailInput.php index 35b98ade3..e30184127 100644 --- a/src/Seller/FBAInboundV20240320/Dto/LtlTrackingDetailInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/LtlTrackingDetailInput.php @@ -19,7 +19,7 @@ final class LtlTrackingDetailInput extends Dto * @param ?string $billOfLadingNumber The number of the carrier shipment acknowledgement document. */ public function __construct( - public readonly array $freightBillNumber, - public readonly ?string $billOfLadingNumber = null, + public array $freightBillNumber, + public ?string $billOfLadingNumber = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/MskuPrepDetail.php b/src/Seller/FBAInboundV20240320/Dto/MskuPrepDetail.php new file mode 100644 index 000000000..d0bc2f2b4 --- /dev/null +++ b/src/Seller/FBAInboundV20240320/Dto/MskuPrepDetail.php @@ -0,0 +1,33 @@ + AppointmentSlot::class]; /** - * @param ?\DateTimeInterface $expiresAt The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. - * @param AppointmentSlot[]|null $slots List of appointment slots. + * @param ?\DateTimeInterface $expiresAt The time at which the self ship appointment slot expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format. + * @param AppointmentSlot[]|null $slots A list of appointment slots. */ public function __construct( - public readonly ?\DateTimeInterface $expiresAt = null, - public readonly ?array $slots = null, + public ?\DateTimeInterface $expiresAt = null, + public ?array $slots = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/SetPackingInformationRequest.php b/src/Seller/FBAInboundV20240320/Dto/SetPackingInformationRequest.php index 7a42291d2..ac876f959 100644 --- a/src/Seller/FBAInboundV20240320/Dto/SetPackingInformationRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/SetPackingInformationRequest.php @@ -20,6 +20,6 @@ final class SetPackingInformationRequest extends Dto * @param PackageGroupingInput[] $packageGroupings List of packing information for the inbound plan. */ public function __construct( - public readonly array $packageGroupings, + public array $packageGroupings, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/SetPrepDetailsRequest.php b/src/Seller/FBAInboundV20240320/Dto/SetPrepDetailsRequest.php new file mode 100644 index 000000000..8a4a39763 --- /dev/null +++ b/src/Seller/FBAInboundV20240320/Dto/SetPrepDetailsRequest.php @@ -0,0 +1,27 @@ + MskuPrepDetailInput::class]; + + /** + * @param string $marketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). + * @param MskuPrepDetailInput[] $mskuPrepDetails A list of MSKUs and related prep details. + */ + public function __construct( + public string $marketplaceId, + public array $mskuPrepDetails, + ) {} +} diff --git a/src/Seller/FBAInboundV20240320/Dto/ShipmentDestination.php b/src/Seller/FBAInboundV20240320/Dto/ShipmentDestination.php index 3fe7354a0..7e4197319 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ShipmentDestination.php +++ b/src/Seller/FBAInboundV20240320/Dto/ShipmentDestination.php @@ -15,13 +15,13 @@ final class ShipmentDestination extends Dto { /** - * @param string $destinationType The type of destination for this shipment. Can be: `AMAZON_OPTIMIZED`, `AMAZON_WAREHOUSE`. + * @param string $destinationType The type of destination for this shipment. Possible values: `AMAZON_OPTIMIZED`, `AMAZON_WAREHOUSE`. * @param ?Address $address Specific details to identify a place. * @param ?string $warehouseId The warehouse that the shipment should be sent to. Empty if the destination type is `AMAZON_OPTIMIZED`. */ public function __construct( - public readonly string $destinationType, - public readonly ?Address $address = null, - public readonly ?string $warehouseId = null, + public string $destinationType, + public ?Address $address = null, + public ?string $warehouseId = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/ShipmentSource.php b/src/Seller/FBAInboundV20240320/Dto/ShipmentSource.php index 961646ee6..9c23af47d 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ShipmentSource.php +++ b/src/Seller/FBAInboundV20240320/Dto/ShipmentSource.php @@ -15,11 +15,11 @@ final class ShipmentSource extends Dto { /** - * @param string $sourceType The type of source for this shipment. Can be: `SELLER_FACILITY`. + * @param string $sourceType The type of source for this shipment. Possible values: `SELLER_FACILITY`. * @param ?Address $address Specific details to identify a place. */ public function __construct( - public readonly string $sourceType, - public readonly ?Address $address = null, + public string $sourceType, + public ?Address $address = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/ShipmentSummary.php b/src/Seller/FBAInboundV20240320/Dto/ShipmentSummary.php index 30ce4a34c..4df1b1d88 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ShipmentSummary.php +++ b/src/Seller/FBAInboundV20240320/Dto/ShipmentSummary.php @@ -16,10 +16,12 @@ final class ShipmentSummary extends Dto { /** * @param string $shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded. - * @param string $status The status of a shipment. The state of the shipment will typically start in `WORKING` and transition to `READY_TO_SHIP` once required actions are complete prior to being picked up or shipped out. Can be: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `WORKING`. + * @param string $status The status of a shipment. The state of the shipment will typically start as `UNCONFIRMED`, then transition to `WORKING` after a placement option has been confirmed, and then to `READY_TO_SHIP` once labels are generated. + * + * Possible values: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `UNCONFIRMED`, `WORKING` */ public function __construct( - public readonly string $shipmentId, - public readonly string $status, + public string $shipmentId, + public string $status, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/ShipmentTransportationConfiguration.php b/src/Seller/FBAInboundV20240320/Dto/ShipmentTransportationConfiguration.php index e5bbe4cb6..160b38509 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ShipmentTransportationConfiguration.php +++ b/src/Seller/FBAInboundV20240320/Dto/ShipmentTransportationConfiguration.php @@ -24,10 +24,10 @@ final class ShipmentTransportationConfiguration extends Dto * @param PalletInput[]|null $pallets List of pallet configuration inputs. */ public function __construct( - public readonly WindowInput $readyToShipWindow, - public readonly string $shipmentId, - public readonly ?ContactInformation $contactInformation = null, - public readonly ?FreightInformation $freightInformation = null, - public readonly ?array $pallets = null, + public WindowInput $readyToShipWindow, + public string $shipmentId, + public ?ContactInformation $contactInformation = null, + public ?FreightInformation $freightInformation = null, + public ?array $pallets = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/ShippingConfiguration.php b/src/Seller/FBAInboundV20240320/Dto/ShippingConfiguration.php index b36a162f6..0d4854028 100644 --- a/src/Seller/FBAInboundV20240320/Dto/ShippingConfiguration.php +++ b/src/Seller/FBAInboundV20240320/Dto/ShippingConfiguration.php @@ -15,11 +15,13 @@ final class ShippingConfiguration extends Dto { /** - * @param ?string $shippingMode Mode of shipment transportation that this option will provide. Can be: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`. - * @param ?string $shippingSolution Shipping program for the option. Can be: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`. + * @param ?string $shippingMode Mode of shipment transportation that this option will provide. + * + * Possible values: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`. + * @param ?string $shippingSolution Shipping program for the option. Possible values: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`. */ public function __construct( - public readonly ?string $shippingMode = null, - public readonly ?string $shippingSolution = null, + public ?string $shippingMode = null, + public ?string $shippingSolution = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/SpdTrackingDetail.php b/src/Seller/FBAInboundV20240320/Dto/SpdTrackingDetail.php index ba4ff6e8f..8fc951d42 100644 --- a/src/Seller/FBAInboundV20240320/Dto/SpdTrackingDetail.php +++ b/src/Seller/FBAInboundV20240320/Dto/SpdTrackingDetail.php @@ -20,6 +20,6 @@ final class SpdTrackingDetail extends Dto * @param SpdTrackingItem[]|null $spdTrackingItems List of Small Parcel Delivery (SPD) tracking items. */ public function __construct( - public readonly ?array $spdTrackingItems = null, + public ?array $spdTrackingItems = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/SpdTrackingDetailInput.php b/src/Seller/FBAInboundV20240320/Dto/SpdTrackingDetailInput.php index 038e7c9e3..b867298f7 100644 --- a/src/Seller/FBAInboundV20240320/Dto/SpdTrackingDetailInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/SpdTrackingDetailInput.php @@ -20,6 +20,6 @@ final class SpdTrackingDetailInput extends Dto * @param SpdTrackingItemInput[] $spdTrackingItems List of Small Parcel Delivery (SPD) tracking items input. */ public function __construct( - public readonly array $spdTrackingItems, + public array $spdTrackingItems, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/SpdTrackingItem.php b/src/Seller/FBAInboundV20240320/Dto/SpdTrackingItem.php index c15a5ff70..fe85f1d7d 100644 --- a/src/Seller/FBAInboundV20240320/Dto/SpdTrackingItem.php +++ b/src/Seller/FBAInboundV20240320/Dto/SpdTrackingItem.php @@ -17,11 +17,11 @@ final class SpdTrackingItem extends Dto /** * @param ?string $boxId The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box. * @param ?string $trackingId The tracking ID associated with each box in a non-Amazon partnered Small Parcel Delivery (SPD) shipment. - * @param ?string $trackingNumberValidationStatus Whether or not Amazon has validated the tracking number. If more than 24 hours have passed and the status is not yet 'VALIDATED', please verify the number and update if necessary. Can be: `VALIDATED`, `NOT_VALIDATED`. + * @param ?string $trackingNumberValidationStatus Whether or not Amazon has validated the tracking number. If more than 24 hours have passed and the status is not yet 'VALIDATED', please verify the number and update if necessary. Possible values: `VALIDATED`, `NOT_VALIDATED`. */ public function __construct( - public readonly ?string $boxId = null, - public readonly ?string $trackingId = null, - public readonly ?string $trackingNumberValidationStatus = null, + public ?string $boxId = null, + public ?string $trackingId = null, + public ?string $trackingNumberValidationStatus = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/SpdTrackingItemInput.php b/src/Seller/FBAInboundV20240320/Dto/SpdTrackingItemInput.php index d7afd11e5..466d440eb 100644 --- a/src/Seller/FBAInboundV20240320/Dto/SpdTrackingItemInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/SpdTrackingItemInput.php @@ -19,7 +19,7 @@ final class SpdTrackingItemInput extends Dto * @param string $trackingId The tracking Id associated with each box in a non-Amazon partnered Small Parcel Delivery (SPD) shipment. The seller must provide this information. */ public function __construct( - public readonly string $boxId, - public readonly string $trackingId, + public string $boxId, + public string $trackingId, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/TaxDetails.php b/src/Seller/FBAInboundV20240320/Dto/TaxDetails.php index f2f5c1ecd..7ea0088f6 100644 --- a/src/Seller/FBAInboundV20240320/Dto/TaxDetails.php +++ b/src/Seller/FBAInboundV20240320/Dto/TaxDetails.php @@ -17,13 +17,13 @@ final class TaxDetails extends Dto protected static array $complexArrayTypes = ['taxRates' => TaxRate::class]; /** - * @param ?Currency $declaredValue Currency definition. + * @param ?Currency $declaredValue The type and amount of currency. * @param ?string $hsnCode Harmonized System of Nomenclature code. * @param TaxRate[]|null $taxRates List of tax rates. */ public function __construct( - public readonly ?Currency $declaredValue = null, - public readonly ?string $hsnCode = null, - public readonly ?array $taxRates = null, + public ?Currency $declaredValue = null, + public ?string $hsnCode = null, + public ?array $taxRates = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/TaxRate.php b/src/Seller/FBAInboundV20240320/Dto/TaxRate.php index dd595cdc4..51d64ca1e 100644 --- a/src/Seller/FBAInboundV20240320/Dto/TaxRate.php +++ b/src/Seller/FBAInboundV20240320/Dto/TaxRate.php @@ -17,11 +17,11 @@ final class TaxRate extends Dto /** * @param ?float $cessRate Rate of cess tax. * @param ?float $gstRate Rate of gst tax. - * @param ?string $taxType Type of tax. Can be: `CGST`, `SGST`, `IGST`, `TOTAL_TAX`. + * @param ?string $taxType Type of tax. Possible values: `CGST`, `SGST`, `IGST`, `TOTAL_TAX`. */ public function __construct( - public readonly ?float $cessRate = null, - public readonly ?float $gstRate = null, - public readonly ?string $taxType = null, + public ?float $cessRate = null, + public ?float $gstRate = null, + public ?string $taxType = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/TrackingDetails.php b/src/Seller/FBAInboundV20240320/Dto/TrackingDetails.php index e8306a190..faca05d85 100644 --- a/src/Seller/FBAInboundV20240320/Dto/TrackingDetails.php +++ b/src/Seller/FBAInboundV20240320/Dto/TrackingDetails.php @@ -19,7 +19,7 @@ final class TrackingDetails extends Dto * @param ?SpdTrackingDetail $spdTrackingDetail Contains information related to Small Parcel Delivery (SPD) shipment tracking. */ public function __construct( - public readonly ?LtlTrackingDetail $ltlTrackingDetail = null, - public readonly ?SpdTrackingDetail $spdTrackingDetail = null, + public ?LtlTrackingDetail $ltlTrackingDetail = null, + public ?SpdTrackingDetail $spdTrackingDetail = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/TrackingDetailsInput.php b/src/Seller/FBAInboundV20240320/Dto/TrackingDetailsInput.php index 1a35cf1da..8490c94f1 100644 --- a/src/Seller/FBAInboundV20240320/Dto/TrackingDetailsInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/TrackingDetailsInput.php @@ -19,7 +19,7 @@ final class TrackingDetailsInput extends Dto * @param ?SpdTrackingDetailInput $spdTrackingDetail Contains input information to update Small Parcel Delivery (SPD) tracking information. */ public function __construct( - public readonly ?LtlTrackingDetailInput $ltlTrackingDetail = null, - public readonly ?SpdTrackingDetailInput $spdTrackingDetail = null, + public ?LtlTrackingDetailInput $ltlTrackingDetail = null, + public ?SpdTrackingDetailInput $spdTrackingDetail = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/TransportationOption.php b/src/Seller/FBAInboundV20240320/Dto/TransportationOption.php index 3f7a2f566..6e3a47206 100644 --- a/src/Seller/FBAInboundV20240320/Dto/TransportationOption.php +++ b/src/Seller/FBAInboundV20240320/Dto/TransportationOption.php @@ -18,20 +18,22 @@ final class TransportationOption extends Dto * @param Carrier $carrier The carrier for the inbound shipment. * @param string[] $preconditions Identifies a list of preconditions for confirming the transportation option. * @param string $shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded. - * @param string $shippingMode Mode of shipment transportation that this option will provide. Can be: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`. - * @param string $shippingSolution Shipping program for the option. Can be: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`. + * @param string $shippingMode Mode of shipment transportation that this option will provide. + * + * Possible values: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`. + * @param string $shippingSolution Shipping program for the option. Possible values: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`. * @param string $transportationOptionId Identifier of a transportation option. A transportation option represent one option for how to send a shipment. * @param ?CarrierAppointment $carrierAppointment Contains details for a transportation carrier appointment. This appointment is vended out by Amazon and is an indicator for when a transportation carrier is accepting shipments to be picked up. * @param ?Quote $quote The estimated shipping cost associated with the transportation option. */ public function __construct( - public readonly Carrier $carrier, - public readonly array $preconditions, - public readonly string $shipmentId, - public readonly string $shippingMode, - public readonly string $shippingSolution, - public readonly string $transportationOptionId, - public readonly ?CarrierAppointment $carrierAppointment = null, - public readonly ?Quote $quote = null, + public Carrier $carrier, + public array $preconditions, + public string $shipmentId, + public string $shippingMode, + public string $shippingSolution, + public string $transportationOptionId, + public ?CarrierAppointment $carrierAppointment = null, + public ?Quote $quote = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/TransportationSelection.php b/src/Seller/FBAInboundV20240320/Dto/TransportationSelection.php index 2747b078c..1f4e25c3d 100644 --- a/src/Seller/FBAInboundV20240320/Dto/TransportationSelection.php +++ b/src/Seller/FBAInboundV20240320/Dto/TransportationSelection.php @@ -20,8 +20,8 @@ final class TransportationSelection extends Dto * @param ?ContactInformation $contactInformation The seller's contact information. */ public function __construct( - public readonly string $shipmentId, - public readonly string $transportationOptionId, - public readonly ?ContactInformation $contactInformation = null, + public string $shipmentId, + public string $transportationOptionId, + public ?ContactInformation $contactInformation = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/UpdateInboundPlanNameRequest.php b/src/Seller/FBAInboundV20240320/Dto/UpdateInboundPlanNameRequest.php index b698ddfa8..076bf8a7f 100644 --- a/src/Seller/FBAInboundV20240320/Dto/UpdateInboundPlanNameRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/UpdateInboundPlanNameRequest.php @@ -18,6 +18,6 @@ final class UpdateInboundPlanNameRequest extends Dto * @param string $name A human-readable name to update the inbound plan name to. */ public function __construct( - public readonly string $name, + public string $name, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/UpdateItemComplianceDetailsRequest.php b/src/Seller/FBAInboundV20240320/Dto/UpdateItemComplianceDetailsRequest.php index 86c37e422..16adc7970 100644 --- a/src/Seller/FBAInboundV20240320/Dto/UpdateItemComplianceDetailsRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/UpdateItemComplianceDetailsRequest.php @@ -19,7 +19,7 @@ final class UpdateItemComplianceDetailsRequest extends Dto * @param TaxDetails $taxDetails Information used to determine the tax compliance. */ public function __construct( - public readonly string $msku, - public readonly TaxDetails $taxDetails, + public string $msku, + public TaxDetails $taxDetails, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentNameRequest.php b/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentNameRequest.php index 91fad70f3..a4cfb858c 100644 --- a/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentNameRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentNameRequest.php @@ -18,6 +18,6 @@ final class UpdateShipmentNameRequest extends Dto * @param string $name A human-readable name to update the shipment name to. */ public function __construct( - public readonly string $name, + public string $name, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentSourceAddressRequest.php b/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentSourceAddressRequest.php index a18698d91..f9dafe740 100644 --- a/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentSourceAddressRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentSourceAddressRequest.php @@ -18,6 +18,6 @@ final class UpdateShipmentSourceAddressRequest extends Dto * @param AddressInput $address Specific details to identify a place. */ public function __construct( - public readonly AddressInput $address, + public AddressInput $address, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentTrackingDetailsRequest.php b/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentTrackingDetailsRequest.php index 8bf150a1d..ec5d084c9 100644 --- a/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentTrackingDetailsRequest.php +++ b/src/Seller/FBAInboundV20240320/Dto/UpdateShipmentTrackingDetailsRequest.php @@ -18,6 +18,6 @@ final class UpdateShipmentTrackingDetailsRequest extends Dto * @param TrackingDetailsInput $trackingDetails Tracking information input for Less-Than-Truckload (LTL) and Small Parcel Delivery (SPD) shipments. */ public function __construct( - public readonly TrackingDetailsInput $trackingDetails, + public TrackingDetailsInput $trackingDetails, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Weight.php b/src/Seller/FBAInboundV20240320/Dto/Weight.php index 3df4c2910..1688e9e3d 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Weight.php +++ b/src/Seller/FBAInboundV20240320/Dto/Weight.php @@ -19,7 +19,7 @@ final class Weight extends Dto * @param float $value Value of a weight. */ public function __construct( - public readonly string $unit, - public readonly float $value, + public string $unit, + public float $value, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/Window.php b/src/Seller/FBAInboundV20240320/Dto/Window.php index b3c7443d0..0dc622946 100644 --- a/src/Seller/FBAInboundV20240320/Dto/Window.php +++ b/src/Seller/FBAInboundV20240320/Dto/Window.php @@ -20,8 +20,8 @@ final class Window extends Dto * @param ?\DateTimeInterface $editableUntil The timestamp at which this Window can no longer be edited. */ public function __construct( - public readonly \DateTimeInterface $end, - public readonly \DateTimeInterface $start, - public readonly ?\DateTimeInterface $editableUntil = null, + public \DateTimeInterface $end, + public \DateTimeInterface $start, + public ?\DateTimeInterface $editableUntil = null, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Dto/WindowInput.php b/src/Seller/FBAInboundV20240320/Dto/WindowInput.php index ff46e8d6c..ba747b03e 100644 --- a/src/Seller/FBAInboundV20240320/Dto/WindowInput.php +++ b/src/Seller/FBAInboundV20240320/Dto/WindowInput.php @@ -15,9 +15,9 @@ final class WindowInput extends Dto { /** - * @param \DateTimeInterface $start The start date of the window. The time component must be zero. + * @param \DateTimeInterface $start The start date of the window. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with minute precision. Supports patterns `yyyy-MM-ddTHH:mmZ`, `yyyy-MM-ddTHH:mm:ssZ`, or `yyyy-MM-ddTHH:mm:ss.sssZ`. Note that non-zero second and millisecond components are removed. */ public function __construct( - public readonly \DateTimeInterface $start, + public \DateTimeInterface $start, ) {} } diff --git a/src/Seller/FBAInboundV20240320/Requests/ListItemComplianceDetails.php b/src/Seller/FBAInboundV20240320/Requests/ListItemComplianceDetails.php index 5230bcd4b..c0ac69ad1 100644 --- a/src/Seller/FBAInboundV20240320/Requests/ListItemComplianceDetails.php +++ b/src/Seller/FBAInboundV20240320/Requests/ListItemComplianceDetails.php @@ -25,8 +25,8 @@ class ListItemComplianceDetails extends Request protected Method $method = Method::GET; /** - * @param array $mskus List of merchant SKUs - a merchant-supplied identifier for a specific SKU. - * @param string $marketplaceId The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values. + * @param array $mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU. + * @param string $marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). */ public function __construct( protected array $mskus, diff --git a/src/Seller/FBAInboundV20240320/Requests/ListPrepDetails.php b/src/Seller/FBAInboundV20240320/Requests/ListPrepDetails.php new file mode 100644 index 000000000..ec2d07670 --- /dev/null +++ b/src/Seller/FBAInboundV20240320/Requests/ListPrepDetails.php @@ -0,0 +1,57 @@ +status(); + $responseCls = match ($status) { + 200 => ListPrepDetailsResponse::class, + 400, 404, 500, 403, 413, 415, 429, 503 => ErrorList::class, + default => throw new Exception("Unhandled response status: {$status}") + }; + + return $responseCls::deserialize($response->json()); + } + + public function defaultQuery(): array + { + return array_filter(['marketplaceId' => $this->marketplaceId, 'mskus' => $this->mskus]); + } +} diff --git a/src/Seller/FBAInboundV20240320/Requests/SetPrepDetails.php b/src/Seller/FBAInboundV20240320/Requests/SetPrepDetails.php new file mode 100644 index 000000000..fea711051 --- /dev/null +++ b/src/Seller/FBAInboundV20240320/Requests/SetPrepDetails.php @@ -0,0 +1,60 @@ +status(); + $responseCls = match ($status) { + 202 => SetPrepDetailsResponse::class, + 400, 404, 500, 403, 413, 415, 429, 503 => ErrorList::class, + default => throw new Exception("Unhandled response status: {$status}") + }; + + return $responseCls::deserialize($response->json()); + } + + public function defaultBody(): array + { + return $this->setPrepDetailsRequest->toArray(); + } +} diff --git a/src/Seller/FBAInboundV20240320/Requests/UpdateItemComplianceDetails.php b/src/Seller/FBAInboundV20240320/Requests/UpdateItemComplianceDetails.php index f7e604de9..a69082b29 100644 --- a/src/Seller/FBAInboundV20240320/Requests/UpdateItemComplianceDetails.php +++ b/src/Seller/FBAInboundV20240320/Requests/UpdateItemComplianceDetails.php @@ -31,7 +31,7 @@ class UpdateItemComplianceDetails extends Request implements HasBody /** * @param UpdateItemComplianceDetailsRequest $updateItemComplianceDetailsRequest The `updateItemComplianceDetails` request. - * @param string $marketplaceId The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values. + * @param string $marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids). */ public function __construct( public UpdateItemComplianceDetailsRequest $updateItemComplianceDetailsRequest, diff --git a/src/Seller/FBAInboundV20240320/Responses/ContentUpdatePreview.php b/src/Seller/FBAInboundV20240320/Responses/ContentUpdatePreview.php index 7f960d8b3..9687eb2f7 100644 --- a/src/Seller/FBAInboundV20240320/Responses/ContentUpdatePreview.php +++ b/src/Seller/FBAInboundV20240320/Responses/ContentUpdatePreview.php @@ -18,13 +18,13 @@ final class ContentUpdatePreview extends Response { /** * @param string $contentUpdatePreviewId Identifier of a content update preview. - * @param string $expiration The date in ISO 8601 format for when the content update expires. + * @param \DateTimeInterface $expiration The time at which the content update expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. * @param RequestedUpdates $requestedUpdates Objects that were included in the update request. * @param TransportationOption $transportationOption Contains information pertaining to a transportation option and the related carrier. */ public function __construct( public readonly string $contentUpdatePreviewId, - public readonly string $expiration, + public readonly \DateTimeInterface $expiration, public readonly RequestedUpdates $requestedUpdates, public readonly TransportationOption $transportationOption, ) {} diff --git a/src/Seller/FBAInboundV20240320/Responses/InboundPlan.php b/src/Seller/FBAInboundV20240320/Responses/InboundPlan.php index 61d454bdc..c454cbebc 100644 --- a/src/Seller/FBAInboundV20240320/Responses/InboundPlan.php +++ b/src/Seller/FBAInboundV20240320/Responses/InboundPlan.php @@ -25,16 +25,16 @@ final class InboundPlan extends Response ]; /** - * @param \DateTimeInterface $createdAt The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. + * @param \DateTimeInterface $createdAt The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime with pattern `yyyy-MM-ddTHH:mm:ssZ`. * @param string $inboundPlanId Identifier of an inbound plan. - * @param \DateTimeInterface $lastUpdatedAt The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`. - * @param string[] $marketplaceIds Marketplace IDs. + * @param \DateTimeInterface $lastUpdatedAt The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`. + * @param string[] $marketplaceIds A list of marketplace IDs. * @param string $name Human-readable name of the inbound plan. * @param Address $sourceAddress Specific details to identify a place. - * @param string $status Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, 'ERRORED'. + * @param string $status Current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`. * @param PackingOptionSummary[]|null $packingOptions Packing options for the inbound plan. This property will be populated when it has been generated via the corresponding operation. If there is a chosen placement option, only packing options for that placement option will be returned. If there are confirmed shipments, only packing options for those shipments will be returned. Query the packing option for more details. * @param PlacementOptionSummary[]|null $placementOptions Placement options for the inbound plan. This property will be populated when it has been generated via the corresponding operation. If there is a chosen placement option, that will be the only returned option. Query the placement option for more details. - * @param ShipmentSummary[]|null $shipments Shipment IDs for the inbound plan. This property will be populated when it has been generated via the corresponding operation. If there is a chosen placement option, only shipments for that option will be returned. If there are confirmed shipments, only those shipments will be returned. Query the shipment for more details. + * @param ShipmentSummary[]|null $shipments A list of shipment IDs for the inbound plan. This property is populated when it has been generated with the `confirmPlacementOptions` operation. Only shipments from the chosen placement option are returned. Query the shipment for more details. */ public function __construct( public readonly \DateTimeInterface $createdAt, diff --git a/src/Seller/FBAInboundV20240320/Responses/ListPrepDetailsResponse.php b/src/Seller/FBAInboundV20240320/Responses/ListPrepDetailsResponse.php new file mode 100644 index 000000000..1ce8820ae --- /dev/null +++ b/src/Seller/FBAInboundV20240320/Responses/ListPrepDetailsResponse.php @@ -0,0 +1,26 @@ + MskuPrepDetail::class]; + + /** + * @param MskuPrepDetail[] $mskuPrepDetails A list of MSKUs and related prep details. + */ + public function __construct( + public readonly array $mskuPrepDetails, + ) {} +} diff --git a/src/Seller/FBAInboundV20240320/Responses/SetPrepDetailsResponse.php b/src/Seller/FBAInboundV20240320/Responses/SetPrepDetailsResponse.php new file mode 100644 index 000000000..82ebde0b9 --- /dev/null +++ b/src/Seller/FBAInboundV20240320/Responses/SetPrepDetailsResponse.php @@ -0,0 +1,23 @@ +additionalProperties = $additionalProperties; diff --git a/src/Seller/ProductPricingV0/Dto/IdentifierType.php b/src/Seller/ProductPricingV0/Dto/IdentifierType.php index ca7384029..2029ce460 100644 --- a/src/Seller/ProductPricingV0/Dto/IdentifierType.php +++ b/src/Seller/ProductPricingV0/Dto/IdentifierType.php @@ -17,7 +17,7 @@ final class IdentifierType extends Dto protected static array $attributeMap = ['marketplaceAsin' => 'MarketplaceASIN', 'skuIdentifier' => 'SKUIdentifier']; public function __construct( - public readonly AsinIdentifier $marketplaceAsin, - public readonly ?SellerSkuIdentifier $skuIdentifier = null, + public AsinIdentifier $marketplaceAsin, + public ?SellerSkuIdentifier $skuIdentifier = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/ItemIdentifier.php b/src/Seller/ProductPricingV0/Dto/ItemIdentifier.php index 95b1f602f..1a8a03710 100644 --- a/src/Seller/ProductPricingV0/Dto/ItemIdentifier.php +++ b/src/Seller/ProductPricingV0/Dto/ItemIdentifier.php @@ -28,9 +28,9 @@ final class ItemIdentifier extends Dto * @param ?string $sellerSku The seller stock keeping unit (SKU) of the item. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $itemCondition, - public readonly ?string $asin = null, - public readonly ?string $sellerSku = null, + public string $marketplaceId, + public string $itemCondition, + public ?string $asin = null, + public ?string $sellerSku = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/ItemOffersRequest.php b/src/Seller/ProductPricingV0/Dto/ItemOffersRequest.php index 9507fc726..25b985cb8 100644 --- a/src/Seller/ProductPricingV0/Dto/ItemOffersRequest.php +++ b/src/Seller/ProductPricingV0/Dto/ItemOffersRequest.php @@ -37,11 +37,11 @@ final class ItemOffersRequest extends Dto * @param ?string $customerType Indicates whether to request Consumer or Business offers. Default is Consumer. */ public function __construct( - public readonly string $uri, - public readonly string $method, - public readonly string $marketplaceId, - public readonly string $itemCondition, - public readonly ?array $headers = null, - public readonly ?string $customerType = null, + public string $uri, + public string $method, + public string $marketplaceId, + public string $itemCondition, + public ?array $headers = null, + public ?string $customerType = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/ItemOffersRequestParams.php b/src/Seller/ProductPricingV0/Dto/ItemOffersRequestParams.php index eea256141..4709d7d65 100644 --- a/src/Seller/ProductPricingV0/Dto/ItemOffersRequestParams.php +++ b/src/Seller/ProductPricingV0/Dto/ItemOffersRequestParams.php @@ -28,9 +28,9 @@ final class ItemOffersRequestParams extends Dto * @param ?string $asin The Amazon Standard Identification Number (ASIN) of the item. This is the same Asin passed as a request parameter. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $itemCondition, - public readonly ?string $customerType = null, - public readonly ?string $asin = null, + public string $marketplaceId, + public string $itemCondition, + public ?string $customerType = null, + public ?string $asin = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/ItemOffersResponse.php b/src/Seller/ProductPricingV0/Dto/ItemOffersResponse.php index 332b34ff2..af5cb56f9 100644 --- a/src/Seller/ProductPricingV0/Dto/ItemOffersResponse.php +++ b/src/Seller/ProductPricingV0/Dto/ItemOffersResponse.php @@ -21,9 +21,9 @@ final class ItemOffersResponse extends Dto * @param ?GetOffersHttpStatusLine $status The HTTP status line associated with the response. For more information, consult [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html). */ public function __construct( - public readonly GetOffersResponse $body, - public readonly ItemOffersRequestParams $request, - public readonly ?HttpResponseHeaders $headers = null, - public readonly ?GetOffersHttpStatusLine $status = null, + public GetOffersResponse $body, + public ItemOffersRequestParams $request, + public ?HttpResponseHeaders $headers = null, + public ?GetOffersHttpStatusLine $status = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/ListingOffersRequest.php b/src/Seller/ProductPricingV0/Dto/ListingOffersRequest.php index 74ed747ad..9021c7a8b 100644 --- a/src/Seller/ProductPricingV0/Dto/ListingOffersRequest.php +++ b/src/Seller/ProductPricingV0/Dto/ListingOffersRequest.php @@ -37,11 +37,11 @@ final class ListingOffersRequest extends Dto * @param ?string $customerType Indicates whether to request Consumer or Business offers. Default is Consumer. */ public function __construct( - public readonly string $uri, - public readonly string $method, - public readonly string $marketplaceId, - public readonly string $itemCondition, - public readonly ?array $headers = null, - public readonly ?string $customerType = null, + public string $uri, + public string $method, + public string $marketplaceId, + public string $itemCondition, + public ?array $headers = null, + public ?string $customerType = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/ListingOffersRequestParams.php b/src/Seller/ProductPricingV0/Dto/ListingOffersRequestParams.php index d1a15be16..0785f6e90 100644 --- a/src/Seller/ProductPricingV0/Dto/ListingOffersRequestParams.php +++ b/src/Seller/ProductPricingV0/Dto/ListingOffersRequestParams.php @@ -28,9 +28,9 @@ final class ListingOffersRequestParams extends Dto * @param ?string $customerType Indicates whether to request Consumer or Business offers. Default is Consumer. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $itemCondition, - public readonly string $sellerSku, - public readonly ?string $customerType = null, + public string $marketplaceId, + public string $itemCondition, + public string $sellerSku, + public ?string $customerType = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/ListingOffersResponse.php b/src/Seller/ProductPricingV0/Dto/ListingOffersResponse.php index 22968528b..6f654b97e 100644 --- a/src/Seller/ProductPricingV0/Dto/ListingOffersResponse.php +++ b/src/Seller/ProductPricingV0/Dto/ListingOffersResponse.php @@ -21,9 +21,9 @@ final class ListingOffersResponse extends Dto * @param ?GetOffersHttpStatusLine $status The HTTP status line associated with the response. For more information, consult [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html). */ public function __construct( - public readonly GetOffersResponse $body, - public readonly ?HttpResponseHeaders $headers = null, - public readonly ?GetOffersHttpStatusLine $status = null, - public readonly ?ListingOffersRequestParams $request = null, + public GetOffersResponse $body, + public ?HttpResponseHeaders $headers = null, + public ?GetOffersHttpStatusLine $status = null, + public ?ListingOffersRequestParams $request = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/LowestPriceType.php b/src/Seller/ProductPricingV0/Dto/LowestPriceType.php index 927d12a41..1f221f607 100644 --- a/src/Seller/ProductPricingV0/Dto/LowestPriceType.php +++ b/src/Seller/ProductPricingV0/Dto/LowestPriceType.php @@ -27,14 +27,14 @@ final class LowestPriceType extends Dto * @param ?int $quantityTier Indicates at what quantity this price becomes active. */ public function __construct( - public readonly string $condition, - public readonly string $fulfillmentChannel, - public readonly MoneyType $listingPrice, - public readonly ?string $offerType = null, - public readonly ?int $quantityTier = null, - public readonly ?string $quantityDiscountType = null, - public readonly ?MoneyType $landedPrice = null, - public readonly ?MoneyType $shipping = null, - public readonly ?Points $points = null, + public string $condition, + public string $fulfillmentChannel, + public MoneyType $listingPrice, + public ?string $offerType = null, + public ?int $quantityTier = null, + public ?string $quantityDiscountType = null, + public ?MoneyType $landedPrice = null, + public ?MoneyType $shipping = null, + public ?Points $points = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/MoneyType.php b/src/Seller/ProductPricingV0/Dto/MoneyType.php index 7cebe1b11..009a2f27f 100644 --- a/src/Seller/ProductPricingV0/Dto/MoneyType.php +++ b/src/Seller/ProductPricingV0/Dto/MoneyType.php @@ -21,7 +21,7 @@ final class MoneyType extends Dto * @param ?float $amount The monetary value. */ public function __construct( - public readonly ?string $currencyCode = null, - public readonly ?float $amount = null, + public ?string $currencyCode = null, + public ?float $amount = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/OfferCountType.php b/src/Seller/ProductPricingV0/Dto/OfferCountType.php index 81b617512..d984af086 100644 --- a/src/Seller/ProductPricingV0/Dto/OfferCountType.php +++ b/src/Seller/ProductPricingV0/Dto/OfferCountType.php @@ -22,8 +22,8 @@ final class OfferCountType extends Dto * @param ?int $offerCount The number of offers in a fulfillment channel that meet a specific condition. */ public function __construct( - public readonly ?string $condition = null, - public readonly ?string $fulfillmentChannel = null, - public readonly ?int $offerCount = null, + public ?string $condition = null, + public ?string $fulfillmentChannel = null, + public ?int $offerCount = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/OfferDetail.php b/src/Seller/ProductPricingV0/Dto/OfferDetail.php index b40ae870c..b48659aee 100644 --- a/src/Seller/ProductPricingV0/Dto/OfferDetail.php +++ b/src/Seller/ProductPricingV0/Dto/OfferDetail.php @@ -48,21 +48,21 @@ final class OfferDetail extends Dto * @param ?bool $isFeaturedMerchant When true, the seller of the item is eligible to win the Buy Box. */ public function __construct( - public readonly string $subCondition, - public readonly DetailedShippingTimeType $shippingTime, - public readonly MoneyType $listingPrice, - public readonly MoneyType $shipping, - public readonly bool $isFulfilledByAmazon, - public readonly ?bool $myOffer = null, - public readonly ?string $offerType = null, - public readonly ?string $sellerId = null, - public readonly ?string $conditionNotes = null, - public readonly ?SellerFeedbackType $sellerFeedbackRating = null, - public readonly ?array $quantityDiscountPrices = null, - public readonly ?Points $points = null, - public readonly ?ShipsFromType $shipsFrom = null, - public readonly ?PrimeInformationType $primeInformation = null, - public readonly ?bool $isBuyBoxWinner = null, - public readonly ?bool $isFeaturedMerchant = null, + public string $subCondition, + public DetailedShippingTimeType $shippingTime, + public MoneyType $listingPrice, + public MoneyType $shipping, + public bool $isFulfilledByAmazon, + public ?bool $myOffer = null, + public ?string $offerType = null, + public ?string $sellerId = null, + public ?string $conditionNotes = null, + public ?SellerFeedbackType $sellerFeedbackRating = null, + public ?array $quantityDiscountPrices = null, + public ?Points $points = null, + public ?ShipsFromType $shipsFrom = null, + public ?PrimeInformationType $primeInformation = null, + public ?bool $isBuyBoxWinner = null, + public ?bool $isFeaturedMerchant = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/OfferListingCountType.php b/src/Seller/ProductPricingV0/Dto/OfferListingCountType.php index c5803370c..08a76d42c 100644 --- a/src/Seller/ProductPricingV0/Dto/OfferListingCountType.php +++ b/src/Seller/ProductPricingV0/Dto/OfferListingCountType.php @@ -21,7 +21,7 @@ final class OfferListingCountType extends Dto * @param string $condition The condition of the item. */ public function __construct( - public readonly int $count, - public readonly string $condition, + public int $count, + public string $condition, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/OfferType.php b/src/Seller/ProductPricingV0/Dto/OfferType.php index 88d09a671..1796b7fe1 100644 --- a/src/Seller/ProductPricingV0/Dto/OfferType.php +++ b/src/Seller/ProductPricingV0/Dto/OfferType.php @@ -36,14 +36,14 @@ final class OfferType extends Dto * @param QuantityDiscountPriceType[]|null $quantityDiscountPrices */ public function __construct( - public readonly PriceType $buyingPrice, - public readonly MoneyType $regularPrice, - public readonly string $fulfillmentChannel, - public readonly string $itemCondition, - public readonly string $itemSubCondition, - public readonly string $sellerSku, - public readonly ?string $offerType = null, - public readonly ?MoneyType $businessPrice = null, - public readonly ?array $quantityDiscountPrices = null, + public PriceType $buyingPrice, + public MoneyType $regularPrice, + public string $fulfillmentChannel, + public string $itemCondition, + public string $itemSubCondition, + public string $sellerSku, + public ?string $offerType = null, + public ?MoneyType $businessPrice = null, + public ?array $quantityDiscountPrices = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/Points.php b/src/Seller/ProductPricingV0/Dto/Points.php index d12bde346..53daa8168 100644 --- a/src/Seller/ProductPricingV0/Dto/Points.php +++ b/src/Seller/ProductPricingV0/Dto/Points.php @@ -23,7 +23,7 @@ final class Points extends Dto * @param ?int $pointsNumber The number of points. */ public function __construct( - public readonly ?int $pointsNumber = null, - public readonly ?MoneyType $pointsMonetaryValue = null, + public ?int $pointsNumber = null, + public ?MoneyType $pointsMonetaryValue = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/Price.php b/src/Seller/ProductPricingV0/Dto/Price.php index 7b69803d2..611f5a1cb 100644 --- a/src/Seller/ProductPricingV0/Dto/Price.php +++ b/src/Seller/ProductPricingV0/Dto/Price.php @@ -23,9 +23,9 @@ final class Price extends Dto * @param ?Product $product An item. */ public function __construct( - public readonly string $status, - public readonly ?string $sellerSku = null, - public readonly ?string $asin = null, - public readonly ?Product $product = null, + public string $status, + public ?string $sellerSku = null, + public ?string $asin = null, + public ?Product $product = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/PriceType.php b/src/Seller/ProductPricingV0/Dto/PriceType.php index 4dda202e5..fa41d9166 100644 --- a/src/Seller/ProductPricingV0/Dto/PriceType.php +++ b/src/Seller/ProductPricingV0/Dto/PriceType.php @@ -22,9 +22,9 @@ final class PriceType extends Dto ]; public function __construct( - public readonly MoneyType $listingPrice, - public readonly ?MoneyType $landedPrice = null, - public readonly ?MoneyType $shipping = null, - public readonly ?Points $points = null, + public MoneyType $listingPrice, + public ?MoneyType $landedPrice = null, + public ?MoneyType $shipping = null, + public ?Points $points = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/PrimeInformationType.php b/src/Seller/ProductPricingV0/Dto/PrimeInformationType.php index 17224b9e9..6e28b31ca 100644 --- a/src/Seller/ProductPricingV0/Dto/PrimeInformationType.php +++ b/src/Seller/ProductPricingV0/Dto/PrimeInformationType.php @@ -21,7 +21,7 @@ final class PrimeInformationType extends Dto * @param bool $isNationalPrime Indicates whether the offer is an Amazon Prime offer throughout the entire marketplace where it is listed. */ public function __construct( - public readonly bool $isPrime, - public readonly bool $isNationalPrime, + public bool $isPrime, + public bool $isNationalPrime, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/Product.php b/src/Seller/ProductPricingV0/Dto/Product.php index c5ae9f4b8..00aab9354 100644 --- a/src/Seller/ProductPricingV0/Dto/Product.php +++ b/src/Seller/ProductPricingV0/Dto/Product.php @@ -34,11 +34,11 @@ final class Product extends Dto * @param OfferType[]|null $offers A list of offers. */ public function __construct( - public readonly IdentifierType $identifiers, - public readonly ?array $attributeSets = null, - public readonly ?array $relationships = null, - public readonly ?CompetitivePricingType $competitivePricing = null, - public readonly ?array $salesRankings = null, - public readonly ?array $offers = null, + public IdentifierType $identifiers, + public ?array $attributeSets = null, + public ?array $relationships = null, + public ?CompetitivePricingType $competitivePricing = null, + public ?array $salesRankings = null, + public ?array $offers = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/QuantityDiscountPriceType.php b/src/Seller/ProductPricingV0/Dto/QuantityDiscountPriceType.php index ae4b578db..79961b609 100644 --- a/src/Seller/ProductPricingV0/Dto/QuantityDiscountPriceType.php +++ b/src/Seller/ProductPricingV0/Dto/QuantityDiscountPriceType.php @@ -18,8 +18,8 @@ final class QuantityDiscountPriceType extends Dto * @param int $quantityTier Indicates at what quantity this price becomes active. */ public function __construct( - public readonly int $quantityTier, - public readonly string $quantityDiscountType, - public readonly MoneyType $listingPrice, + public int $quantityTier, + public string $quantityDiscountType, + public MoneyType $listingPrice, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/SalesRankType.php b/src/Seller/ProductPricingV0/Dto/SalesRankType.php index ba1acd404..ade5e1eab 100644 --- a/src/Seller/ProductPricingV0/Dto/SalesRankType.php +++ b/src/Seller/ProductPricingV0/Dto/SalesRankType.php @@ -21,7 +21,7 @@ final class SalesRankType extends Dto * @param int $rank The sales rank of the item within the item category. */ public function __construct( - public readonly string $productCategoryId, - public readonly int $rank, + public string $productCategoryId, + public int $rank, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/SellerFeedbackType.php b/src/Seller/ProductPricingV0/Dto/SellerFeedbackType.php index ac4ed89de..75f219f31 100644 --- a/src/Seller/ProductPricingV0/Dto/SellerFeedbackType.php +++ b/src/Seller/ProductPricingV0/Dto/SellerFeedbackType.php @@ -24,7 +24,7 @@ final class SellerFeedbackType extends Dto * @param ?float $sellerPositiveFeedbackRating The percentage of positive feedback for the seller in the past 365 days. */ public function __construct( - public readonly int $feedbackCount, - public readonly ?float $sellerPositiveFeedbackRating = null, + public int $feedbackCount, + public ?float $sellerPositiveFeedbackRating = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/SellerSkuIdentifier.php b/src/Seller/ProductPricingV0/Dto/SellerSkuIdentifier.php index 59dda78e9..bca1637be 100644 --- a/src/Seller/ProductPricingV0/Dto/SellerSkuIdentifier.php +++ b/src/Seller/ProductPricingV0/Dto/SellerSkuIdentifier.php @@ -26,8 +26,8 @@ final class SellerSkuIdentifier extends Dto * @param string $sellerSku The seller stock keeping unit (SKU) of the item. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $sellerId, - public readonly string $sellerSku, + public string $marketplaceId, + public string $sellerId, + public string $sellerSku, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/ShipsFromType.php b/src/Seller/ProductPricingV0/Dto/ShipsFromType.php index 291a1488e..b72f424c9 100644 --- a/src/Seller/ProductPricingV0/Dto/ShipsFromType.php +++ b/src/Seller/ProductPricingV0/Dto/ShipsFromType.php @@ -21,7 +21,7 @@ final class ShipsFromType extends Dto * @param ?string $country The country from where the item is shipped. */ public function __construct( - public readonly ?string $state = null, - public readonly ?string $country = null, + public ?string $state = null, + public ?string $country = null, ) {} } diff --git a/src/Seller/ProductPricingV0/Dto/Summary.php b/src/Seller/ProductPricingV0/Dto/Summary.php index 27c5bab24..51aa4d3d5 100644 --- a/src/Seller/ProductPricingV0/Dto/Summary.php +++ b/src/Seller/ProductPricingV0/Dto/Summary.php @@ -45,15 +45,15 @@ final class Summary extends Dto * @param ?\DateTimeInterface $offersAvailableTime When the status is ActiveButTooSoonForProcessing, this is the time when the offers will be available for processing. */ public function __construct( - public readonly int $totalOfferCount, - public readonly ?array $numberOfOffers = null, - public readonly ?array $lowestPrices = null, - public readonly ?array $buyBoxPrices = null, - public readonly ?MoneyType $listPrice = null, - public readonly ?MoneyType $competitivePriceThreshold = null, - public readonly ?MoneyType $suggestedLowerPricePlusShipping = null, - public readonly ?array $salesRankings = null, - public readonly ?array $buyBoxEligibleOffers = null, - public readonly ?\DateTimeInterface $offersAvailableTime = null, + public int $totalOfferCount, + public ?array $numberOfOffers = null, + public ?array $lowestPrices = null, + public ?array $buyBoxPrices = null, + public ?MoneyType $listPrice = null, + public ?MoneyType $competitivePriceThreshold = null, + public ?MoneyType $suggestedLowerPricePlusShipping = null, + public ?array $salesRankings = null, + public ?array $buyBoxEligibleOffers = null, + public ?\DateTimeInterface $offersAvailableTime = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/BatchRequest.php b/src/Seller/ProductPricingV20220501/Dto/BatchRequest.php index 35569ef7c..aaed82a76 100644 --- a/src/Seller/ProductPricingV20220501/Dto/BatchRequest.php +++ b/src/Seller/ProductPricingV20220501/Dto/BatchRequest.php @@ -21,9 +21,9 @@ final class BatchRequest extends Dto * @param ?string[] $headers A mapping of additional HTTP headers to send/receive for an individual request within a batch. */ public function __construct( - public readonly string $uri, - public readonly string $method, - public readonly ?array $body = null, - public readonly ?array $headers = null, + public string $uri, + public string $method, + public ?array $body = null, + public ?array $headers = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/BatchResponse.php b/src/Seller/ProductPricingV20220501/Dto/BatchResponse.php index a9449a4dc..393caf9fc 100644 --- a/src/Seller/ProductPricingV20220501/Dto/BatchResponse.php +++ b/src/Seller/ProductPricingV20220501/Dto/BatchResponse.php @@ -19,7 +19,7 @@ final class BatchResponse extends Dto * @param HttpStatusLine $status The HTTP status line associated with the response to an individual request within a batch. For more information, consult [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html). */ public function __construct( - public readonly array $headers, - public readonly HttpStatusLine $status, + public array $headers, + public HttpStatusLine $status, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryBatchRequest.php b/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryBatchRequest.php index 8067c00f4..9e77d9244 100644 --- a/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryBatchRequest.php +++ b/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryBatchRequest.php @@ -20,6 +20,6 @@ final class CompetitiveSummaryBatchRequest extends Dto * @param CompetitiveSummaryRequest[] $requests A batched list of `competitiveSummary` requests. */ public function __construct( - public readonly array $requests, + public array $requests, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryRequest.php b/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryRequest.php index 5f56cda6b..ab8999fa3 100644 --- a/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryRequest.php +++ b/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryRequest.php @@ -25,11 +25,11 @@ final class CompetitiveSummaryRequest extends Dto * @param LowestPricedOffersInput[]|null $lowestPricedOffersInputs The list of `lowestPricedOffersInput` parameters used to build the `lowestPricedOffers` in the response. This attribute is valid only if `lowestPricedOffers` is requested in `includedData`. */ public function __construct( - public readonly string $asin, - public readonly string $marketplaceId, - public readonly array $includedData, - public readonly string $method, - public readonly string $uri, - public readonly ?array $lowestPricedOffersInputs = null, + public string $asin, + public string $marketplaceId, + public array $includedData, + public string $method, + public string $uri, + public ?array $lowestPricedOffersInputs = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryResponse.php b/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryResponse.php index f62a6e79c..571fa31c3 100644 --- a/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryResponse.php +++ b/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryResponse.php @@ -19,7 +19,7 @@ final class CompetitiveSummaryResponse extends Dto * @param CompetitiveSummaryResponseBody $body The `competitiveSummaryResponse` body for a requested ASIN and `marketplaceId`. */ public function __construct( - public readonly HttpStatusLine $status, - public readonly CompetitiveSummaryResponseBody $body, + public HttpStatusLine $status, + public CompetitiveSummaryResponseBody $body, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryResponseBody.php b/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryResponseBody.php index 8764b1b60..3e074964f 100644 --- a/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryResponseBody.php +++ b/src/Seller/ProductPricingV20220501/Dto/CompetitiveSummaryResponseBody.php @@ -29,11 +29,11 @@ final class CompetitiveSummaryResponseBody extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly string $asin, - public readonly string $marketplaceId, - public readonly ?array $featuredBuyingOptions = null, - public readonly ?array $lowestPricedOffers = null, - public readonly ?array $referencePrices = null, - public readonly ?ErrorList $errors = null, + public string $asin, + public string $marketplaceId, + public ?array $featuredBuyingOptions = null, + public ?array $lowestPricedOffers = null, + public ?array $referencePrices = null, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/Error.php b/src/Seller/ProductPricingV20220501/Dto/Error.php index 5a01256fd..515bd8675 100644 --- a/src/Seller/ProductPricingV20220501/Dto/Error.php +++ b/src/Seller/ProductPricingV20220501/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/ErrorList.php b/src/Seller/ProductPricingV20220501/Dto/ErrorList.php index 91849e51b..da83bd6a1 100644 --- a/src/Seller/ProductPricingV20220501/Dto/ErrorList.php +++ b/src/Seller/ProductPricingV20220501/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedBuyingOption.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedBuyingOption.php index 18751debc..e2984b9fa 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedBuyingOption.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedBuyingOption.php @@ -21,7 +21,7 @@ final class FeaturedBuyingOption extends Dto * @param SegmentedFeaturedOffer[] $segmentedFeaturedOffers A list of segmented featured offers for the current buying option type. A segment can be considered as a group of regional contexts that all have the same featured offer. A regional context is a combination of factors such as customer type, region or postal code and buying option. */ public function __construct( - public readonly string $buyingOptionType, - public readonly array $segmentedFeaturedOffers, + public string $buyingOptionType, + public array $segmentedFeaturedOffers, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedOffer.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedOffer.php index efe3f1c9c..a760cbcea 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedOffer.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedOffer.php @@ -20,8 +20,8 @@ final class FeaturedOffer extends Dto * @param ?Price $price Schema for item's price information, including listing price, shipping price, and Amazon points. */ public function __construct( - public readonly OfferIdentifier $offerIdentifier, - public readonly ?string $condition = null, - public readonly ?Price $price = null, + public OfferIdentifier $offerIdentifier, + public ?string $condition = null, + public ?Price $price = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPrice.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPrice.php index 0b6be0a76..01d66aebf 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPrice.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPrice.php @@ -19,7 +19,7 @@ final class FeaturedOfferExpectedPrice extends Dto * @param ?Points $points The number of Amazon Points offered with the purchase of an item, and their monetary value. */ public function __construct( - public readonly MoneyType $listingPrice, - public readonly ?Points $points = null, + public MoneyType $listingPrice, + public ?Points $points = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceRequest.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceRequest.php index 675b36e3f..944562baf 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceRequest.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceRequest.php @@ -23,11 +23,11 @@ final class FeaturedOfferExpectedPriceRequest extends Dto * @param ?string[] $headers A mapping of additional HTTP headers to send/receive for an individual request within a batch. */ public function __construct( - public readonly string $uri, - public readonly string $method, - public readonly string $marketplaceId, - public readonly string $sku, - public readonly ?array $body = null, - public readonly ?array $headers = null, + public string $uri, + public string $method, + public string $marketplaceId, + public string $sku, + public ?array $body = null, + public ?array $headers = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceRequestParams.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceRequestParams.php index d682778ff..51b2119f6 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceRequestParams.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceRequestParams.php @@ -19,7 +19,7 @@ final class FeaturedOfferExpectedPriceRequestParams extends Dto * @param string $sku The seller SKU of the item. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $sku, + public string $marketplaceId, + public string $sku, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResponse.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResponse.php index b471e7df9..a384a6e99 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResponse.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResponse.php @@ -21,9 +21,9 @@ final class FeaturedOfferExpectedPriceResponse extends Dto * @param ?FeaturedOfferExpectedPriceResponseBody $body The featured offer expected price response data for a requested SKU. */ public function __construct( - public readonly array $headers, - public readonly HttpStatusLine $status, - public readonly FeaturedOfferExpectedPriceRequestParams $request, - public readonly ?FeaturedOfferExpectedPriceResponseBody $body = null, + public array $headers, + public HttpStatusLine $status, + public FeaturedOfferExpectedPriceRequestParams $request, + public ?FeaturedOfferExpectedPriceResponseBody $body = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResponseBody.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResponseBody.php index 82d99bd2b..a3c1c0b23 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResponseBody.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResponseBody.php @@ -24,8 +24,8 @@ final class FeaturedOfferExpectedPriceResponseBody extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly ?OfferIdentifier $offerIdentifier = null, - public readonly ?array $featuredOfferExpectedPriceResults = null, - public readonly ?ErrorList $errors = null, + public ?OfferIdentifier $offerIdentifier = null, + public ?array $featuredOfferExpectedPriceResults = null, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResult.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResult.php index cc0be7704..3983a2520 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResult.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferExpectedPriceResult.php @@ -21,9 +21,9 @@ final class FeaturedOfferExpectedPriceResult extends Dto * @param ?FeaturedOffer $currentFeaturedOffer Schema for `currentFeaturedOffer` or `competingFeaturedOffer`. */ public function __construct( - public readonly string $resultStatus, - public readonly ?FeaturedOfferExpectedPrice $featuredOfferExpectedPrice = null, - public readonly ?FeaturedOffer $competingFeaturedOffer = null, - public readonly ?FeaturedOffer $currentFeaturedOffer = null, + public string $resultStatus, + public ?FeaturedOfferExpectedPrice $featuredOfferExpectedPrice = null, + public ?FeaturedOffer $competingFeaturedOffer = null, + public ?FeaturedOffer $currentFeaturedOffer = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferSegment.php b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferSegment.php index 791a67eff..bff371a14 100644 --- a/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferSegment.php +++ b/src/Seller/ProductPricingV20220501/Dto/FeaturedOfferSegment.php @@ -19,7 +19,7 @@ final class FeaturedOfferSegment extends Dto * @param SegmentDetails $segmentDetails The details about the segment. */ public function __construct( - public readonly string $customerMembership, - public readonly SegmentDetails $segmentDetails, + public string $customerMembership, + public SegmentDetails $segmentDetails, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/GetFeaturedOfferExpectedPriceBatchRequest.php b/src/Seller/ProductPricingV20220501/Dto/GetFeaturedOfferExpectedPriceBatchRequest.php index 6f738905b..a0b139b3f 100644 --- a/src/Seller/ProductPricingV20220501/Dto/GetFeaturedOfferExpectedPriceBatchRequest.php +++ b/src/Seller/ProductPricingV20220501/Dto/GetFeaturedOfferExpectedPriceBatchRequest.php @@ -20,6 +20,6 @@ final class GetFeaturedOfferExpectedPriceBatchRequest extends Dto * @param FeaturedOfferExpectedPriceRequest[]|null $requests A batched list of featured offer expected price requests. */ public function __construct( - public readonly ?array $requests = null, + public ?array $requests = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/HttpStatusLine.php b/src/Seller/ProductPricingV20220501/Dto/HttpStatusLine.php index 4489bd638..efed0c4be 100644 --- a/src/Seller/ProductPricingV20220501/Dto/HttpStatusLine.php +++ b/src/Seller/ProductPricingV20220501/Dto/HttpStatusLine.php @@ -19,7 +19,7 @@ final class HttpStatusLine extends Dto * @param ?string $reasonPhrase The HTTP response Reason-Phase. */ public function __construct( - public readonly ?int $statusCode = null, - public readonly ?string $reasonPhrase = null, + public ?int $statusCode = null, + public ?string $reasonPhrase = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/LowestPricedOffer.php b/src/Seller/ProductPricingV20220501/Dto/LowestPricedOffer.php index ba3ec94a0..b0d75bb01 100644 --- a/src/Seller/ProductPricingV20220501/Dto/LowestPricedOffer.php +++ b/src/Seller/ProductPricingV20220501/Dto/LowestPricedOffer.php @@ -21,7 +21,7 @@ final class LowestPricedOffer extends Dto * @param Offer[] $offers A list of up to 20 lowest priced offers that match the criteria specified in the `lowestPricedOffersInput` parameter. */ public function __construct( - public readonly LowestPricedOffersInput $lowestPricedOffersInput, - public readonly array $offers, + public LowestPricedOffersInput $lowestPricedOffersInput, + public array $offers, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/LowestPricedOffersInput.php b/src/Seller/ProductPricingV20220501/Dto/LowestPricedOffersInput.php index 5bf8a0a8f..4950d0d72 100644 --- a/src/Seller/ProductPricingV20220501/Dto/LowestPricedOffersInput.php +++ b/src/Seller/ProductPricingV20220501/Dto/LowestPricedOffersInput.php @@ -19,7 +19,7 @@ final class LowestPricedOffersInput extends Dto * @param string $offerType The type of offers requested for the `LowestPricedOffers`. The `offerType` options are `Consumer` or `Business`. The default `offerType` is `Consumer`. */ public function __construct( - public readonly string $itemCondition, - public readonly string $offerType, + public string $itemCondition, + public string $offerType, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/MoneyType.php b/src/Seller/ProductPricingV20220501/Dto/MoneyType.php index aeb86b967..496460eb8 100644 --- a/src/Seller/ProductPricingV20220501/Dto/MoneyType.php +++ b/src/Seller/ProductPricingV20220501/Dto/MoneyType.php @@ -19,7 +19,7 @@ final class MoneyType extends Dto * @param ?float $amount The monetary value. */ public function __construct( - public readonly ?string $currencyCode = null, - public readonly ?float $amount = null, + public ?string $currencyCode = null, + public ?float $amount = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/Offer.php b/src/Seller/ProductPricingV20220501/Dto/Offer.php index d19f679f5..322434074 100644 --- a/src/Seller/ProductPricingV20220501/Dto/Offer.php +++ b/src/Seller/ProductPricingV20220501/Dto/Offer.php @@ -27,13 +27,13 @@ final class Offer extends Dto * @param ?PrimeDetails $primeDetails Amazon Prime details. */ public function __construct( - public readonly string $sellerId, - public readonly string $condition, - public readonly string $fulfillmentType, - public readonly MoneyType $listingPrice, - public readonly ?string $subCondition = null, - public readonly ?array $shippingOptions = null, - public readonly ?Points $points = null, - public readonly ?PrimeDetails $primeDetails = null, + public string $sellerId, + public string $condition, + public string $fulfillmentType, + public MoneyType $listingPrice, + public ?string $subCondition = null, + public ?array $shippingOptions = null, + public ?Points $points = null, + public ?PrimeDetails $primeDetails = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/OfferIdentifier.php b/src/Seller/ProductPricingV20220501/Dto/OfferIdentifier.php index e2ee411b6..4f8c31309 100644 --- a/src/Seller/ProductPricingV20220501/Dto/OfferIdentifier.php +++ b/src/Seller/ProductPricingV20220501/Dto/OfferIdentifier.php @@ -22,10 +22,10 @@ final class OfferIdentifier extends Dto * @param ?string $fulfillmentType Indicates whether the item is fulfilled by Amazon or by the seller (merchant). */ public function __construct( - public readonly string $marketplaceId, - public readonly string $asin, - public readonly ?string $sellerId = null, - public readonly ?string $sku = null, - public readonly ?string $fulfillmentType = null, + public string $marketplaceId, + public string $asin, + public ?string $sellerId = null, + public ?string $sku = null, + public ?string $fulfillmentType = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/Points.php b/src/Seller/ProductPricingV20220501/Dto/Points.php index 2676e7bd5..4ced55b07 100644 --- a/src/Seller/ProductPricingV20220501/Dto/Points.php +++ b/src/Seller/ProductPricingV20220501/Dto/Points.php @@ -19,7 +19,7 @@ final class Points extends Dto * @param ?MoneyType $pointsMonetaryValue Currency type and monetary value. Schema for demonstrating pricing info. */ public function __construct( - public readonly ?int $pointsNumber = null, - public readonly ?MoneyType $pointsMonetaryValue = null, + public ?int $pointsNumber = null, + public ?MoneyType $pointsMonetaryValue = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/Price.php b/src/Seller/ProductPricingV20220501/Dto/Price.php index cb81b503b..dc82fda9d 100644 --- a/src/Seller/ProductPricingV20220501/Dto/Price.php +++ b/src/Seller/ProductPricingV20220501/Dto/Price.php @@ -20,8 +20,8 @@ final class Price extends Dto * @param ?Points $points The number of Amazon Points offered with the purchase of an item, and their monetary value. */ public function __construct( - public readonly MoneyType $listingPrice, - public readonly ?MoneyType $shippingPrice = null, - public readonly ?Points $points = null, + public MoneyType $listingPrice, + public ?MoneyType $shippingPrice = null, + public ?Points $points = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/PrimeDetails.php b/src/Seller/ProductPricingV20220501/Dto/PrimeDetails.php index a0a6ca999..b73e93683 100644 --- a/src/Seller/ProductPricingV20220501/Dto/PrimeDetails.php +++ b/src/Seller/ProductPricingV20220501/Dto/PrimeDetails.php @@ -18,6 +18,6 @@ final class PrimeDetails extends Dto * @param string $eligibility Indicates whether the offer is an Amazon Prime offer. */ public function __construct( - public readonly string $eligibility, + public string $eligibility, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/ReferencePrice.php b/src/Seller/ProductPricingV20220501/Dto/ReferencePrice.php index 2cfadaddc..ec786c9d0 100644 --- a/src/Seller/ProductPricingV20220501/Dto/ReferencePrice.php +++ b/src/Seller/ProductPricingV20220501/Dto/ReferencePrice.php @@ -19,7 +19,7 @@ final class ReferencePrice extends Dto * @param MoneyType $price Currency type and monetary value. Schema for demonstrating pricing info. */ public function __construct( - public readonly string $name, - public readonly MoneyType $price, + public string $name, + public MoneyType $price, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/SegmentDetails.php b/src/Seller/ProductPricingV20220501/Dto/SegmentDetails.php index abeece51c..a7c4d7779 100644 --- a/src/Seller/ProductPricingV20220501/Dto/SegmentDetails.php +++ b/src/Seller/ProductPricingV20220501/Dto/SegmentDetails.php @@ -18,6 +18,6 @@ final class SegmentDetails extends Dto * @param ?float $glanceViewWeightPercentage Glance view weight percentage for this segment. The glance views for this segment as a percentage of total glance views across all segments on the ASIN. A higher percentage indicates more Amazon customers see this offer as the Featured Offer. */ public function __construct( - public readonly ?float $glanceViewWeightPercentage = null, + public ?float $glanceViewWeightPercentage = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/SegmentedFeaturedOffer.php b/src/Seller/ProductPricingV20220501/Dto/SegmentedFeaturedOffer.php index 3e5f5ffbf..141e8c6c0 100644 --- a/src/Seller/ProductPricingV20220501/Dto/SegmentedFeaturedOffer.php +++ b/src/Seller/ProductPricingV20220501/Dto/SegmentedFeaturedOffer.php @@ -31,14 +31,14 @@ final class SegmentedFeaturedOffer extends Dto * @param ?PrimeDetails $primeDetails Amazon Prime details. */ public function __construct( - public readonly string $sellerId, - public readonly string $condition, - public readonly string $fulfillmentType, - public readonly MoneyType $listingPrice, - public readonly array $featuredOfferSegments, - public readonly ?string $subCondition = null, - public readonly ?array $shippingOptions = null, - public readonly ?Points $points = null, - public readonly ?PrimeDetails $primeDetails = null, + public string $sellerId, + public string $condition, + public string $fulfillmentType, + public MoneyType $listingPrice, + public array $featuredOfferSegments, + public ?string $subCondition = null, + public ?array $shippingOptions = null, + public ?Points $points = null, + public ?PrimeDetails $primeDetails = null, ) {} } diff --git a/src/Seller/ProductPricingV20220501/Dto/ShippingOption.php b/src/Seller/ProductPricingV20220501/Dto/ShippingOption.php index 64d42e798..c072aa04a 100644 --- a/src/Seller/ProductPricingV20220501/Dto/ShippingOption.php +++ b/src/Seller/ProductPricingV20220501/Dto/ShippingOption.php @@ -19,7 +19,7 @@ final class ShippingOption extends Dto * @param MoneyType $price Currency type and monetary value. Schema for demonstrating pricing info. */ public function __construct( - public readonly string $shippingOptionType, - public readonly MoneyType $price, + public string $shippingOptionType, + public MoneyType $price, ) {} } diff --git a/src/Seller/ProductTypeDefinitionsV20200901/Dto/Error.php b/src/Seller/ProductTypeDefinitionsV20200901/Dto/Error.php index 9090abab3..4518382ac 100644 --- a/src/Seller/ProductTypeDefinitionsV20200901/Dto/Error.php +++ b/src/Seller/ProductTypeDefinitionsV20200901/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/ProductTypeDefinitionsV20200901/Dto/Link.php b/src/Seller/ProductTypeDefinitionsV20200901/Dto/Link.php index 979cd5948..70202a3c6 100644 --- a/src/Seller/ProductTypeDefinitionsV20200901/Dto/Link.php +++ b/src/Seller/ProductTypeDefinitionsV20200901/Dto/Link.php @@ -19,7 +19,7 @@ final class Link extends Dto * @param string $verb HTTP method for the link operation. */ public function __construct( - public readonly string $resource, - public readonly string $verb, + public string $resource, + public string $verb, ) {} } diff --git a/src/Seller/ProductTypeDefinitionsV20200901/Dto/ProductType.php b/src/Seller/ProductTypeDefinitionsV20200901/Dto/ProductType.php index 54cac2804..718b8ba58 100644 --- a/src/Seller/ProductTypeDefinitionsV20200901/Dto/ProductType.php +++ b/src/Seller/ProductTypeDefinitionsV20200901/Dto/ProductType.php @@ -20,8 +20,8 @@ final class ProductType extends Dto * @param string[] $marketplaceIds The Amazon marketplace identifiers for which the product type definition is available. */ public function __construct( - public readonly string $name, - public readonly string $displayName, - public readonly array $marketplaceIds, + public string $name, + public string $displayName, + public array $marketplaceIds, ) {} } diff --git a/src/Seller/ProductTypeDefinitionsV20200901/Dto/ProductTypeVersion.php b/src/Seller/ProductTypeDefinitionsV20200901/Dto/ProductTypeVersion.php index b99a720a5..32d8745b4 100644 --- a/src/Seller/ProductTypeDefinitionsV20200901/Dto/ProductTypeVersion.php +++ b/src/Seller/ProductTypeDefinitionsV20200901/Dto/ProductTypeVersion.php @@ -20,8 +20,8 @@ final class ProductTypeVersion extends Dto * @param ?bool $releaseCandidate When true, the version indicated by the version identifier is the prerelease (release candidate) for the Amazon product type. */ public function __construct( - public readonly string $version, - public readonly bool $latest, - public readonly ?bool $releaseCandidate = null, + public string $version, + public bool $latest, + public ?bool $releaseCandidate = null, ) {} } diff --git a/src/Seller/ProductTypeDefinitionsV20200901/Dto/PropertyGroup.php b/src/Seller/ProductTypeDefinitionsV20200901/Dto/PropertyGroup.php index 8555a8027..f62c07a94 100644 --- a/src/Seller/ProductTypeDefinitionsV20200901/Dto/PropertyGroup.php +++ b/src/Seller/ProductTypeDefinitionsV20200901/Dto/PropertyGroup.php @@ -20,8 +20,8 @@ final class PropertyGroup extends Dto * @param ?string[] $propertyNames The names of the schema properties for the property group. */ public function __construct( - public readonly ?string $title = null, - public readonly ?string $description = null, - public readonly ?array $propertyNames = null, + public ?string $title = null, + public ?string $description = null, + public ?array $propertyNames = null, ) {} } diff --git a/src/Seller/ProductTypeDefinitionsV20200901/Dto/SchemaLink.php b/src/Seller/ProductTypeDefinitionsV20200901/Dto/SchemaLink.php index bb1d97c33..193beb15f 100644 --- a/src/Seller/ProductTypeDefinitionsV20200901/Dto/SchemaLink.php +++ b/src/Seller/ProductTypeDefinitionsV20200901/Dto/SchemaLink.php @@ -19,7 +19,7 @@ final class SchemaLink extends Dto * @param string $checksum Checksum hash of the schema (Base64 MD5). Can be used to verify schema contents, identify changes between schema versions, and for caching. */ public function __construct( - public readonly Link $link, - public readonly string $checksum, + public Link $link, + public string $checksum, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/DiscountFunding.php b/src/Seller/ReplenishmentV20221107/Dto/DiscountFunding.php index 85fd9a6b5..57aeef828 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/DiscountFunding.php +++ b/src/Seller/ReplenishmentV20221107/Dto/DiscountFunding.php @@ -18,6 +18,6 @@ final class DiscountFunding extends Dto * @param float[]|null $percentage Filters the results to only include offers with the percentage specified. */ public function __construct( - public readonly ?array $percentage = null, + public ?array $percentage = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/Error.php b/src/Seller/ReplenishmentV20221107/Dto/Error.php index 723a2a5dc..852df0893 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/Error.php +++ b/src/Seller/ReplenishmentV20221107/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/GetSellingPartnerMetricsRequest.php b/src/Seller/ReplenishmentV20221107/Dto/GetSellingPartnerMetricsRequest.php index 2bf7ccc8f..bc1dd9ee1 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/GetSellingPartnerMetricsRequest.php +++ b/src/Seller/ReplenishmentV20221107/Dto/GetSellingPartnerMetricsRequest.php @@ -25,11 +25,11 @@ final class GetSellingPartnerMetricsRequest extends Dto * @param ?string[] $metrics The list of metrics requested. If no metric value is provided, data for all of the metrics will be returned. */ public function __construct( - public readonly TimeInterval $timeInterval, - public readonly string $timePeriodType, - public readonly string $marketplaceId, - public readonly array $programTypes, - public readonly ?string $aggregationFrequency = null, - public readonly ?array $metrics = null, + public TimeInterval $timeInterval, + public string $timePeriodType, + public string $marketplaceId, + public array $programTypes, + public ?string $aggregationFrequency = null, + public ?array $metrics = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/GetSellingPartnerMetricsResponseMetric.php b/src/Seller/ReplenishmentV20221107/Dto/GetSellingPartnerMetricsResponseMetric.php index cf7784825..385332188 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/GetSellingPartnerMetricsResponseMetric.php +++ b/src/Seller/ReplenishmentV20221107/Dto/GetSellingPartnerMetricsResponseMetric.php @@ -36,17 +36,17 @@ final class GetSellingPartnerMetricsResponseMetric extends Dto * @param ?string $currencyCode The currency code in ISO 4217 format. */ public function __construct( - public readonly ?float $notDeliveredDueToOos = null, - public readonly ?float $totalSubscriptionsRevenue = null, - public readonly ?float $shippedSubscriptionUnits = null, - public readonly ?float $activeSubscriptions = null, - public readonly ?float $subscriberAverageRevenue = null, - public readonly ?float $nonSubscriberAverageRevenue = null, - public readonly ?float $lostRevenueDueToOos = null, - public readonly ?float $subscriberAverageReorders = null, - public readonly ?float $nonSubscriberAverageReorders = null, - public readonly ?float $couponsRevenuePenetration = null, - public readonly ?TimeInterval $timeInterval = null, - public readonly ?string $currencyCode = null, + public ?float $notDeliveredDueToOos = null, + public ?float $totalSubscriptionsRevenue = null, + public ?float $shippedSubscriptionUnits = null, + public ?float $activeSubscriptions = null, + public ?float $subscriberAverageRevenue = null, + public ?float $nonSubscriberAverageRevenue = null, + public ?float $lostRevenueDueToOos = null, + public ?float $subscriberAverageReorders = null, + public ?float $nonSubscriberAverageReorders = null, + public ?float $couponsRevenuePenetration = null, + public ?TimeInterval $timeInterval = null, + public ?string $currencyCode = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequest.php b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequest.php index 389083119..af69f0d5d 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequest.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequest.php @@ -20,8 +20,8 @@ final class ListOfferMetricsRequest extends Dto * @param ?ListOfferMetricsRequestSort $sort Use these parameters to sort the response. */ public function __construct( - public readonly ListOfferMetricsRequestPagination $pagination, - public readonly ListOfferMetricsRequestFilters $filters, - public readonly ?ListOfferMetricsRequestSort $sort = null, + public ListOfferMetricsRequestPagination $pagination, + public ListOfferMetricsRequestFilters $filters, + public ?ListOfferMetricsRequestSort $sort = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestFilters.php b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestFilters.php index ffbf484d7..52a03bb12 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestFilters.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestFilters.php @@ -25,11 +25,11 @@ final class ListOfferMetricsRequestFilters extends Dto * @param ?string[] $asins A list of Amazon Standard Identification Numbers (ASINs). */ public function __construct( - public readonly TimeInterval $timeInterval, - public readonly string $timePeriodType, - public readonly string $marketplaceId, - public readonly array $programTypes, - public readonly ?string $aggregationFrequency = null, - public readonly ?array $asins = null, + public TimeInterval $timeInterval, + public string $timePeriodType, + public string $marketplaceId, + public array $programTypes, + public ?string $aggregationFrequency = null, + public ?array $asins = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestPagination.php b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestPagination.php index 3d8cbc58a..aa37fb323 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestPagination.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestPagination.php @@ -19,7 +19,7 @@ final class ListOfferMetricsRequestPagination extends Dto * @param int $offset The offset from which to retrieve the number of results specified by the `limit` value. The first result is at offset 0. */ public function __construct( - public readonly int $limit, - public readonly int $offset, + public int $limit, + public int $offset, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestSort.php b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestSort.php index 0378cf12c..2cfd5f6fc 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestSort.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsRequestSort.php @@ -19,7 +19,7 @@ final class ListOfferMetricsRequestSort extends Dto * @param string $key The attribute to use to sort the results. */ public function __construct( - public readonly string $order, - public readonly string $key, + public string $order, + public string $key, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsResponseOffer.php b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsResponseOffer.php index f4717505c..bc1e990ca 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsResponseOffer.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOfferMetricsResponseOffer.php @@ -46,21 +46,21 @@ final class ListOfferMetricsResponseOffer extends Dto * @param ?string $currencyCode The currency code in ISO 4217 format. */ public function __construct( - public readonly ?string $asin = null, - public readonly ?float $notDeliveredDueToOos = null, - public readonly ?float $totalSubscriptionsRevenue = null, - public readonly ?float $shippedSubscriptionUnits = null, - public readonly ?float $activeSubscriptions = null, - public readonly ?float $revenuePenetration = null, - public readonly ?float $lostRevenueDueToOos = null, - public readonly ?float $couponsRevenuePenetration = null, - public readonly ?float $next30dayTotalSubscriptionsRevenue = null, - public readonly ?float $next60dayTotalSubscriptionsRevenue = null, - public readonly ?float $next90dayTotalSubscriptionsRevenue = null, - public readonly ?float $next30dayShippedSubscriptionUnits = null, - public readonly ?float $next60dayShippedSubscriptionUnits = null, - public readonly ?float $next90dayShippedSubscriptionUnits = null, - public readonly ?TimeInterval $timeInterval = null, - public readonly ?string $currencyCode = null, + public ?string $asin = null, + public ?float $notDeliveredDueToOos = null, + public ?float $totalSubscriptionsRevenue = null, + public ?float $shippedSubscriptionUnits = null, + public ?float $activeSubscriptions = null, + public ?float $revenuePenetration = null, + public ?float $lostRevenueDueToOos = null, + public ?float $couponsRevenuePenetration = null, + public ?float $next30dayTotalSubscriptionsRevenue = null, + public ?float $next60dayTotalSubscriptionsRevenue = null, + public ?float $next90dayTotalSubscriptionsRevenue = null, + public ?float $next30dayShippedSubscriptionUnits = null, + public ?float $next60dayShippedSubscriptionUnits = null, + public ?float $next90dayShippedSubscriptionUnits = null, + public ?TimeInterval $timeInterval = null, + public ?string $currencyCode = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequest.php b/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequest.php index 8a9ce087b..2913e5c16 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequest.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequest.php @@ -20,8 +20,8 @@ final class ListOffersRequest extends Dto * @param ?ListOffersRequestSort $sort Use these parameters to sort the response. */ public function __construct( - public readonly ListOffersRequestPagination $pagination, - public readonly ListOffersRequestFilters $filters, - public readonly ?ListOffersRequestSort $sort = null, + public ListOffersRequestPagination $pagination, + public ListOffersRequestFilters $filters, + public ?ListOffersRequestSort $sort = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestFilters.php b/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestFilters.php index abf122c58..90939b3b6 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestFilters.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestFilters.php @@ -24,12 +24,12 @@ final class ListOffersRequestFilters extends Dto * @param ?Promotion $promotions Offer promotions to include in the result filter criteria. */ public function __construct( - public readonly string $marketplaceId, - public readonly array $programTypes, - public readonly ?array $skus = null, - public readonly ?array $asins = null, - public readonly ?array $eligibilities = null, - public readonly ?Preference $preferences = null, - public readonly ?Promotion $promotions = null, + public string $marketplaceId, + public array $programTypes, + public ?array $skus = null, + public ?array $asins = null, + public ?array $eligibilities = null, + public ?Preference $preferences = null, + public ?Promotion $promotions = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestPagination.php b/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestPagination.php index 38e39bba7..7bc8d3833 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestPagination.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestPagination.php @@ -19,7 +19,7 @@ final class ListOffersRequestPagination extends Dto * @param int $offset The offset from which to retrieve the number of results specified by the `limit` value. The first result is at offset 0. */ public function __construct( - public readonly int $limit, - public readonly int $offset, + public int $limit, + public int $offset, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestSort.php b/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestSort.php index 8e576ad7d..2b52d00c0 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestSort.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOffersRequestSort.php @@ -19,7 +19,7 @@ final class ListOffersRequestSort extends Dto * @param string $key The attribute to use to sort the results. */ public function __construct( - public readonly string $order, - public readonly string $key, + public string $order, + public string $key, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/ListOffersResponseOffer.php b/src/Seller/ReplenishmentV20221107/Dto/ListOffersResponseOffer.php index d1bda04e5..6f801b33b 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/ListOffersResponseOffer.php +++ b/src/Seller/ReplenishmentV20221107/Dto/ListOffersResponseOffer.php @@ -24,12 +24,12 @@ final class ListOffersResponseOffer extends Dto * @param ?string[] $vendorCodes A list of vendor codes associated with the offer. */ public function __construct( - public readonly ?string $sku = null, - public readonly ?string $asin = null, - public readonly ?string $marketplaceId = null, - public readonly ?string $eligibility = null, - public readonly ?OfferProgramConfiguration $offerProgramConfiguration = null, - public readonly ?string $programType = null, - public readonly ?array $vendorCodes = null, + public ?string $sku = null, + public ?string $asin = null, + public ?string $marketplaceId = null, + public ?string $eligibility = null, + public ?OfferProgramConfiguration $offerProgramConfiguration = null, + public ?string $programType = null, + public ?array $vendorCodes = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfiguration.php b/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfiguration.php index f43653a5d..0fecd91e2 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfiguration.php +++ b/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfiguration.php @@ -20,8 +20,8 @@ final class OfferProgramConfiguration extends Dto * @param ?string $enrollmentMethod The enrollment method used to enroll the offer into the program. */ public function __construct( - public readonly ?OfferProgramConfigurationPreferences $preferences = null, - public readonly ?OfferProgramConfigurationPromotions $promotions = null, - public readonly ?string $enrollmentMethod = null, + public ?OfferProgramConfigurationPreferences $preferences = null, + public ?OfferProgramConfigurationPromotions $promotions = null, + public ?string $enrollmentMethod = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPreferences.php b/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPreferences.php index 756f945ab..4a7c2e42a 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPreferences.php +++ b/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPreferences.php @@ -18,6 +18,6 @@ final class OfferProgramConfigurationPreferences extends Dto * @param ?string $autoEnrollment The auto-enrollment preference indicates whether the offer is opted-in to or opted-out of Amazon's auto-enrollment feature. */ public function __construct( - public readonly ?string $autoEnrollment = null, + public ?string $autoEnrollment = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPromotions.php b/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPromotions.php index caddee951..0438de307 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPromotions.php +++ b/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPromotions.php @@ -21,9 +21,9 @@ final class OfferProgramConfigurationPromotions extends Dto * @param ?OfferProgramConfigurationPromotionsDiscountFunding $amazonFundedTieredDiscount A promotional percentage discount applied to the offer. */ public function __construct( - public readonly ?OfferProgramConfigurationPromotionsDiscountFunding $sellingPartnerFundedBaseDiscount = null, - public readonly ?OfferProgramConfigurationPromotionsDiscountFunding $sellingPartnerFundedTieredDiscount = null, - public readonly ?OfferProgramConfigurationPromotionsDiscountFunding $amazonFundedBaseDiscount = null, - public readonly ?OfferProgramConfigurationPromotionsDiscountFunding $amazonFundedTieredDiscount = null, + public ?OfferProgramConfigurationPromotionsDiscountFunding $sellingPartnerFundedBaseDiscount = null, + public ?OfferProgramConfigurationPromotionsDiscountFunding $sellingPartnerFundedTieredDiscount = null, + public ?OfferProgramConfigurationPromotionsDiscountFunding $amazonFundedBaseDiscount = null, + public ?OfferProgramConfigurationPromotionsDiscountFunding $amazonFundedTieredDiscount = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPromotionsDiscountFunding.php b/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPromotionsDiscountFunding.php index 845a7be54..6ff216023 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPromotionsDiscountFunding.php +++ b/src/Seller/ReplenishmentV20221107/Dto/OfferProgramConfigurationPromotionsDiscountFunding.php @@ -18,6 +18,6 @@ final class OfferProgramConfigurationPromotionsDiscountFunding extends Dto * @param ?float $percentage The percentage discount on the offer. */ public function __construct( - public readonly ?float $percentage = null, + public ?float $percentage = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/PaginationResponse.php b/src/Seller/ReplenishmentV20221107/Dto/PaginationResponse.php index 250e14d35..e657df65b 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/PaginationResponse.php +++ b/src/Seller/ReplenishmentV20221107/Dto/PaginationResponse.php @@ -18,6 +18,6 @@ final class PaginationResponse extends Dto * @param ?int $totalResults Total number of results matching the given filter criteria. */ public function __construct( - public readonly ?int $totalResults = null, + public ?int $totalResults = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/Preference.php b/src/Seller/ReplenishmentV20221107/Dto/Preference.php index 73eb149e1..9a81b371d 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/Preference.php +++ b/src/Seller/ReplenishmentV20221107/Dto/Preference.php @@ -18,6 +18,6 @@ final class Preference extends Dto * @param ?string[] $autoEnrollment Filters the results to only include offers with the auto-enrollment preference specified. */ public function __construct( - public readonly ?array $autoEnrollment = null, + public ?array $autoEnrollment = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/Promotion.php b/src/Seller/ReplenishmentV20221107/Dto/Promotion.php index cf3054b5c..6d0285c58 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/Promotion.php +++ b/src/Seller/ReplenishmentV20221107/Dto/Promotion.php @@ -21,9 +21,9 @@ final class Promotion extends Dto * @param ?DiscountFunding $amazonFundedTieredDiscount The discount funding on the offer. */ public function __construct( - public readonly ?DiscountFunding $sellingPartnerFundedBaseDiscount = null, - public readonly ?DiscountFunding $sellingPartnerFundedTieredDiscount = null, - public readonly ?DiscountFunding $amazonFundedBaseDiscount = null, - public readonly ?DiscountFunding $amazonFundedTieredDiscount = null, + public ?DiscountFunding $sellingPartnerFundedBaseDiscount = null, + public ?DiscountFunding $sellingPartnerFundedTieredDiscount = null, + public ?DiscountFunding $amazonFundedBaseDiscount = null, + public ?DiscountFunding $amazonFundedTieredDiscount = null, ) {} } diff --git a/src/Seller/ReplenishmentV20221107/Dto/TimeInterval.php b/src/Seller/ReplenishmentV20221107/Dto/TimeInterval.php index 9d08a7e82..a1c5d5bda 100644 --- a/src/Seller/ReplenishmentV20221107/Dto/TimeInterval.php +++ b/src/Seller/ReplenishmentV20221107/Dto/TimeInterval.php @@ -30,7 +30,7 @@ final class TimeInterval extends Dto * Note: The end date may be adjusted to a lower value based on the data available in our system. */ public function __construct( - public readonly \DateTimeInterface $startDate, - public readonly \DateTimeInterface $endDate, + public \DateTimeInterface $startDate, + public \DateTimeInterface $endDate, ) {} } diff --git a/src/Seller/ReportsV20210630/Dto/CreateReportScheduleSpecification.php b/src/Seller/ReportsV20210630/Dto/CreateReportScheduleSpecification.php index 6a6f8ccf8..3113da08b 100644 --- a/src/Seller/ReportsV20210630/Dto/CreateReportScheduleSpecification.php +++ b/src/Seller/ReportsV20210630/Dto/CreateReportScheduleSpecification.php @@ -22,10 +22,10 @@ final class CreateReportScheduleSpecification extends Dto * @param ?\DateTimeInterface $nextReportCreationTime The date and time when the schedule will create its next report, in ISO 8601 date time format. */ public function __construct( - public readonly string $reportType, - public readonly array $marketplaceIds, - public readonly string $period, - public readonly ?array $reportOptions = null, - public readonly ?\DateTimeInterface $nextReportCreationTime = null, + public string $reportType, + public array $marketplaceIds, + public string $period, + public ?array $reportOptions = null, + public ?\DateTimeInterface $nextReportCreationTime = null, ) {} } diff --git a/src/Seller/ReportsV20210630/Dto/CreateReportSpecification.php b/src/Seller/ReportsV20210630/Dto/CreateReportSpecification.php index 25bf17b31..f545117a2 100644 --- a/src/Seller/ReportsV20210630/Dto/CreateReportSpecification.php +++ b/src/Seller/ReportsV20210630/Dto/CreateReportSpecification.php @@ -22,10 +22,10 @@ final class CreateReportSpecification extends Dto * @param ?\DateTimeInterface $dataEndTime The end of a date and time range, in ISO 8601 date time format, used for selecting the data to report. The default is now. The value must be prior to or equal to the current date and time. Not all report types make use of this. */ public function __construct( - public readonly string $reportType, - public readonly array $marketplaceIds, - public readonly ?array $reportOptions = null, - public readonly ?\DateTimeInterface $dataStartTime = null, - public readonly ?\DateTimeInterface $dataEndTime = null, + public string $reportType, + public array $marketplaceIds, + public ?array $reportOptions = null, + public ?\DateTimeInterface $dataStartTime = null, + public ?\DateTimeInterface $dataEndTime = null, ) {} } diff --git a/src/Seller/ReportsV20210630/Dto/Error.php b/src/Seller/ReportsV20210630/Dto/Error.php index cfca8697e..be6a794b2 100644 --- a/src/Seller/ReportsV20210630/Dto/Error.php +++ b/src/Seller/ReportsV20210630/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/SalesV1/Dto/Error.php b/src/Seller/SalesV1/Dto/Error.php index ef733ac5c..9cadebb72 100644 --- a/src/Seller/SalesV1/Dto/Error.php +++ b/src/Seller/SalesV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/SalesV1/Dto/ErrorList.php b/src/Seller/SalesV1/Dto/ErrorList.php index d885b7bb8..cbb484650 100644 --- a/src/Seller/SalesV1/Dto/ErrorList.php +++ b/src/Seller/SalesV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/SalesV1/Dto/Money.php b/src/Seller/SalesV1/Dto/Money.php index 3cfc3293f..b74ff1b7c 100644 --- a/src/Seller/SalesV1/Dto/Money.php +++ b/src/Seller/SalesV1/Dto/Money.php @@ -19,7 +19,7 @@ final class Money extends Dto * @param string $amount A decimal number with no loss of precision. Useful when precision loss is unnaceptable, as with currencies. Follows RFC7159 for number representation. */ public function __construct( - public readonly string $currencyCode, - public readonly string $amount, + public string $currencyCode, + public string $amount, ) {} } diff --git a/src/Seller/SalesV1/Dto/OrderMetricsInterval.php b/src/Seller/SalesV1/Dto/OrderMetricsInterval.php index 62fcd6163..39a0ea5b0 100644 --- a/src/Seller/SalesV1/Dto/OrderMetricsInterval.php +++ b/src/Seller/SalesV1/Dto/OrderMetricsInterval.php @@ -23,11 +23,11 @@ final class OrderMetricsInterval extends Dto * @param Money $totalSales The currency type and the amount. */ public function __construct( - public readonly string $interval, - public readonly int $unitCount, - public readonly int $orderItemCount, - public readonly int $orderCount, - public readonly Money $averageUnitPrice, - public readonly Money $totalSales, + public string $interval, + public int $unitCount, + public int $orderItemCount, + public int $orderCount, + public Money $averageUnitPrice, + public Money $totalSales, ) {} } diff --git a/src/Seller/SellersV1/Dto/Account.php b/src/Seller/SellersV1/Dto/Account.php index 91954289c..3e02f00b7 100644 --- a/src/Seller/SellersV1/Dto/Account.php +++ b/src/Seller/SellersV1/Dto/Account.php @@ -23,9 +23,9 @@ final class Account extends Dto * @param ?PrimaryContact $primaryContact Information about the seller's primary contact. */ public function __construct( - public readonly array $marketplaceLevelAttributes, - public readonly string $businessType, - public readonly ?Business $business = null, - public readonly ?PrimaryContact $primaryContact = null, + public array $marketplaceLevelAttributes, + public string $businessType, + public ?Business $business = null, + public ?PrimaryContact $primaryContact = null, ) {} } diff --git a/src/Seller/SellersV1/Dto/Address.php b/src/Seller/SellersV1/Dto/Address.php index 85d642137..1ca147cb8 100644 --- a/src/Seller/SellersV1/Dto/Address.php +++ b/src/Seller/SellersV1/Dto/Address.php @@ -23,11 +23,11 @@ final class Address extends Dto * @param ?string $postalCode The postal code. */ public function __construct( - public readonly string $addressLine1, - public readonly string $countryCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $stateOrProvinceCode = null, - public readonly ?string $city = null, - public readonly ?string $postalCode = null, + public string $addressLine1, + public string $countryCode, + public ?string $addressLine2 = null, + public ?string $stateOrProvinceCode = null, + public ?string $city = null, + public ?string $postalCode = null, ) {} } diff --git a/src/Seller/SellersV1/Dto/Business.php b/src/Seller/SellersV1/Dto/Business.php index 872811d82..e2afbe68d 100644 --- a/src/Seller/SellersV1/Dto/Business.php +++ b/src/Seller/SellersV1/Dto/Business.php @@ -22,10 +22,10 @@ final class Business extends Dto * @param ?string $nonLatinName The non-Latin script version of the registered business name, if applicable. */ public function __construct( - public readonly string $name, - public readonly Address $registeredBusinessAddress, - public readonly ?string $companyRegistrationNumber = null, - public readonly ?string $companyTaxIdentificationNumber = null, - public readonly ?string $nonLatinName = null, + public string $name, + public Address $registeredBusinessAddress, + public ?string $companyRegistrationNumber = null, + public ?string $companyTaxIdentificationNumber = null, + public ?string $nonLatinName = null, ) {} } diff --git a/src/Seller/SellersV1/Dto/Error.php b/src/Seller/SellersV1/Dto/Error.php index a13933bfd..f5869601c 100644 --- a/src/Seller/SellersV1/Dto/Error.php +++ b/src/Seller/SellersV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help you understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/SellersV1/Dto/ErrorList.php b/src/Seller/SellersV1/Dto/ErrorList.php index 20dab0795..cb1d19924 100644 --- a/src/Seller/SellersV1/Dto/ErrorList.php +++ b/src/Seller/SellersV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/SellersV1/Dto/Marketplace.php b/src/Seller/SellersV1/Dto/Marketplace.php index 68c10ecb5..f954da28e 100644 --- a/src/Seller/SellersV1/Dto/Marketplace.php +++ b/src/Seller/SellersV1/Dto/Marketplace.php @@ -23,11 +23,11 @@ final class Marketplace extends Dto * @param string $domainName The domain name of the marketplace. */ public function __construct( - public readonly string $id, - public readonly string $name, - public readonly string $countryCode, - public readonly string $defaultCurrencyCode, - public readonly string $defaultLanguageCode, - public readonly string $domainName, + public string $id, + public string $name, + public string $countryCode, + public string $defaultCurrencyCode, + public string $defaultLanguageCode, + public string $domainName, ) {} } diff --git a/src/Seller/SellersV1/Dto/MarketplaceLevelAttributes.php b/src/Seller/SellersV1/Dto/MarketplaceLevelAttributes.php index 7ed85acc5..3b5a2faa1 100644 --- a/src/Seller/SellersV1/Dto/MarketplaceLevelAttributes.php +++ b/src/Seller/SellersV1/Dto/MarketplaceLevelAttributes.php @@ -21,9 +21,9 @@ final class MarketplaceLevelAttributes extends Dto * @param string $sellingPlan The selling plan details. */ public function __construct( - public readonly Marketplace $marketplace, - public readonly string $storeName, - public readonly string $listingStatus, - public readonly string $sellingPlan, + public Marketplace $marketplace, + public string $storeName, + public string $listingStatus, + public string $sellingPlan, ) {} } diff --git a/src/Seller/SellersV1/Dto/MarketplaceParticipation.php b/src/Seller/SellersV1/Dto/MarketplaceParticipation.php index 13dbeb63d..efb210729 100644 --- a/src/Seller/SellersV1/Dto/MarketplaceParticipation.php +++ b/src/Seller/SellersV1/Dto/MarketplaceParticipation.php @@ -19,7 +19,7 @@ final class MarketplaceParticipation extends Dto * @param Participation $participation Information that is specific to a seller in a marketplace. */ public function __construct( - public readonly Marketplace $marketplace, - public readonly Participation $participation, + public Marketplace $marketplace, + public Participation $participation, ) {} } diff --git a/src/Seller/SellersV1/Dto/Participation.php b/src/Seller/SellersV1/Dto/Participation.php index bb21c0bc5..5e94ee2f2 100644 --- a/src/Seller/SellersV1/Dto/Participation.php +++ b/src/Seller/SellersV1/Dto/Participation.php @@ -19,7 +19,7 @@ final class Participation extends Dto * @param bool $hasSuspendedListings Specifies if the seller has suspended listings. `true` if the seller Listing Status is set to Inactive, otherwise `false`. */ public function __construct( - public readonly bool $isParticipating, - public readonly bool $hasSuspendedListings, + public bool $isParticipating, + public bool $hasSuspendedListings, ) {} } diff --git a/src/Seller/SellersV1/Dto/PrimaryContact.php b/src/Seller/SellersV1/Dto/PrimaryContact.php index ef511768b..29db4c7b1 100644 --- a/src/Seller/SellersV1/Dto/PrimaryContact.php +++ b/src/Seller/SellersV1/Dto/PrimaryContact.php @@ -20,8 +20,8 @@ final class PrimaryContact extends Dto * @param ?string $nonLatinName The non-Latin script version of the primary contact's name, if applicable. */ public function __construct( - public readonly string $name, - public readonly Address $address, - public readonly ?string $nonLatinName = null, + public string $name, + public Address $address, + public ?string $nonLatinName = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AddAppointmentRequest.php b/src/Seller/ServicesV1/Dto/AddAppointmentRequest.php index 1196981ac..598b1b0ad 100644 --- a/src/Seller/ServicesV1/Dto/AddAppointmentRequest.php +++ b/src/Seller/ServicesV1/Dto/AddAppointmentRequest.php @@ -18,6 +18,6 @@ final class AddAppointmentRequest extends Dto * @param AppointmentTimeInput $appointmentTime The input appointment time details. */ public function __construct( - public readonly AppointmentTimeInput $appointmentTime, + public AppointmentTimeInput $appointmentTime, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Address.php b/src/Seller/ServicesV1/Dto/Address.php index 2692e904a..c4f4cbe08 100644 --- a/src/Seller/ServicesV1/Dto/Address.php +++ b/src/Seller/ServicesV1/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phone The phone number. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $stateOrRegion = null, - public readonly ?string $postalCode = null, - public readonly ?string $countryCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $stateOrRegion = null, + public ?string $postalCode = null, + public ?string $countryCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Appointment.php b/src/Seller/ServicesV1/Dto/Appointment.php index 62f39f99e..26b7f6d24 100644 --- a/src/Seller/ServicesV1/Dto/Appointment.php +++ b/src/Seller/ServicesV1/Dto/Appointment.php @@ -25,11 +25,11 @@ final class Appointment extends Dto * @param ?Poa $poa Proof of Appointment (POA) details. */ public function __construct( - public readonly ?string $appointmentId = null, - public readonly ?string $appointmentStatus = null, - public readonly ?AppointmentTime $appointmentTime = null, - public readonly ?array $assignedTechnicians = null, - public readonly ?string $rescheduledAppointmentId = null, - public readonly ?Poa $poa = null, + public ?string $appointmentId = null, + public ?string $appointmentStatus = null, + public ?AppointmentTime $appointmentTime = null, + public ?array $assignedTechnicians = null, + public ?string $rescheduledAppointmentId = null, + public ?Poa $poa = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AppointmentResource.php b/src/Seller/ServicesV1/Dto/AppointmentResource.php index 9af049930..36dcc1281 100644 --- a/src/Seller/ServicesV1/Dto/AppointmentResource.php +++ b/src/Seller/ServicesV1/Dto/AppointmentResource.php @@ -18,6 +18,6 @@ final class AppointmentResource extends Dto * @param ?string $resourceId The resource identifier. */ public function __construct( - public readonly ?string $resourceId = null, + public ?string $resourceId = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AppointmentSlot.php b/src/Seller/ServicesV1/Dto/AppointmentSlot.php index cb844eed3..068785119 100644 --- a/src/Seller/ServicesV1/Dto/AppointmentSlot.php +++ b/src/Seller/ServicesV1/Dto/AppointmentSlot.php @@ -20,8 +20,8 @@ final class AppointmentSlot extends Dto * @param ?int $capacity Number of resources for which a slot can be reserved. */ public function __construct( - public readonly ?\DateTimeInterface $startTime = null, - public readonly ?\DateTimeInterface $endTime = null, - public readonly ?int $capacity = null, + public ?\DateTimeInterface $startTime = null, + public ?\DateTimeInterface $endTime = null, + public ?int $capacity = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AppointmentSlotReport.php b/src/Seller/ServicesV1/Dto/AppointmentSlotReport.php index 49eb81959..23a8f660a 100644 --- a/src/Seller/ServicesV1/Dto/AppointmentSlotReport.php +++ b/src/Seller/ServicesV1/Dto/AppointmentSlotReport.php @@ -23,9 +23,9 @@ final class AppointmentSlotReport extends Dto * @param AppointmentSlot[]|null $appointmentSlots A list of time windows along with associated capacity in which the service can be performed. */ public function __construct( - public readonly ?string $schedulingType = null, - public readonly ?\DateTimeInterface $startTime = null, - public readonly ?\DateTimeInterface $endTime = null, - public readonly ?array $appointmentSlots = null, + public ?string $schedulingType = null, + public ?\DateTimeInterface $startTime = null, + public ?\DateTimeInterface $endTime = null, + public ?array $appointmentSlots = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AppointmentTime.php b/src/Seller/ServicesV1/Dto/AppointmentTime.php index b27f5965d..4af6c7762 100644 --- a/src/Seller/ServicesV1/Dto/AppointmentTime.php +++ b/src/Seller/ServicesV1/Dto/AppointmentTime.php @@ -19,7 +19,7 @@ final class AppointmentTime extends Dto * @param int $durationInMinutes The duration of the appointment window, in minutes. */ public function __construct( - public readonly \DateTimeInterface $startTime, - public readonly int $durationInMinutes, + public \DateTimeInterface $startTime, + public int $durationInMinutes, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AppointmentTimeInput.php b/src/Seller/ServicesV1/Dto/AppointmentTimeInput.php index 2eb0a449d..88da469bb 100644 --- a/src/Seller/ServicesV1/Dto/AppointmentTimeInput.php +++ b/src/Seller/ServicesV1/Dto/AppointmentTimeInput.php @@ -19,7 +19,7 @@ final class AppointmentTimeInput extends Dto * @param ?int $durationInMinutes The duration of an appointment in minutes. */ public function __construct( - public readonly \DateTimeInterface $startTime, - public readonly ?int $durationInMinutes = null, + public \DateTimeInterface $startTime, + public ?int $durationInMinutes = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AssignAppointmentResourcesRequest.php b/src/Seller/ServicesV1/Dto/AssignAppointmentResourcesRequest.php index b5e1dd5e9..adc550328 100644 --- a/src/Seller/ServicesV1/Dto/AssignAppointmentResourcesRequest.php +++ b/src/Seller/ServicesV1/Dto/AssignAppointmentResourcesRequest.php @@ -20,6 +20,6 @@ final class AssignAppointmentResourcesRequest extends Dto * @param AppointmentResource[] $resources List of resources that performs or performed job appointment fulfillment. */ public function __construct( - public readonly array $resources, + public array $resources, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AssociatedItem.php b/src/Seller/ServicesV1/Dto/AssociatedItem.php index b55ccec17..0cc9dcdad 100644 --- a/src/Seller/ServicesV1/Dto/AssociatedItem.php +++ b/src/Seller/ServicesV1/Dto/AssociatedItem.php @@ -24,12 +24,12 @@ final class AssociatedItem extends Dto * @param ?ItemDelivery $itemDelivery Delivery information for the item. */ public function __construct( - public readonly ?string $asin = null, - public readonly ?string $title = null, - public readonly ?int $quantity = null, - public readonly ?string $orderId = null, - public readonly ?string $itemStatus = null, - public readonly ?string $brandName = null, - public readonly ?ItemDelivery $itemDelivery = null, + public ?string $asin = null, + public ?string $title = null, + public ?int $quantity = null, + public ?string $orderId = null, + public ?string $itemStatus = null, + public ?string $brandName = null, + public ?ItemDelivery $itemDelivery = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/AvailabilityRecord.php b/src/Seller/ServicesV1/Dto/AvailabilityRecord.php index 2d211def9..542f7ec18 100644 --- a/src/Seller/ServicesV1/Dto/AvailabilityRecord.php +++ b/src/Seller/ServicesV1/Dto/AvailabilityRecord.php @@ -21,9 +21,9 @@ final class AvailabilityRecord extends Dto * @param ?int $capacity Signifies the capacity of a resource which is available. */ public function __construct( - public readonly \DateTimeInterface $startTime, - public readonly \DateTimeInterface $endTime, - public readonly ?Recurrence $recurrence = null, - public readonly ?int $capacity = null, + public \DateTimeInterface $startTime, + public \DateTimeInterface $endTime, + public ?Recurrence $recurrence = null, + public ?int $capacity = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Buyer.php b/src/Seller/ServicesV1/Dto/Buyer.php index 25085b4bf..f3f862326 100644 --- a/src/Seller/ServicesV1/Dto/Buyer.php +++ b/src/Seller/ServicesV1/Dto/Buyer.php @@ -21,9 +21,9 @@ final class Buyer extends Dto * @param ?bool $isPrimeMember When true, the service is for an Amazon Prime buyer. */ public function __construct( - public readonly ?string $buyerId = null, - public readonly ?string $name = null, - public readonly ?string $phone = null, - public readonly ?bool $isPrimeMember = null, + public ?string $buyerId = null, + public ?string $name = null, + public ?string $phone = null, + public ?bool $isPrimeMember = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/CreateReservationRecord.php b/src/Seller/ServicesV1/Dto/CreateReservationRecord.php index 0d3d06efe..8992e3e4a 100644 --- a/src/Seller/ServicesV1/Dto/CreateReservationRecord.php +++ b/src/Seller/ServicesV1/Dto/CreateReservationRecord.php @@ -23,8 +23,8 @@ final class CreateReservationRecord extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly ?Reservation $reservation = null, - public readonly ?array $warnings = null, - public readonly ?ErrorList $errors = null, + public ?Reservation $reservation = null, + public ?array $warnings = null, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/CreateReservationRequest.php b/src/Seller/ServicesV1/Dto/CreateReservationRequest.php index 7e572c16f..ac5924ecf 100644 --- a/src/Seller/ServicesV1/Dto/CreateReservationRequest.php +++ b/src/Seller/ServicesV1/Dto/CreateReservationRequest.php @@ -19,7 +19,7 @@ final class CreateReservationRequest extends Dto * @param Reservation $reservation Reservation object reduces the capacity of a resource. */ public function __construct( - public readonly string $resourceId, - public readonly Reservation $reservation, + public string $resourceId, + public Reservation $reservation, ) {} } diff --git a/src/Seller/ServicesV1/Dto/EncryptionDetails.php b/src/Seller/ServicesV1/Dto/EncryptionDetails.php index 2ecf5ad17..1daba2bcd 100644 --- a/src/Seller/ServicesV1/Dto/EncryptionDetails.php +++ b/src/Seller/ServicesV1/Dto/EncryptionDetails.php @@ -20,8 +20,8 @@ final class EncryptionDetails extends Dto * @param string $key The encryption key used to encrypt or decrypt the document contents. */ public function __construct( - public readonly string $standard, - public readonly string $initializationVector, - public readonly string $key, + public string $standard, + public string $initializationVector, + public string $key, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Error.php b/src/Seller/ServicesV1/Dto/Error.php index 153e7d41b..c06ce9b96 100644 --- a/src/Seller/ServicesV1/Dto/Error.php +++ b/src/Seller/ServicesV1/Dto/Error.php @@ -21,9 +21,9 @@ final class Error extends Dto * @param ?string $errorLevel The type of error. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, - public readonly ?string $errorLevel = null, + public string $code, + public string $message, + public ?string $details = null, + public ?string $errorLevel = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/FixedSlot.php b/src/Seller/ServicesV1/Dto/FixedSlot.php index 2e9ddb598..0050ee1e8 100644 --- a/src/Seller/ServicesV1/Dto/FixedSlot.php +++ b/src/Seller/ServicesV1/Dto/FixedSlot.php @@ -22,10 +22,10 @@ final class FixedSlot extends Dto * @param ?int $reservedCapacity Reserved capacity corresponding to the slot. This capacity represents the capacity made unavailable due to events like Breaks/Leaves/Lunch. */ public function __construct( - public readonly ?\DateTimeInterface $startDateTime = null, - public readonly ?int $scheduledCapacity = null, - public readonly ?int $availableCapacity = null, - public readonly ?int $encumberedCapacity = null, - public readonly ?int $reservedCapacity = null, + public ?\DateTimeInterface $startDateTime = null, + public ?int $scheduledCapacity = null, + public ?int $availableCapacity = null, + public ?int $encumberedCapacity = null, + public ?int $reservedCapacity = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/FixedSlotCapacityQuery.php b/src/Seller/ServicesV1/Dto/FixedSlotCapacityQuery.php index 7854fd4ce..2b8b728b2 100644 --- a/src/Seller/ServicesV1/Dto/FixedSlotCapacityQuery.php +++ b/src/Seller/ServicesV1/Dto/FixedSlotCapacityQuery.php @@ -21,9 +21,9 @@ final class FixedSlotCapacityQuery extends Dto * @param ?float $slotDuration Size in which slots are being requested. This value should be a multiple of 5 and fall in the range: 5 <= `slotDuration` <= 360. */ public function __construct( - public readonly \DateTimeInterface $startDateTime, - public readonly \DateTimeInterface $endDateTime, - public readonly ?array $capacityTypes = null, - public readonly ?float $slotDuration = null, + public \DateTimeInterface $startDateTime, + public \DateTimeInterface $endDateTime, + public ?array $capacityTypes = null, + public ?float $slotDuration = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/FulfillmentDocument.php b/src/Seller/ServicesV1/Dto/FulfillmentDocument.php index 099edd4a6..4d7050557 100644 --- a/src/Seller/ServicesV1/Dto/FulfillmentDocument.php +++ b/src/Seller/ServicesV1/Dto/FulfillmentDocument.php @@ -19,7 +19,7 @@ final class FulfillmentDocument extends Dto * @param ?string $contentSha256 Sha256 hash of the file content. This value is used to determine if the file has been corrupted or tampered with during transit. */ public function __construct( - public readonly ?string $uploadDestinationId = null, - public readonly ?string $contentSha256 = null, + public ?string $uploadDestinationId = null, + public ?string $contentSha256 = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/FulfillmentTime.php b/src/Seller/ServicesV1/Dto/FulfillmentTime.php index 2dcf28eca..fe0f43c69 100644 --- a/src/Seller/ServicesV1/Dto/FulfillmentTime.php +++ b/src/Seller/ServicesV1/Dto/FulfillmentTime.php @@ -19,7 +19,7 @@ final class FulfillmentTime extends Dto * @param ?\DateTimeInterface $endTime The date, time in UTC of the fulfillment end time in ISO 8601 format. */ public function __construct( - public readonly ?\DateTimeInterface $startTime = null, - public readonly ?\DateTimeInterface $endTime = null, + public ?\DateTimeInterface $startTime = null, + public ?\DateTimeInterface $endTime = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/ItemDelivery.php b/src/Seller/ServicesV1/Dto/ItemDelivery.php index dd12f3ea6..fec9af16d 100644 --- a/src/Seller/ServicesV1/Dto/ItemDelivery.php +++ b/src/Seller/ServicesV1/Dto/ItemDelivery.php @@ -19,7 +19,7 @@ final class ItemDelivery extends Dto * @param ?ItemDeliveryPromise $itemDeliveryPromise Promised delivery information for the item. */ public function __construct( - public readonly ?\DateTimeInterface $estimatedDeliveryDate = null, - public readonly ?ItemDeliveryPromise $itemDeliveryPromise = null, + public ?\DateTimeInterface $estimatedDeliveryDate = null, + public ?ItemDeliveryPromise $itemDeliveryPromise = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/ItemDeliveryPromise.php b/src/Seller/ServicesV1/Dto/ItemDeliveryPromise.php index ce9bcc757..36dea6b8d 100644 --- a/src/Seller/ServicesV1/Dto/ItemDeliveryPromise.php +++ b/src/Seller/ServicesV1/Dto/ItemDeliveryPromise.php @@ -19,7 +19,7 @@ final class ItemDeliveryPromise extends Dto * @param ?\DateTimeInterface $endTime The date and time of the end of the promised delivery window in ISO 8601 format. */ public function __construct( - public readonly ?\DateTimeInterface $startTime = null, - public readonly ?\DateTimeInterface $endTime = null, + public ?\DateTimeInterface $startTime = null, + public ?\DateTimeInterface $endTime = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/JobListing.php b/src/Seller/ServicesV1/Dto/JobListing.php index 19e34920d..42aa42823 100644 --- a/src/Seller/ServicesV1/Dto/JobListing.php +++ b/src/Seller/ServicesV1/Dto/JobListing.php @@ -23,9 +23,9 @@ final class JobListing extends Dto * @param ServiceJob[]|null $jobs List of job details for the given input. */ public function __construct( - public readonly ?int $totalResultSize = null, - public readonly ?string $nextPageToken = null, - public readonly ?string $previousPageToken = null, - public readonly ?array $jobs = null, + public ?int $totalResultSize = null, + public ?string $nextPageToken = null, + public ?string $previousPageToken = null, + public ?array $jobs = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Payload.php b/src/Seller/ServicesV1/Dto/Payload.php index dd21d33cc..abd7bc91d 100644 --- a/src/Seller/ServicesV1/Dto/Payload.php +++ b/src/Seller/ServicesV1/Dto/Payload.php @@ -20,6 +20,6 @@ final class Payload extends Dto * @param Warning[]|null $warnings A list of warnings returned in the sucessful execution response of an API request. */ public function __construct( - public readonly ?array $warnings = null, + public ?array $warnings = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Poa.php b/src/Seller/ServicesV1/Dto/Poa.php index 2b8af021b..4605673d1 100644 --- a/src/Seller/ServicesV1/Dto/Poa.php +++ b/src/Seller/ServicesV1/Dto/Poa.php @@ -24,10 +24,10 @@ final class Poa extends Dto * @param ?string $poaType The type of POA uploaded. */ public function __construct( - public readonly ?AppointmentTime $appointmentTime = null, - public readonly ?array $technicians = null, - public readonly ?string $uploadingTechnician = null, - public readonly ?\DateTimeInterface $uploadTime = null, - public readonly ?string $poaType = null, + public ?AppointmentTime $appointmentTime = null, + public ?array $technicians = null, + public ?string $uploadingTechnician = null, + public ?\DateTimeInterface $uploadTime = null, + public ?string $poaType = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/RangeCapacity.php b/src/Seller/ServicesV1/Dto/RangeCapacity.php index 58db03e10..ee1238c4d 100644 --- a/src/Seller/ServicesV1/Dto/RangeCapacity.php +++ b/src/Seller/ServicesV1/Dto/RangeCapacity.php @@ -21,7 +21,7 @@ final class RangeCapacity extends Dto * @param RangeSlot[]|null $slots Array of capacity slots in range slot format. */ public function __construct( - public readonly ?string $capacityType = null, - public readonly ?array $slots = null, + public ?string $capacityType = null, + public ?array $slots = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/RangeSlot.php b/src/Seller/ServicesV1/Dto/RangeSlot.php index a6f662681..e243a4064 100644 --- a/src/Seller/ServicesV1/Dto/RangeSlot.php +++ b/src/Seller/ServicesV1/Dto/RangeSlot.php @@ -20,8 +20,8 @@ final class RangeSlot extends Dto * @param ?int $capacity Capacity of the slot. */ public function __construct( - public readonly ?\DateTimeInterface $startDateTime = null, - public readonly ?\DateTimeInterface $endDateTime = null, - public readonly ?int $capacity = null, + public ?\DateTimeInterface $startDateTime = null, + public ?\DateTimeInterface $endDateTime = null, + public ?int $capacity = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/RangeSlotCapacityQuery.php b/src/Seller/ServicesV1/Dto/RangeSlotCapacityQuery.php index 743926f46..ca14b424a 100644 --- a/src/Seller/ServicesV1/Dto/RangeSlotCapacityQuery.php +++ b/src/Seller/ServicesV1/Dto/RangeSlotCapacityQuery.php @@ -20,8 +20,8 @@ final class RangeSlotCapacityQuery extends Dto * @param ?string[] $capacityTypes An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`. */ public function __construct( - public readonly \DateTimeInterface $startDateTime, - public readonly \DateTimeInterface $endDateTime, - public readonly ?array $capacityTypes = null, + public \DateTimeInterface $startDateTime, + public \DateTimeInterface $endDateTime, + public ?array $capacityTypes = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Recurrence.php b/src/Seller/ServicesV1/Dto/Recurrence.php index 3820b455c..279a6f4e9 100644 --- a/src/Seller/ServicesV1/Dto/Recurrence.php +++ b/src/Seller/ServicesV1/Dto/Recurrence.php @@ -20,8 +20,8 @@ final class Recurrence extends Dto * @param int[]|null $daysOfMonth Days of the month when recurrence is valid. */ public function __construct( - public readonly \DateTimeInterface $endTime, - public readonly ?array $daysOfWeek = null, - public readonly ?array $daysOfMonth = null, + public \DateTimeInterface $endTime, + public ?array $daysOfWeek = null, + public ?array $daysOfMonth = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/RescheduleAppointmentRequest.php b/src/Seller/ServicesV1/Dto/RescheduleAppointmentRequest.php index 13e769bd0..01f4cbc99 100644 --- a/src/Seller/ServicesV1/Dto/RescheduleAppointmentRequest.php +++ b/src/Seller/ServicesV1/Dto/RescheduleAppointmentRequest.php @@ -19,7 +19,7 @@ final class RescheduleAppointmentRequest extends Dto * @param string $rescheduleReasonCode The appointment reschedule reason code. */ public function __construct( - public readonly AppointmentTimeInput $appointmentTime, - public readonly string $rescheduleReasonCode, + public AppointmentTimeInput $appointmentTime, + public string $rescheduleReasonCode, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Reservation.php b/src/Seller/ServicesV1/Dto/Reservation.php index 42a54467a..7eec99800 100644 --- a/src/Seller/ServicesV1/Dto/Reservation.php +++ b/src/Seller/ServicesV1/Dto/Reservation.php @@ -20,8 +20,8 @@ final class Reservation extends Dto * @param ?string $reservationId Unique identifier for a reservation. If present, it is treated as an update reservation request and will update the corresponding reservation. Otherwise, it is treated as a new create reservation request. */ public function __construct( - public readonly string $type, - public readonly AvailabilityRecord $availability, - public readonly ?string $reservationId = null, + public string $type, + public AvailabilityRecord $availability, + public ?string $reservationId = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/ScopeOfWork.php b/src/Seller/ServicesV1/Dto/ScopeOfWork.php index f9744a36f..9ec5b15eb 100644 --- a/src/Seller/ServicesV1/Dto/ScopeOfWork.php +++ b/src/Seller/ServicesV1/Dto/ScopeOfWork.php @@ -21,9 +21,9 @@ final class ScopeOfWork extends Dto * @param ?string[] $requiredSkills A list of skills required to perform the job. */ public function __construct( - public readonly ?string $asin = null, - public readonly ?string $title = null, - public readonly ?int $quantity = null, - public readonly ?array $requiredSkills = null, + public ?string $asin = null, + public ?string $title = null, + public ?int $quantity = null, + public ?array $requiredSkills = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Seller.php b/src/Seller/ServicesV1/Dto/Seller.php index 6c02ced85..c003b2b9b 100644 --- a/src/Seller/ServicesV1/Dto/Seller.php +++ b/src/Seller/ServicesV1/Dto/Seller.php @@ -18,6 +18,6 @@ final class Seller extends Dto * @param ?string $sellerId The identifier of the seller of the service job. */ public function __construct( - public readonly ?string $sellerId = null, + public ?string $sellerId = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/ServiceDocumentUploadDestination.php b/src/Seller/ServicesV1/Dto/ServiceDocumentUploadDestination.php index f337533ca..3d13aae02 100644 --- a/src/Seller/ServicesV1/Dto/ServiceDocumentUploadDestination.php +++ b/src/Seller/ServicesV1/Dto/ServiceDocumentUploadDestination.php @@ -21,9 +21,9 @@ final class ServiceDocumentUploadDestination extends Dto * @param ?mixed[] $headers The headers to include in the upload request. */ public function __construct( - public readonly string $uploadDestinationId, - public readonly string $url, - public readonly EncryptionDetails $encryptionDetails, - public readonly ?array $headers = null, + public string $uploadDestinationId, + public string $url, + public EncryptionDetails $encryptionDetails, + public ?array $headers = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/ServiceJob.php b/src/Seller/ServicesV1/Dto/ServiceJob.php index 42977f6e0..27c6f3009 100644 --- a/src/Seller/ServicesV1/Dto/ServiceJob.php +++ b/src/Seller/ServicesV1/Dto/ServiceJob.php @@ -37,19 +37,19 @@ final class ServiceJob extends Dto * @param ?ServiceLocation $serviceLocation Information about the location of the service job. */ public function __construct( - public readonly ?\DateTimeInterface $createTime = null, - public readonly ?string $serviceJobId = null, - public readonly ?string $serviceJobStatus = null, - public readonly ?ScopeOfWork $scopeOfWork = null, - public readonly ?Seller $seller = null, - public readonly ?ServiceJobProvider $serviceJobProvider = null, - public readonly ?array $preferredAppointmentTimes = null, - public readonly ?array $appointments = null, - public readonly ?string $serviceOrderId = null, - public readonly ?string $marketplaceId = null, - public readonly ?string $storeId = null, - public readonly ?Buyer $buyer = null, - public readonly ?array $associatedItems = null, - public readonly ?ServiceLocation $serviceLocation = null, + public ?\DateTimeInterface $createTime = null, + public ?string $serviceJobId = null, + public ?string $serviceJobStatus = null, + public ?ScopeOfWork $scopeOfWork = null, + public ?Seller $seller = null, + public ?ServiceJobProvider $serviceJobProvider = null, + public ?array $preferredAppointmentTimes = null, + public ?array $appointments = null, + public ?string $serviceOrderId = null, + public ?string $marketplaceId = null, + public ?string $storeId = null, + public ?Buyer $buyer = null, + public ?array $associatedItems = null, + public ?ServiceLocation $serviceLocation = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/ServiceJobProvider.php b/src/Seller/ServicesV1/Dto/ServiceJobProvider.php index 3d924bcef..c55f07b93 100644 --- a/src/Seller/ServicesV1/Dto/ServiceJobProvider.php +++ b/src/Seller/ServicesV1/Dto/ServiceJobProvider.php @@ -18,6 +18,6 @@ final class ServiceJobProvider extends Dto * @param ?string $serviceJobProviderId The identifier of the service job provider. */ public function __construct( - public readonly ?string $serviceJobProviderId = null, + public ?string $serviceJobProviderId = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/ServiceLocation.php b/src/Seller/ServicesV1/Dto/ServiceLocation.php index 8ea5c5aec..ec38c0342 100644 --- a/src/Seller/ServicesV1/Dto/ServiceLocation.php +++ b/src/Seller/ServicesV1/Dto/ServiceLocation.php @@ -19,7 +19,7 @@ final class ServiceLocation extends Dto * @param ?Address $address The shipping address for the service job. */ public function __construct( - public readonly ?string $serviceLocationType = null, - public readonly ?Address $address = null, + public ?string $serviceLocationType = null, + public ?Address $address = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/ServiceUploadDocument.php b/src/Seller/ServicesV1/Dto/ServiceUploadDocument.php index 14719fa40..842e9023d 100644 --- a/src/Seller/ServicesV1/Dto/ServiceUploadDocument.php +++ b/src/Seller/ServicesV1/Dto/ServiceUploadDocument.php @@ -22,8 +22,8 @@ final class ServiceUploadDocument extends Dto * @param ?string $contentMd5 An MD5 hash of the content to be submitted to the upload destination. This value is used to determine if the data has been corrupted or tampered with during transit. */ public function __construct( - public readonly string $contentType, - public readonly float $contentLength, - public readonly ?string $contentMd5 = null, + public string $contentType, + public float $contentLength, + public ?string $contentMd5 = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/SetAppointmentFulfillmentDataRequest.php b/src/Seller/ServicesV1/Dto/SetAppointmentFulfillmentDataRequest.php index d770b2f09..53a27289a 100644 --- a/src/Seller/ServicesV1/Dto/SetAppointmentFulfillmentDataRequest.php +++ b/src/Seller/ServicesV1/Dto/SetAppointmentFulfillmentDataRequest.php @@ -25,8 +25,8 @@ final class SetAppointmentFulfillmentDataRequest extends Dto * @param FulfillmentDocument[]|null $fulfillmentDocuments List of documents captured during service appointment fulfillment. */ public function __construct( - public readonly ?FulfillmentTime $fulfillmentTime = null, - public readonly ?array $appointmentResources = null, - public readonly ?array $fulfillmentDocuments = null, + public ?FulfillmentTime $fulfillmentTime = null, + public ?array $appointmentResources = null, + public ?array $fulfillmentDocuments = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Technician.php b/src/Seller/ServicesV1/Dto/Technician.php index f0d5fa1d7..703f1f6c4 100644 --- a/src/Seller/ServicesV1/Dto/Technician.php +++ b/src/Seller/ServicesV1/Dto/Technician.php @@ -19,7 +19,7 @@ final class Technician extends Dto * @param ?string $name The name of the technician. */ public function __construct( - public readonly ?string $technicianId = null, - public readonly ?string $name = null, + public ?string $technicianId = null, + public ?string $name = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/UpdateReservationRecord.php b/src/Seller/ServicesV1/Dto/UpdateReservationRecord.php index f5e7cdc57..2b629f5fe 100644 --- a/src/Seller/ServicesV1/Dto/UpdateReservationRecord.php +++ b/src/Seller/ServicesV1/Dto/UpdateReservationRecord.php @@ -23,8 +23,8 @@ final class UpdateReservationRecord extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly ?Reservation $reservation = null, - public readonly ?array $warnings = null, - public readonly ?ErrorList $errors = null, + public ?Reservation $reservation = null, + public ?array $warnings = null, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/UpdateReservationRequest.php b/src/Seller/ServicesV1/Dto/UpdateReservationRequest.php index 5b642d6db..d28464ac2 100644 --- a/src/Seller/ServicesV1/Dto/UpdateReservationRequest.php +++ b/src/Seller/ServicesV1/Dto/UpdateReservationRequest.php @@ -19,7 +19,7 @@ final class UpdateReservationRequest extends Dto * @param Reservation $reservation Reservation object reduces the capacity of a resource. */ public function __construct( - public readonly string $resourceId, - public readonly Reservation $reservation, + public string $resourceId, + public Reservation $reservation, ) {} } diff --git a/src/Seller/ServicesV1/Dto/UpdateScheduleRecord.php b/src/Seller/ServicesV1/Dto/UpdateScheduleRecord.php index 6725b9c23..d19b79308 100644 --- a/src/Seller/ServicesV1/Dto/UpdateScheduleRecord.php +++ b/src/Seller/ServicesV1/Dto/UpdateScheduleRecord.php @@ -23,8 +23,8 @@ final class UpdateScheduleRecord extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly ?AvailabilityRecord $availability = null, - public readonly ?array $warnings = null, - public readonly ?ErrorList $errors = null, + public ?AvailabilityRecord $availability = null, + public ?array $warnings = null, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Seller/ServicesV1/Dto/UpdateScheduleRequest.php b/src/Seller/ServicesV1/Dto/UpdateScheduleRequest.php index b7e12832b..ef8fa999b 100644 --- a/src/Seller/ServicesV1/Dto/UpdateScheduleRequest.php +++ b/src/Seller/ServicesV1/Dto/UpdateScheduleRequest.php @@ -20,6 +20,6 @@ final class UpdateScheduleRequest extends Dto * @param AvailabilityRecord[] $schedules List of `AvailabilityRecord`s to represent the capacity of a resource over a time range. */ public function __construct( - public readonly array $schedules, + public array $schedules, ) {} } diff --git a/src/Seller/ServicesV1/Dto/Warning.php b/src/Seller/ServicesV1/Dto/Warning.php index 7003d7755..852b7b7db 100644 --- a/src/Seller/ServicesV1/Dto/Warning.php +++ b/src/Seller/ServicesV1/Dto/Warning.php @@ -20,8 +20,8 @@ final class Warning extends Dto * @param ?string $details Additional details that can help the caller understand or address the warning. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/Address.php b/src/Seller/ShipmentInvoicingV0/Dto/Address.php index 4c3cd9967..731a80717 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/Address.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/Address.php @@ -44,17 +44,17 @@ final class Address extends Dto * @param ?string $addressType The shipping address type. */ public function __construct( - public readonly ?string $name = null, - public readonly ?string $addressLine1 = null, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $stateOrRegion = null, - public readonly ?string $postalCode = null, - public readonly ?string $countryCode = null, - public readonly ?string $phone = null, - public readonly ?string $addressType = null, + public ?string $name = null, + public ?string $addressLine1 = null, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $stateOrRegion = null, + public ?string $postalCode = null, + public ?string $countryCode = null, + public ?string $phone = null, + public ?string $addressType = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/BuyerTaxInfo.php b/src/Seller/ShipmentInvoicingV0/Dto/BuyerTaxInfo.php index 8bf1381bf..e56578fd2 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/BuyerTaxInfo.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/BuyerTaxInfo.php @@ -28,8 +28,8 @@ final class BuyerTaxInfo extends Dto * @param TaxClassification[]|null $taxClassifications The list of tax classifications. */ public function __construct( - public readonly ?string $companyLegalName = null, - public readonly ?string $taxingRegion = null, - public readonly ?array $taxClassifications = null, + public ?string $companyLegalName = null, + public ?string $taxingRegion = null, + public ?array $taxClassifications = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/Error.php b/src/Seller/ShipmentInvoicingV0/Dto/Error.php index 61edd08d5..fc5551c74 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/Error.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/ErrorList.php b/src/Seller/ShipmentInvoicingV0/Dto/ErrorList.php index a351656db..3e1731bf0 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/ErrorList.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/MarketplaceTaxInfo.php b/src/Seller/ShipmentInvoicingV0/Dto/MarketplaceTaxInfo.php index b29d44ba4..4be63ebd7 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/MarketplaceTaxInfo.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/MarketplaceTaxInfo.php @@ -28,8 +28,8 @@ final class MarketplaceTaxInfo extends Dto * @param TaxClassification[]|null $taxClassifications The list of tax classifications. */ public function __construct( - public readonly ?string $companyLegalName = null, - public readonly ?string $taxingRegion = null, - public readonly ?array $taxClassifications = null, + public ?string $companyLegalName = null, + public ?string $taxingRegion = null, + public ?array $taxClassifications = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/Money.php b/src/Seller/ShipmentInvoicingV0/Dto/Money.php index c3634ddb5..a778dd2db 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/Money.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/Money.php @@ -21,7 +21,7 @@ final class Money extends Dto * @param ?string $amount The currency amount. */ public function __construct( - public readonly ?string $currencyCode = null, - public readonly ?string $amount = null, + public ?string $currencyCode = null, + public ?string $amount = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/ShipmentDetail.php b/src/Seller/ShipmentInvoicingV0/Dto/ShipmentDetail.php index 07e2f11ae..2b13f6350 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/ShipmentDetail.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/ShipmentDetail.php @@ -50,19 +50,19 @@ final class ShipmentDetail extends Dto * @param ShipmentItem[]|null $shipmentItems A list of shipment items. */ public function __construct( - public readonly ?string $warehouseId = null, - public readonly ?string $amazonOrderId = null, - public readonly ?string $amazonShipmentId = null, - public readonly ?\DateTimeInterface $purchaseDate = null, - public readonly ?Address $shippingAddress = null, - public readonly ?array $paymentMethodDetails = null, - public readonly ?string $marketplaceId = null, - public readonly ?string $sellerId = null, - public readonly ?string $buyerName = null, - public readonly ?string $buyerCounty = null, - public readonly ?BuyerTaxInfo $buyerTaxInfo = null, - public readonly ?MarketplaceTaxInfo $marketplaceTaxInfo = null, - public readonly ?string $sellerDisplayName = null, - public readonly ?array $shipmentItems = null, + public ?string $warehouseId = null, + public ?string $amazonOrderId = null, + public ?string $amazonShipmentId = null, + public ?\DateTimeInterface $purchaseDate = null, + public ?Address $shippingAddress = null, + public ?array $paymentMethodDetails = null, + public ?string $marketplaceId = null, + public ?string $sellerId = null, + public ?string $buyerName = null, + public ?string $buyerCounty = null, + public ?BuyerTaxInfo $buyerTaxInfo = null, + public ?MarketplaceTaxInfo $marketplaceTaxInfo = null, + public ?string $sellerDisplayName = null, + public ?array $shipmentItems = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/ShipmentInvoiceStatusInfo.php b/src/Seller/ShipmentInvoicingV0/Dto/ShipmentInvoiceStatusInfo.php index 50c55d86a..b482303f6 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/ShipmentInvoiceStatusInfo.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/ShipmentInvoiceStatusInfo.php @@ -21,7 +21,7 @@ final class ShipmentInvoiceStatusInfo extends Dto * @param ?string $invoiceStatus The shipment invoice status. */ public function __construct( - public readonly ?string $amazonShipmentId = null, - public readonly ?string $invoiceStatus = null, + public ?string $amazonShipmentId = null, + public ?string $invoiceStatus = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/ShipmentInvoiceStatusResponse.php b/src/Seller/ShipmentInvoicingV0/Dto/ShipmentInvoiceStatusResponse.php index bd7a32e2d..d70850473 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/ShipmentInvoiceStatusResponse.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/ShipmentInvoiceStatusResponse.php @@ -20,6 +20,6 @@ final class ShipmentInvoiceStatusResponse extends Dto * @param ?ShipmentInvoiceStatusInfo $shipments The shipment invoice status information. */ public function __construct( - public readonly ?ShipmentInvoiceStatusInfo $shipments = null, + public ?ShipmentInvoiceStatusInfo $shipments = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/ShipmentItem.php b/src/Seller/ShipmentInvoicingV0/Dto/ShipmentItem.php index b98736deb..855d5d860 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/ShipmentItem.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/ShipmentItem.php @@ -42,16 +42,16 @@ final class ShipmentItem extends Dto * @param ?string[] $serialNumbers The list of serial numbers. */ public function __construct( - public readonly ?string $asin = null, - public readonly ?string $sellerSku = null, - public readonly ?string $orderItemId = null, - public readonly ?string $title = null, - public readonly ?float $quantityOrdered = null, - public readonly ?Money $itemPrice = null, - public readonly ?Money $shippingPrice = null, - public readonly ?Money $giftWrapPrice = null, - public readonly ?Money $shippingDiscount = null, - public readonly ?Money $promotionDiscount = null, - public readonly ?array $serialNumbers = null, + public ?string $asin = null, + public ?string $sellerSku = null, + public ?string $orderItemId = null, + public ?string $title = null, + public ?float $quantityOrdered = null, + public ?Money $itemPrice = null, + public ?Money $shippingPrice = null, + public ?Money $giftWrapPrice = null, + public ?Money $shippingDiscount = null, + public ?Money $promotionDiscount = null, + public ?array $serialNumbers = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/SubmitInvoiceRequest.php b/src/Seller/ShipmentInvoicingV0/Dto/SubmitInvoiceRequest.php index d7270f05b..c8024cad7 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/SubmitInvoiceRequest.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/SubmitInvoiceRequest.php @@ -26,8 +26,8 @@ final class SubmitInvoiceRequest extends Dto * @param ?string $marketplaceId An Amazon marketplace identifier. */ public function __construct( - public readonly string $invoiceContent, - public readonly string $contentMd5value, - public readonly ?string $marketplaceId = null, + public string $invoiceContent, + public string $contentMd5value, + public ?string $marketplaceId = null, ) {} } diff --git a/src/Seller/ShipmentInvoicingV0/Dto/TaxClassification.php b/src/Seller/ShipmentInvoicingV0/Dto/TaxClassification.php index 4227b9e37..e68189c34 100644 --- a/src/Seller/ShipmentInvoicingV0/Dto/TaxClassification.php +++ b/src/Seller/ShipmentInvoicingV0/Dto/TaxClassification.php @@ -21,7 +21,7 @@ final class TaxClassification extends Dto * @param ?string $value The entity's tax identifier. */ public function __construct( - public readonly ?string $name = null, - public readonly ?string $value = null, + public ?string $name = null, + public ?string $value = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/AcceptedRate.php b/src/Seller/ShippingV1/Dto/AcceptedRate.php index 0766da22b..11746a897 100644 --- a/src/Seller/ShippingV1/Dto/AcceptedRate.php +++ b/src/Seller/ShippingV1/Dto/AcceptedRate.php @@ -21,9 +21,9 @@ final class AcceptedRate extends Dto * @param ?ShippingPromiseSet $promise The promised delivery time and pickup time. */ public function __construct( - public readonly ?Currency $totalCharge = null, - public readonly ?Weight $billedWeight = null, - public readonly ?string $serviceType = null, - public readonly ?ShippingPromiseSet $promise = null, + public ?Currency $totalCharge = null, + public ?Weight $billedWeight = null, + public ?string $serviceType = null, + public ?ShippingPromiseSet $promise = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Account.php b/src/Seller/ShippingV1/Dto/Account.php index 3848c4dd8..1a14f5304 100644 --- a/src/Seller/ShippingV1/Dto/Account.php +++ b/src/Seller/ShippingV1/Dto/Account.php @@ -18,6 +18,6 @@ final class Account extends Dto * @param string $accountId This is the Amazon Shipping account id generated during the Amazon Shipping onboarding process. */ public function __construct( - public readonly string $accountId, + public string $accountId, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Address.php b/src/Seller/ShippingV1/Dto/Address.php index e06767db2..28e6b8a3d 100644 --- a/src/Seller/ShippingV1/Dto/Address.php +++ b/src/Seller/ShippingV1/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phoneNumber The phone number of the person, business or institution located at that address. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $stateOrRegion, - public readonly string $city, - public readonly string $countryCode, - public readonly string $postalCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $email = null, - public readonly ?array $copyEmails = null, - public readonly ?string $phoneNumber = null, + public string $name, + public string $addressLine1, + public string $stateOrRegion, + public string $city, + public string $countryCode, + public string $postalCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $email = null, + public ?array $copyEmails = null, + public ?string $phoneNumber = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Container.php b/src/Seller/ShippingV1/Dto/Container.php index fcc5434a3..799638a6e 100644 --- a/src/Seller/ShippingV1/Dto/Container.php +++ b/src/Seller/ShippingV1/Dto/Container.php @@ -25,11 +25,11 @@ final class Container extends Dto * @param ?string $containerType The type of physical container being used. (always 'PACKAGE') */ public function __construct( - public readonly string $containerReferenceId, - public readonly Currency $value, - public readonly Dimensions $dimensions, - public readonly array $items, - public readonly Weight $weight, - public readonly ?string $containerType = null, + public string $containerReferenceId, + public Currency $value, + public Dimensions $dimensions, + public array $items, + public Weight $weight, + public ?string $containerType = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/ContainerItem.php b/src/Seller/ShippingV1/Dto/ContainerItem.php index d9866989c..e21ecb3e8 100644 --- a/src/Seller/ShippingV1/Dto/ContainerItem.php +++ b/src/Seller/ShippingV1/Dto/ContainerItem.php @@ -21,9 +21,9 @@ final class ContainerItem extends Dto * @param string $title A descriptive title of the item. */ public function __construct( - public readonly float $quantity, - public readonly Currency $unitPrice, - public readonly Weight $unitWeight, - public readonly string $title, + public float $quantity, + public Currency $unitPrice, + public Weight $unitWeight, + public string $title, ) {} } diff --git a/src/Seller/ShippingV1/Dto/ContainerSpecification.php b/src/Seller/ShippingV1/Dto/ContainerSpecification.php index 6a98fa68a..662f592c7 100644 --- a/src/Seller/ShippingV1/Dto/ContainerSpecification.php +++ b/src/Seller/ShippingV1/Dto/ContainerSpecification.php @@ -19,7 +19,7 @@ final class ContainerSpecification extends Dto * @param Weight $weight The weight. */ public function __construct( - public readonly Dimensions $dimensions, - public readonly Weight $weight, + public Dimensions $dimensions, + public Weight $weight, ) {} } diff --git a/src/Seller/ShippingV1/Dto/CreateShipmentRequest.php b/src/Seller/ShippingV1/Dto/CreateShipmentRequest.php index 449e41fdb..f00627a52 100644 --- a/src/Seller/ShippingV1/Dto/CreateShipmentRequest.php +++ b/src/Seller/ShippingV1/Dto/CreateShipmentRequest.php @@ -23,9 +23,9 @@ final class CreateShipmentRequest extends Dto * @param Container[] $containers A list of container. */ public function __construct( - public readonly string $clientReferenceId, - public readonly Address $shipTo, - public readonly Address $shipFrom, - public readonly array $containers, + public string $clientReferenceId, + public Address $shipTo, + public Address $shipFrom, + public array $containers, ) {} } diff --git a/src/Seller/ShippingV1/Dto/CreateShipmentResult.php b/src/Seller/ShippingV1/Dto/CreateShipmentResult.php index ea4b4ee1d..257ad2419 100644 --- a/src/Seller/ShippingV1/Dto/CreateShipmentResult.php +++ b/src/Seller/ShippingV1/Dto/CreateShipmentResult.php @@ -21,7 +21,7 @@ final class CreateShipmentResult extends Dto * @param Rate[] $eligibleRates A list of all the available rates that can be used to send the shipment. */ public function __construct( - public readonly string $shipmentId, - public readonly array $eligibleRates, + public string $shipmentId, + public array $eligibleRates, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Currency.php b/src/Seller/ShippingV1/Dto/Currency.php index 883bf29ad..ee4edfc67 100644 --- a/src/Seller/ShippingV1/Dto/Currency.php +++ b/src/Seller/ShippingV1/Dto/Currency.php @@ -19,7 +19,7 @@ final class Currency extends Dto * @param string $unit A 3-character currency code. */ public function __construct( - public readonly float $value, - public readonly string $unit, + public float $value, + public string $unit, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Dimensions.php b/src/Seller/ShippingV1/Dto/Dimensions.php index 40a47ec86..77f772d1b 100644 --- a/src/Seller/ShippingV1/Dto/Dimensions.php +++ b/src/Seller/ShippingV1/Dto/Dimensions.php @@ -21,9 +21,9 @@ final class Dimensions extends Dto * @param string $unit The unit of these measurements. */ public function __construct( - public readonly float $length, - public readonly float $width, - public readonly float $height, - public readonly string $unit, + public float $length, + public float $width, + public float $height, + public string $unit, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Error.php b/src/Seller/ShippingV1/Dto/Error.php index f10e5c205..06e47ada6 100644 --- a/src/Seller/ShippingV1/Dto/Error.php +++ b/src/Seller/ShippingV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/ErrorList.php b/src/Seller/ShippingV1/Dto/ErrorList.php index 32d3213ae..fe22c9298 100644 --- a/src/Seller/ShippingV1/Dto/ErrorList.php +++ b/src/Seller/ShippingV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Event.php b/src/Seller/ShippingV1/Dto/Event.php index 2144c0e7f..a00d30338 100644 --- a/src/Seller/ShippingV1/Dto/Event.php +++ b/src/Seller/ShippingV1/Dto/Event.php @@ -20,8 +20,8 @@ final class Event extends Dto * @param ?Location $location The location where the person, business or institution is located. */ public function __construct( - public readonly string $eventCode, - public readonly \DateTimeInterface $eventTime, - public readonly ?Location $location = null, + public string $eventCode, + public \DateTimeInterface $eventTime, + public ?Location $location = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/GetRatesRequest.php b/src/Seller/ShippingV1/Dto/GetRatesRequest.php index a85c6a389..dae032dbb 100644 --- a/src/Seller/ShippingV1/Dto/GetRatesRequest.php +++ b/src/Seller/ShippingV1/Dto/GetRatesRequest.php @@ -24,10 +24,10 @@ final class GetRatesRequest extends Dto * @param ?\DateTimeInterface $shipDate The start date and time. This defaults to the current date and time. */ public function __construct( - public readonly Address $shipTo, - public readonly Address $shipFrom, - public readonly array $serviceTypes, - public readonly array $containerSpecifications, - public readonly ?\DateTimeInterface $shipDate = null, + public Address $shipTo, + public Address $shipFrom, + public array $serviceTypes, + public array $containerSpecifications, + public ?\DateTimeInterface $shipDate = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/GetRatesResult.php b/src/Seller/ShippingV1/Dto/GetRatesResult.php index 0eb455a35..97afa4c52 100644 --- a/src/Seller/ShippingV1/Dto/GetRatesResult.php +++ b/src/Seller/ShippingV1/Dto/GetRatesResult.php @@ -20,6 +20,6 @@ final class GetRatesResult extends Dto * @param ServiceRate[] $serviceRates A list of service rates. */ public function __construct( - public readonly array $serviceRates, + public array $serviceRates, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Label.php b/src/Seller/ShippingV1/Dto/Label.php index 9cbd69e86..9a8fffab7 100644 --- a/src/Seller/ShippingV1/Dto/Label.php +++ b/src/Seller/ShippingV1/Dto/Label.php @@ -19,7 +19,7 @@ final class Label extends Dto * @param ?LabelSpecification $labelSpecification The label specification info. */ public function __construct( - public readonly ?string $labelStream = null, - public readonly ?LabelSpecification $labelSpecification = null, + public ?string $labelStream = null, + public ?LabelSpecification $labelSpecification = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/LabelResult.php b/src/Seller/ShippingV1/Dto/LabelResult.php index 4b5e4db11..1dcb520aa 100644 --- a/src/Seller/ShippingV1/Dto/LabelResult.php +++ b/src/Seller/ShippingV1/Dto/LabelResult.php @@ -20,8 +20,8 @@ final class LabelResult extends Dto * @param ?Label $label The label details of the container. */ public function __construct( - public readonly ?string $containerReferenceId = null, - public readonly ?string $trackingId = null, - public readonly ?Label $label = null, + public ?string $containerReferenceId = null, + public ?string $trackingId = null, + public ?Label $label = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/LabelSpecification.php b/src/Seller/ShippingV1/Dto/LabelSpecification.php index d7517b76f..57075d67b 100644 --- a/src/Seller/ShippingV1/Dto/LabelSpecification.php +++ b/src/Seller/ShippingV1/Dto/LabelSpecification.php @@ -19,7 +19,7 @@ final class LabelSpecification extends Dto * @param string $labelStockSize The label stock size specification in length and height. Enum of 4x6 only for now. */ public function __construct( - public readonly string $labelFormat, - public readonly string $labelStockSize, + public string $labelFormat, + public string $labelStockSize, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Location.php b/src/Seller/ShippingV1/Dto/Location.php index 97545ac46..770ee54e8 100644 --- a/src/Seller/ShippingV1/Dto/Location.php +++ b/src/Seller/ShippingV1/Dto/Location.php @@ -21,9 +21,9 @@ final class Location extends Dto * @param ?string $postalCode The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation. */ public function __construct( - public readonly ?string $stateOrRegion = null, - public readonly ?string $city = null, - public readonly ?string $countryCode = null, - public readonly ?string $postalCode = null, + public ?string $stateOrRegion = null, + public ?string $city = null, + public ?string $countryCode = null, + public ?string $postalCode = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Party.php b/src/Seller/ShippingV1/Dto/Party.php index f23367663..76727e05f 100644 --- a/src/Seller/ShippingV1/Dto/Party.php +++ b/src/Seller/ShippingV1/Dto/Party.php @@ -18,6 +18,6 @@ final class Party extends Dto * @param ?string $accountId This is the Amazon Shipping account id generated during the Amazon Shipping onboarding process. */ public function __construct( - public readonly ?string $accountId = null, + public ?string $accountId = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/PurchaseLabelsRequest.php b/src/Seller/ShippingV1/Dto/PurchaseLabelsRequest.php index 9c53cf1e9..0a90072e8 100644 --- a/src/Seller/ShippingV1/Dto/PurchaseLabelsRequest.php +++ b/src/Seller/ShippingV1/Dto/PurchaseLabelsRequest.php @@ -19,7 +19,7 @@ final class PurchaseLabelsRequest extends Dto * @param LabelSpecification $labelSpecification The label specification info. */ public function __construct( - public readonly string $rateId, - public readonly LabelSpecification $labelSpecification, + public string $rateId, + public LabelSpecification $labelSpecification, ) {} } diff --git a/src/Seller/ShippingV1/Dto/PurchaseLabelsResult.php b/src/Seller/ShippingV1/Dto/PurchaseLabelsResult.php index a9cf85f77..e01d51b4f 100644 --- a/src/Seller/ShippingV1/Dto/PurchaseLabelsResult.php +++ b/src/Seller/ShippingV1/Dto/PurchaseLabelsResult.php @@ -23,9 +23,9 @@ final class PurchaseLabelsResult extends Dto * @param ?string $clientReferenceId Client reference id. */ public function __construct( - public readonly string $shipmentId, - public readonly AcceptedRate $acceptedRate, - public readonly array $labelResults, - public readonly ?string $clientReferenceId = null, + public string $shipmentId, + public AcceptedRate $acceptedRate, + public array $labelResults, + public ?string $clientReferenceId = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/PurchaseShipmentRequest.php b/src/Seller/ShippingV1/Dto/PurchaseShipmentRequest.php index 0e56b3d18..c5a325c5e 100644 --- a/src/Seller/ShippingV1/Dto/PurchaseShipmentRequest.php +++ b/src/Seller/ShippingV1/Dto/PurchaseShipmentRequest.php @@ -26,12 +26,12 @@ final class PurchaseShipmentRequest extends Dto * @param ?\DateTimeInterface $shipDate The start date and time. This defaults to the current date and time. */ public function __construct( - public readonly string $clientReferenceId, - public readonly Address $shipTo, - public readonly Address $shipFrom, - public readonly string $serviceType, - public readonly array $containers, - public readonly LabelSpecification $labelSpecification, - public readonly ?\DateTimeInterface $shipDate = null, + public string $clientReferenceId, + public Address $shipTo, + public Address $shipFrom, + public string $serviceType, + public array $containers, + public LabelSpecification $labelSpecification, + public ?\DateTimeInterface $shipDate = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/PurchaseShipmentResult.php b/src/Seller/ShippingV1/Dto/PurchaseShipmentResult.php index 7774be009..55eb96292 100644 --- a/src/Seller/ShippingV1/Dto/PurchaseShipmentResult.php +++ b/src/Seller/ShippingV1/Dto/PurchaseShipmentResult.php @@ -22,8 +22,8 @@ final class PurchaseShipmentResult extends Dto * @param LabelResult[] $labelResults A list of label results */ public function __construct( - public readonly string $shipmentId, - public readonly ServiceRate $serviceRate, - public readonly array $labelResults, + public string $shipmentId, + public ServiceRate $serviceRate, + public array $labelResults, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Rate.php b/src/Seller/ShippingV1/Dto/Rate.php index d05e502c1..70f7a0b7d 100644 --- a/src/Seller/ShippingV1/Dto/Rate.php +++ b/src/Seller/ShippingV1/Dto/Rate.php @@ -23,11 +23,11 @@ final class Rate extends Dto * @param ?ShippingPromiseSet $promise The promised delivery time and pickup time. */ public function __construct( - public readonly ?string $rateId = null, - public readonly ?Currency $totalCharge = null, - public readonly ?Weight $billedWeight = null, - public readonly ?\DateTimeInterface $expirationTime = null, - public readonly ?string $serviceType = null, - public readonly ?ShippingPromiseSet $promise = null, + public ?string $rateId = null, + public ?Currency $totalCharge = null, + public ?Weight $billedWeight = null, + public ?\DateTimeInterface $expirationTime = null, + public ?string $serviceType = null, + public ?ShippingPromiseSet $promise = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/RetrieveShippingLabelRequest.php b/src/Seller/ShippingV1/Dto/RetrieveShippingLabelRequest.php index 75224973c..def69e1eb 100644 --- a/src/Seller/ShippingV1/Dto/RetrieveShippingLabelRequest.php +++ b/src/Seller/ShippingV1/Dto/RetrieveShippingLabelRequest.php @@ -18,6 +18,6 @@ final class RetrieveShippingLabelRequest extends Dto * @param LabelSpecification $labelSpecification The label specification info. */ public function __construct( - public readonly LabelSpecification $labelSpecification, + public LabelSpecification $labelSpecification, ) {} } diff --git a/src/Seller/ShippingV1/Dto/RetrieveShippingLabelResult.php b/src/Seller/ShippingV1/Dto/RetrieveShippingLabelResult.php index 378acfad4..a2053aec4 100644 --- a/src/Seller/ShippingV1/Dto/RetrieveShippingLabelResult.php +++ b/src/Seller/ShippingV1/Dto/RetrieveShippingLabelResult.php @@ -19,7 +19,7 @@ final class RetrieveShippingLabelResult extends Dto * @param LabelSpecification $labelSpecification The label specification info. */ public function __construct( - public readonly string $labelStream, - public readonly LabelSpecification $labelSpecification, + public string $labelStream, + public LabelSpecification $labelSpecification, ) {} } diff --git a/src/Seller/ShippingV1/Dto/ServiceRate.php b/src/Seller/ShippingV1/Dto/ServiceRate.php index 01be8e98f..11959753d 100644 --- a/src/Seller/ShippingV1/Dto/ServiceRate.php +++ b/src/Seller/ShippingV1/Dto/ServiceRate.php @@ -21,9 +21,9 @@ final class ServiceRate extends Dto * @param ShippingPromiseSet $promise The promised delivery time and pickup time. */ public function __construct( - public readonly Currency $totalCharge, - public readonly Weight $billableWeight, - public readonly string $serviceType, - public readonly ShippingPromiseSet $promise, + public Currency $totalCharge, + public Weight $billableWeight, + public string $serviceType, + public ShippingPromiseSet $promise, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Shipment.php b/src/Seller/ShippingV1/Dto/Shipment.php index e6ccd173f..16a9bdff8 100644 --- a/src/Seller/ShippingV1/Dto/Shipment.php +++ b/src/Seller/ShippingV1/Dto/Shipment.php @@ -26,12 +26,12 @@ final class Shipment extends Dto * @param ?Party $shipper The account related with the shipment. */ public function __construct( - public readonly string $shipmentId, - public readonly string $clientReferenceId, - public readonly Address $shipFrom, - public readonly Address $shipTo, - public readonly array $containers, - public readonly ?AcceptedRate $acceptedRate = null, - public readonly ?Party $shipper = null, + public string $shipmentId, + public string $clientReferenceId, + public Address $shipFrom, + public Address $shipTo, + public array $containers, + public ?AcceptedRate $acceptedRate = null, + public ?Party $shipper = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/ShippingPromiseSet.php b/src/Seller/ShippingV1/Dto/ShippingPromiseSet.php index 0f8ae6684..75653778a 100644 --- a/src/Seller/ShippingV1/Dto/ShippingPromiseSet.php +++ b/src/Seller/ShippingV1/Dto/ShippingPromiseSet.php @@ -19,7 +19,7 @@ final class ShippingPromiseSet extends Dto * @param ?TimeRange $receiveWindow The time range. */ public function __construct( - public readonly ?TimeRange $deliveryWindow = null, - public readonly ?TimeRange $receiveWindow = null, + public ?TimeRange $deliveryWindow = null, + public ?TimeRange $receiveWindow = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/TimeRange.php b/src/Seller/ShippingV1/Dto/TimeRange.php index 9aa321564..648c3178c 100644 --- a/src/Seller/ShippingV1/Dto/TimeRange.php +++ b/src/Seller/ShippingV1/Dto/TimeRange.php @@ -19,7 +19,7 @@ final class TimeRange extends Dto * @param ?\DateTimeInterface $end The end date and time. This must come after the value of start. This defaults to the next business day from the start. */ public function __construct( - public readonly ?\DateTimeInterface $start = null, - public readonly ?\DateTimeInterface $end = null, + public ?\DateTimeInterface $start = null, + public ?\DateTimeInterface $end = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/TrackingInformation.php b/src/Seller/ShippingV1/Dto/TrackingInformation.php index fdf607792..3a044be87 100644 --- a/src/Seller/ShippingV1/Dto/TrackingInformation.php +++ b/src/Seller/ShippingV1/Dto/TrackingInformation.php @@ -23,9 +23,9 @@ final class TrackingInformation extends Dto * @param Event[] $eventHistory A list of events of a shipment. */ public function __construct( - public readonly string $trackingId, - public readonly TrackingSummary $summary, - public readonly \DateTimeInterface $promisedDeliveryDate, - public readonly array $eventHistory, + public string $trackingId, + public TrackingSummary $summary, + public \DateTimeInterface $promisedDeliveryDate, + public array $eventHistory, ) {} } diff --git a/src/Seller/ShippingV1/Dto/TrackingSummary.php b/src/Seller/ShippingV1/Dto/TrackingSummary.php index 98a446095..00d5d55ef 100644 --- a/src/Seller/ShippingV1/Dto/TrackingSummary.php +++ b/src/Seller/ShippingV1/Dto/TrackingSummary.php @@ -18,6 +18,6 @@ final class TrackingSummary extends Dto * @param ?string $status The derived status based on the events in the eventHistory. */ public function __construct( - public readonly ?string $status = null, + public ?string $status = null, ) {} } diff --git a/src/Seller/ShippingV1/Dto/Weight.php b/src/Seller/ShippingV1/Dto/Weight.php index 9d8248051..cbad0aae9 100644 --- a/src/Seller/ShippingV1/Dto/Weight.php +++ b/src/Seller/ShippingV1/Dto/Weight.php @@ -19,7 +19,7 @@ final class Weight extends Dto * @param float $value The measurement value. */ public function __construct( - public readonly string $unit, - public readonly float $value, + public string $unit, + public float $value, ) {} } diff --git a/src/Seller/ShippingV2/Dto/AccessPoint.php b/src/Seller/ShippingV2/Dto/AccessPoint.php index 30bf8b6f6..6684d7f13 100644 --- a/src/Seller/ShippingV2/Dto/AccessPoint.php +++ b/src/Seller/ShippingV2/Dto/AccessPoint.php @@ -31,15 +31,15 @@ final class AccessPoint extends Dto * @param ?OperatingHours[] $standardOperatingHours Map of day of the week to operating hours of that day */ public function __construct( - public readonly ?string $accessPointId = null, - public readonly ?string $name = null, - public readonly ?string $timezone = null, - public readonly ?string $type = null, - public readonly ?AccessibilityAttributes $accessibilityAttributes = null, - public readonly ?Address $address = null, - public readonly ?array $exceptionOperatingHours = null, - public readonly ?string $assistanceType = null, - public readonly ?string $score = null, - public readonly ?array $standardOperatingHours = null, + public ?string $accessPointId = null, + public ?string $name = null, + public ?string $timezone = null, + public ?string $type = null, + public ?AccessibilityAttributes $accessibilityAttributes = null, + public ?Address $address = null, + public ?array $exceptionOperatingHours = null, + public ?string $assistanceType = null, + public ?string $score = null, + public ?array $standardOperatingHours = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/AccessPointDetails.php b/src/Seller/ShippingV2/Dto/AccessPointDetails.php index 9924f7285..db01fd561 100644 --- a/src/Seller/ShippingV2/Dto/AccessPointDetails.php +++ b/src/Seller/ShippingV2/Dto/AccessPointDetails.php @@ -18,6 +18,6 @@ final class AccessPointDetails extends Dto * @param ?string $accessPointId Unique identifier for the access point */ public function __construct( - public readonly ?string $accessPointId = null, + public ?string $accessPointId = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/AccessibilityAttributes.php b/src/Seller/ShippingV2/Dto/AccessibilityAttributes.php index d997eece5..75ade9f8d 100644 --- a/src/Seller/ShippingV2/Dto/AccessibilityAttributes.php +++ b/src/Seller/ShippingV2/Dto/AccessibilityAttributes.php @@ -19,7 +19,7 @@ final class AccessibilityAttributes extends Dto * @param ?int $driveTime The approximate (static) drive time from input postal code's centroid. */ public function __construct( - public readonly ?string $distance = null, - public readonly ?int $driveTime = null, + public ?string $distance = null, + public ?int $driveTime = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Address.php b/src/Seller/ShippingV2/Dto/Address.php index 114dd8f6c..0ca94cdf1 100644 --- a/src/Seller/ShippingV2/Dto/Address.php +++ b/src/Seller/ShippingV2/Dto/Address.php @@ -29,17 +29,17 @@ final class Address extends Dto * @param ?Geocode $geocode Defines the latitude and longitude of the access point. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $city, - public readonly string $countryCode, - public readonly string $postalCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $companyName = null, - public readonly ?string $stateOrRegion = null, - public readonly ?string $email = null, - public readonly ?string $phoneNumber = null, - public readonly ?Geocode $geocode = null, + public string $name, + public string $addressLine1, + public string $city, + public string $countryCode, + public string $postalCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $companyName = null, + public ?string $stateOrRegion = null, + public ?string $email = null, + public ?string $phoneNumber = null, + public ?Geocode $geocode = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/AmazonOrderDetails.php b/src/Seller/ShippingV2/Dto/AmazonOrderDetails.php index 2c11bcf2c..f6d890af7 100644 --- a/src/Seller/ShippingV2/Dto/AmazonOrderDetails.php +++ b/src/Seller/ShippingV2/Dto/AmazonOrderDetails.php @@ -18,6 +18,6 @@ final class AmazonOrderDetails extends Dto * @param string $orderId The Amazon order ID associated with the Amazon order fulfilled by this shipment. */ public function __construct( - public readonly string $orderId, + public string $orderId, ) {} } diff --git a/src/Seller/ShippingV2/Dto/AmazonShipmentDetails.php b/src/Seller/ShippingV2/Dto/AmazonShipmentDetails.php index b4574d086..80ec0e4bc 100644 --- a/src/Seller/ShippingV2/Dto/AmazonShipmentDetails.php +++ b/src/Seller/ShippingV2/Dto/AmazonShipmentDetails.php @@ -18,6 +18,6 @@ final class AmazonShipmentDetails extends Dto * @param string $shipmentId This attribute is required only for a Direct Fulfillment shipment. This is the encrypted shipment ID. */ public function __construct( - public readonly string $shipmentId, + public string $shipmentId, ) {} } diff --git a/src/Seller/ShippingV2/Dto/AvailableValueAddedServiceGroup.php b/src/Seller/ShippingV2/Dto/AvailableValueAddedServiceGroup.php index 72a2ffb53..c89682234 100644 --- a/src/Seller/ShippingV2/Dto/AvailableValueAddedServiceGroup.php +++ b/src/Seller/ShippingV2/Dto/AvailableValueAddedServiceGroup.php @@ -23,9 +23,9 @@ final class AvailableValueAddedServiceGroup extends Dto * @param ValueAddedService[]|null $valueAddedServices A list of optional value-added services available for purchase with a shipping service offering. */ public function __construct( - public readonly string $groupId, - public readonly string $groupDescription, - public readonly bool $isRequired, - public readonly ?array $valueAddedServices = null, + public string $groupId, + public string $groupDescription, + public bool $isRequired, + public ?array $valueAddedServices = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Benefits.php b/src/Seller/ShippingV2/Dto/Benefits.php index 45c1f62b2..fa12335c0 100644 --- a/src/Seller/ShippingV2/Dto/Benefits.php +++ b/src/Seller/ShippingV2/Dto/Benefits.php @@ -21,7 +21,7 @@ final class Benefits extends Dto * @param ExcludedBenefit[] $excludedBenefits A list of excluded benefit. Refer to the ExcludeBenefit object for further documentation */ public function __construct( - public readonly array $includedBenefits, - public readonly array $excludedBenefits, + public array $includedBenefits, + public array $excludedBenefits, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Carrier.php b/src/Seller/ShippingV2/Dto/Carrier.php index 31b28b18e..03c828985 100644 --- a/src/Seller/ShippingV2/Dto/Carrier.php +++ b/src/Seller/ShippingV2/Dto/Carrier.php @@ -19,7 +19,7 @@ final class Carrier extends Dto * @param string $name The carrier name for the offering. */ public function __construct( - public readonly string $id, - public readonly string $name, + public string $id, + public string $name, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ChannelDetails.php b/src/Seller/ShippingV2/Dto/ChannelDetails.php index ddadbe7b9..15104713d 100644 --- a/src/Seller/ShippingV2/Dto/ChannelDetails.php +++ b/src/Seller/ShippingV2/Dto/ChannelDetails.php @@ -20,8 +20,8 @@ final class ChannelDetails extends Dto * @param ?AmazonShipmentDetails $amazonShipmentDetails Amazon shipment information. */ public function __construct( - public readonly string $channelType, - public readonly ?AmazonOrderDetails $amazonOrderDetails = null, - public readonly ?AmazonShipmentDetails $amazonShipmentDetails = null, + public string $channelType, + public ?AmazonOrderDetails $amazonOrderDetails = null, + public ?AmazonShipmentDetails $amazonShipmentDetails = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ChargeComponent.php b/src/Seller/ShippingV2/Dto/ChargeComponent.php index f22decac6..74d5036a4 100644 --- a/src/Seller/ShippingV2/Dto/ChargeComponent.php +++ b/src/Seller/ShippingV2/Dto/ChargeComponent.php @@ -19,7 +19,7 @@ final class ChargeComponent extends Dto * @param ?string $chargeType The type of charge. */ public function __construct( - public readonly ?Currency $amount = null, - public readonly ?string $chargeType = null, + public ?Currency $amount = null, + public ?string $chargeType = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ClientReferenceDetail.php b/src/Seller/ShippingV2/Dto/ClientReferenceDetail.php index 1c1504a4a..2088be402 100644 --- a/src/Seller/ShippingV2/Dto/ClientReferenceDetail.php +++ b/src/Seller/ShippingV2/Dto/ClientReferenceDetail.php @@ -19,7 +19,7 @@ final class ClientReferenceDetail extends Dto * @param string $clientReferenceId The Client Reference Id. */ public function __construct( - public readonly string $clientReferenceType, - public readonly string $clientReferenceId, + public string $clientReferenceType, + public string $clientReferenceId, ) {} } diff --git a/src/Seller/ShippingV2/Dto/CollectOnDelivery.php b/src/Seller/ShippingV2/Dto/CollectOnDelivery.php index ff001026d..e2e736cb8 100644 --- a/src/Seller/ShippingV2/Dto/CollectOnDelivery.php +++ b/src/Seller/ShippingV2/Dto/CollectOnDelivery.php @@ -18,6 +18,6 @@ final class CollectOnDelivery extends Dto * @param Currency $amount The monetary value in the currency indicated, in ISO 4217 standard format. */ public function __construct( - public readonly Currency $amount, + public Currency $amount, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Currency.php b/src/Seller/ShippingV2/Dto/Currency.php index 24de365df..dd55aae94 100644 --- a/src/Seller/ShippingV2/Dto/Currency.php +++ b/src/Seller/ShippingV2/Dto/Currency.php @@ -19,7 +19,7 @@ final class Currency extends Dto * @param string $unit The ISO 4217 format 3-character currency code. */ public function __construct( - public readonly float $value, - public readonly string $unit, + public float $value, + public string $unit, ) {} } diff --git a/src/Seller/ShippingV2/Dto/DangerousGoodsDetails.php b/src/Seller/ShippingV2/Dto/DangerousGoodsDetails.php index 44fe07424..32170dcad 100644 --- a/src/Seller/ShippingV2/Dto/DangerousGoodsDetails.php +++ b/src/Seller/ShippingV2/Dto/DangerousGoodsDetails.php @@ -21,9 +21,9 @@ final class DangerousGoodsDetails extends Dto * @param ?string $packingInstruction The specific packing instruction of the item being shipped. */ public function __construct( - public readonly ?string $unitedNationsRegulatoryId = null, - public readonly ?string $transportationRegulatoryClass = null, - public readonly ?string $packingGroup = null, - public readonly ?string $packingInstruction = null, + public ?string $unitedNationsRegulatoryId = null, + public ?string $transportationRegulatoryClass = null, + public ?string $packingGroup = null, + public ?string $packingInstruction = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/DateRange.php b/src/Seller/ShippingV2/Dto/DateRange.php index 4be64324f..28288eb65 100644 --- a/src/Seller/ShippingV2/Dto/DateRange.php +++ b/src/Seller/ShippingV2/Dto/DateRange.php @@ -19,7 +19,7 @@ final class DateRange extends Dto * @param ?string $endDate end date for query. */ public function __construct( - public readonly ?string $startDate = null, - public readonly ?string $endDate = null, + public ?string $startDate = null, + public ?string $endDate = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Dimensions.php b/src/Seller/ShippingV2/Dto/Dimensions.php index 68cb1b556..f1f399157 100644 --- a/src/Seller/ShippingV2/Dto/Dimensions.php +++ b/src/Seller/ShippingV2/Dto/Dimensions.php @@ -21,9 +21,9 @@ final class Dimensions extends Dto * @param string $unit The unit of measurement. */ public function __construct( - public readonly float $length, - public readonly float $width, - public readonly float $height, - public readonly string $unit, + public float $length, + public float $width, + public float $height, + public string $unit, ) {} } diff --git a/src/Seller/ShippingV2/Dto/DirectFulfillmentItemIdentifiers.php b/src/Seller/ShippingV2/Dto/DirectFulfillmentItemIdentifiers.php index 77bdcc1e7..d98b48b83 100644 --- a/src/Seller/ShippingV2/Dto/DirectFulfillmentItemIdentifiers.php +++ b/src/Seller/ShippingV2/Dto/DirectFulfillmentItemIdentifiers.php @@ -21,7 +21,7 @@ final class DirectFulfillmentItemIdentifiers extends Dto * @param ?string $pieceNumber A unique identifier for an item provided by the client for a direct fulfillment shipment. This is only populated if a single line item has multiple pieces. Defaults to 1. */ public function __construct( - public readonly string $lineItemId, - public readonly ?string $pieceNumber = null, + public string $lineItemId, + public ?string $pieceNumber = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/DocumentSize.php b/src/Seller/ShippingV2/Dto/DocumentSize.php index 8ca26167b..23f1b8877 100644 --- a/src/Seller/ShippingV2/Dto/DocumentSize.php +++ b/src/Seller/ShippingV2/Dto/DocumentSize.php @@ -20,8 +20,8 @@ final class DocumentSize extends Dto * @param string $unit The unit of measurement. */ public function __construct( - public readonly float $width, - public readonly float $length, - public readonly string $unit, + public float $width, + public float $length, + public string $unit, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Error.php b/src/Seller/ShippingV2/Dto/Error.php index 769223633..b47ecedda 100644 --- a/src/Seller/ShippingV2/Dto/Error.php +++ b/src/Seller/ShippingV2/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Event.php b/src/Seller/ShippingV2/Dto/Event.php index 3e25a7ff0..2d731b5ab 100644 --- a/src/Seller/ShippingV2/Dto/Event.php +++ b/src/Seller/ShippingV2/Dto/Event.php @@ -21,9 +21,9 @@ final class Event extends Dto * @param ?string $shipmentType Shipment type. */ public function __construct( - public readonly string $eventCode, - public readonly \DateTimeInterface $eventTime, - public readonly ?Location $location = null, - public readonly ?string $shipmentType = null, + public string $eventCode, + public \DateTimeInterface $eventTime, + public ?Location $location = null, + public ?string $shipmentType = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ExceptionOperatingHours.php b/src/Seller/ShippingV2/Dto/ExceptionOperatingHours.php index 2ba7ec7bd..63278dc26 100644 --- a/src/Seller/ShippingV2/Dto/ExceptionOperatingHours.php +++ b/src/Seller/ShippingV2/Dto/ExceptionOperatingHours.php @@ -19,7 +19,7 @@ final class ExceptionOperatingHours extends Dto * @param ?OperatingHours $operatingHours The hours in which the access point shall remain operational */ public function __construct( - public readonly ?DateRange $dateRange = null, - public readonly ?OperatingHours $operatingHours = null, + public ?DateRange $dateRange = null, + public ?OperatingHours $operatingHours = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ExcludedBenefit.php b/src/Seller/ShippingV2/Dto/ExcludedBenefit.php index 84a31d9f9..f8774f4db 100644 --- a/src/Seller/ShippingV2/Dto/ExcludedBenefit.php +++ b/src/Seller/ShippingV2/Dto/ExcludedBenefit.php @@ -18,7 +18,7 @@ final class ExcludedBenefit extends Dto * @param string[] $reasonCodes List of reasons (eg. LATE_DELIVERY_RISK, etc.) indicating why a benefit is excluded for a shipping offer. */ public function __construct( - public readonly string $benefit, - public readonly array $reasonCodes, + public string $benefit, + public array $reasonCodes, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Geocode.php b/src/Seller/ShippingV2/Dto/Geocode.php index 6966dbcd3..30c05441f 100644 --- a/src/Seller/ShippingV2/Dto/Geocode.php +++ b/src/Seller/ShippingV2/Dto/Geocode.php @@ -19,7 +19,7 @@ final class Geocode extends Dto * @param ?string $longitude The longitude of access point. */ public function __construct( - public readonly ?string $latitude = null, - public readonly ?string $longitude = null, + public ?string $latitude = null, + public ?string $longitude = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/GetAccessPointsResult.php b/src/Seller/ShippingV2/Dto/GetAccessPointsResult.php index 42f7aa201..02c907264 100644 --- a/src/Seller/ShippingV2/Dto/GetAccessPointsResult.php +++ b/src/Seller/ShippingV2/Dto/GetAccessPointsResult.php @@ -18,6 +18,6 @@ final class GetAccessPointsResult extends Dto * @param array[] $accessPointsMap Map of type of access point to list of access points */ public function __construct( - public readonly array $accessPointsMap, + public array $accessPointsMap, ) {} } diff --git a/src/Seller/ShippingV2/Dto/GetRatesRequest.php b/src/Seller/ShippingV2/Dto/GetRatesRequest.php index 96ee7fa5a..2a550b3b8 100644 --- a/src/Seller/ShippingV2/Dto/GetRatesRequest.php +++ b/src/Seller/ShippingV2/Dto/GetRatesRequest.php @@ -34,17 +34,17 @@ final class GetRatesRequest extends Dto * @param ?string $shipmentType Shipment type. */ public function __construct( - public readonly Address $shipFrom, - public readonly array $packages, - public readonly ChannelDetails $channelDetails, - public readonly ?Address $shipTo = null, - public readonly ?Address $returnTo = null, - public readonly ?\DateTimeInterface $shipDate = null, - public readonly ?ShipperInstruction $shipperInstruction = null, - public readonly ?ValueAddedServiceDetails $valueAddedServices = null, - public readonly ?array $taxDetails = null, - public readonly ?array $clientReferenceDetails = null, - public readonly ?string $shipmentType = null, - public readonly ?AccessPointDetails $destinationAccessPointDetails = null, + public Address $shipFrom, + public array $packages, + public ChannelDetails $channelDetails, + public ?Address $shipTo = null, + public ?Address $returnTo = null, + public ?\DateTimeInterface $shipDate = null, + public ?ShipperInstruction $shipperInstruction = null, + public ?ValueAddedServiceDetails $valueAddedServices = null, + public ?array $taxDetails = null, + public ?array $clientReferenceDetails = null, + public ?string $shipmentType = null, + public ?AccessPointDetails $destinationAccessPointDetails = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/GetRatesResult.php b/src/Seller/ShippingV2/Dto/GetRatesResult.php index 540c37e28..fe5f15232 100644 --- a/src/Seller/ShippingV2/Dto/GetRatesResult.php +++ b/src/Seller/ShippingV2/Dto/GetRatesResult.php @@ -22,8 +22,8 @@ final class GetRatesResult extends Dto * @param IneligibleRate[]|null $ineligibleRates A list of ineligible shipping service offerings. */ public function __construct( - public readonly string $requestToken, - public readonly array $rates, - public readonly ?array $ineligibleRates = null, + public string $requestToken, + public array $rates, + public ?array $ineligibleRates = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/GetShipmentDocumentsResult.php b/src/Seller/ShippingV2/Dto/GetShipmentDocumentsResult.php index 4590d7b94..065e05a06 100644 --- a/src/Seller/ShippingV2/Dto/GetShipmentDocumentsResult.php +++ b/src/Seller/ShippingV2/Dto/GetShipmentDocumentsResult.php @@ -20,8 +20,8 @@ final class GetShipmentDocumentsResult extends Dto * @param ?Benefits $benefits Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (eg. CLAIMS_PROTECTED, etc.) when sellers purchase shipping through Amazon. Benefit details will be made available for any shipment placed on or after January 1st 2024 00:00 UTC. */ public function __construct( - public readonly string $shipmentId, - public readonly PackageDocumentDetail $packageDocumentDetail, - public readonly ?Benefits $benefits = null, + public string $shipmentId, + public PackageDocumentDetail $packageDocumentDetail, + public ?Benefits $benefits = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/GetTrackingResult.php b/src/Seller/ShippingV2/Dto/GetTrackingResult.php index 991ac91c1..c41fba912 100644 --- a/src/Seller/ShippingV2/Dto/GetTrackingResult.php +++ b/src/Seller/ShippingV2/Dto/GetTrackingResult.php @@ -24,10 +24,10 @@ final class GetTrackingResult extends Dto * @param TrackingSummary $summary A package status summary. */ public function __construct( - public readonly string $trackingId, - public readonly string $alternateLegTrackingId, - public readonly array $eventHistory, - public readonly \DateTimeInterface $promisedDeliveryDate, - public readonly TrackingSummary $summary, + public string $trackingId, + public string $alternateLegTrackingId, + public array $eventHistory, + public \DateTimeInterface $promisedDeliveryDate, + public TrackingSummary $summary, ) {} } diff --git a/src/Seller/ShippingV2/Dto/IneligibilityReason.php b/src/Seller/ShippingV2/Dto/IneligibilityReason.php index 6d09adfab..f4928ea0c 100644 --- a/src/Seller/ShippingV2/Dto/IneligibilityReason.php +++ b/src/Seller/ShippingV2/Dto/IneligibilityReason.php @@ -19,7 +19,7 @@ final class IneligibilityReason extends Dto * @param string $message The ineligibility reason. */ public function __construct( - public readonly string $code, - public readonly string $message, + public string $code, + public string $message, ) {} } diff --git a/src/Seller/ShippingV2/Dto/IneligibleRate.php b/src/Seller/ShippingV2/Dto/IneligibleRate.php index 2ced9cd43..fa23bbf60 100644 --- a/src/Seller/ShippingV2/Dto/IneligibleRate.php +++ b/src/Seller/ShippingV2/Dto/IneligibleRate.php @@ -24,10 +24,10 @@ final class IneligibleRate extends Dto * @param IneligibilityReason[] $ineligibilityReasons A list of reasons why a shipping service offering is ineligible. */ public function __construct( - public readonly string $serviceId, - public readonly string $serviceName, - public readonly string $carrierName, - public readonly string $carrierId, - public readonly array $ineligibilityReasons, + public string $serviceId, + public string $serviceName, + public string $carrierName, + public string $carrierId, + public array $ineligibilityReasons, ) {} } diff --git a/src/Seller/ShippingV2/Dto/InvoiceDetails.php b/src/Seller/ShippingV2/Dto/InvoiceDetails.php index e1ce6d884..7f610aef9 100644 --- a/src/Seller/ShippingV2/Dto/InvoiceDetails.php +++ b/src/Seller/ShippingV2/Dto/InvoiceDetails.php @@ -19,7 +19,7 @@ final class InvoiceDetails extends Dto * @param ?\DateTimeInterface $invoiceDate The invoice date of the item in ISO 8061 format. */ public function __construct( - public readonly ?string $invoiceNumber = null, - public readonly ?\DateTimeInterface $invoiceDate = null, + public ?string $invoiceNumber = null, + public ?\DateTimeInterface $invoiceDate = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Item.php b/src/Seller/ShippingV2/Dto/Item.php index 51a705a13..3a83aadc9 100644 --- a/src/Seller/ShippingV2/Dto/Item.php +++ b/src/Seller/ShippingV2/Dto/Item.php @@ -29,17 +29,17 @@ final class Item extends Dto * @param ?DirectFulfillmentItemIdentifiers $directFulfillmentItemIdentifiers Item identifiers for an item in a direct fulfillment shipment. */ public function __construct( - public readonly int $quantity, - public readonly ?Currency $itemValue = null, - public readonly ?string $description = null, - public readonly ?string $itemIdentifier = null, - public readonly ?Weight $weight = null, - public readonly ?LiquidVolume $liquidVolume = null, - public readonly ?bool $isHazmat = null, - public readonly ?DangerousGoodsDetails $dangerousGoodsDetails = null, - public readonly ?string $productType = null, - public readonly ?InvoiceDetails $invoiceDetails = null, - public readonly ?array $serialNumbers = null, - public readonly ?DirectFulfillmentItemIdentifiers $directFulfillmentItemIdentifiers = null, + public int $quantity, + public ?Currency $itemValue = null, + public ?string $description = null, + public ?string $itemIdentifier = null, + public ?Weight $weight = null, + public ?LiquidVolume $liquidVolume = null, + public ?bool $isHazmat = null, + public ?DangerousGoodsDetails $dangerousGoodsDetails = null, + public ?string $productType = null, + public ?InvoiceDetails $invoiceDetails = null, + public ?array $serialNumbers = null, + public ?DirectFulfillmentItemIdentifiers $directFulfillmentItemIdentifiers = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/LiquidVolume.php b/src/Seller/ShippingV2/Dto/LiquidVolume.php index d0a020929..9cd6ddb0b 100644 --- a/src/Seller/ShippingV2/Dto/LiquidVolume.php +++ b/src/Seller/ShippingV2/Dto/LiquidVolume.php @@ -19,7 +19,7 @@ final class LiquidVolume extends Dto * @param float $value The measurement value. */ public function __construct( - public readonly string $unit, - public readonly float $value, + public string $unit, + public float $value, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Location.php b/src/Seller/ShippingV2/Dto/Location.php index b1ec2f48c..40d300b09 100644 --- a/src/Seller/ShippingV2/Dto/Location.php +++ b/src/Seller/ShippingV2/Dto/Location.php @@ -21,9 +21,9 @@ final class Location extends Dto * @param ?string $postalCode The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation. */ public function __construct( - public readonly ?string $stateOrRegion = null, - public readonly ?string $city = null, - public readonly ?string $countryCode = null, - public readonly ?string $postalCode = null, + public ?string $stateOrRegion = null, + public ?string $city = null, + public ?string $countryCode = null, + public ?string $postalCode = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/NdrRequestData.php b/src/Seller/ShippingV2/Dto/NdrRequestData.php index 198982484..5246f4c74 100644 --- a/src/Seller/ShippingV2/Dto/NdrRequestData.php +++ b/src/Seller/ShippingV2/Dto/NdrRequestData.php @@ -19,7 +19,7 @@ final class NdrRequestData extends Dto * @param ?string $additionalAddressNotes Address notes to re-attempt delivery with. */ public function __construct( - public readonly ?\DateTimeInterface $rescheduleDate = null, - public readonly ?string $additionalAddressNotes = null, + public ?\DateTimeInterface $rescheduleDate = null, + public ?string $additionalAddressNotes = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/OneClickShipmentRequest.php b/src/Seller/ShippingV2/Dto/OneClickShipmentRequest.php index 56172706d..4863e8668 100644 --- a/src/Seller/ShippingV2/Dto/OneClickShipmentRequest.php +++ b/src/Seller/ShippingV2/Dto/OneClickShipmentRequest.php @@ -34,17 +34,17 @@ final class OneClickShipmentRequest extends Dto * @param ?ShipperInstruction $shipperInstruction The shipper instruction. */ public function __construct( - public readonly Address $shipFrom, - public readonly array $packages, - public readonly ChannelDetails $channelDetails, - public readonly RequestedDocumentSpecification $labelSpecifications, - public readonly ServiceSelection $serviceSelection, - public readonly ?Address $shipTo = null, - public readonly ?Address $returnTo = null, - public readonly ?\DateTimeInterface $shipDate = null, - public readonly ?array $valueAddedServicesDetails = null, - public readonly ?array $taxDetails = null, - public readonly ?ShipperInstruction $shipperInstruction = null, - public readonly ?AccessPointDetails $destinationAccessPointDetails = null, + public Address $shipFrom, + public array $packages, + public ChannelDetails $channelDetails, + public RequestedDocumentSpecification $labelSpecifications, + public ServiceSelection $serviceSelection, + public ?Address $shipTo = null, + public ?Address $returnTo = null, + public ?\DateTimeInterface $shipDate = null, + public ?array $valueAddedServicesDetails = null, + public ?array $taxDetails = null, + public ?ShipperInstruction $shipperInstruction = null, + public ?AccessPointDetails $destinationAccessPointDetails = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/OneClickShipmentResult.php b/src/Seller/ShippingV2/Dto/OneClickShipmentResult.php index 1ef44a077..637fc5d65 100644 --- a/src/Seller/ShippingV2/Dto/OneClickShipmentResult.php +++ b/src/Seller/ShippingV2/Dto/OneClickShipmentResult.php @@ -25,11 +25,11 @@ final class OneClickShipmentResult extends Dto * @param Currency $totalCharge The monetary value in the currency indicated, in ISO 4217 standard format. */ public function __construct( - public readonly string $shipmentId, - public readonly array $packageDocumentDetails, - public readonly Promise $promise, - public readonly Carrier $carrier, - public readonly Service $service, - public readonly Currency $totalCharge, + public string $shipmentId, + public array $packageDocumentDetails, + public Promise $promise, + public Carrier $carrier, + public Service $service, + public Currency $totalCharge, ) {} } diff --git a/src/Seller/ShippingV2/Dto/OneClickShipmentValueAddedService.php b/src/Seller/ShippingV2/Dto/OneClickShipmentValueAddedService.php index f02847b25..8a560a8f4 100644 --- a/src/Seller/ShippingV2/Dto/OneClickShipmentValueAddedService.php +++ b/src/Seller/ShippingV2/Dto/OneClickShipmentValueAddedService.php @@ -19,7 +19,7 @@ final class OneClickShipmentValueAddedService extends Dto * @param ?Currency $amount The monetary value in the currency indicated, in ISO 4217 standard format. */ public function __construct( - public readonly string $id, - public readonly ?Currency $amount = null, + public string $id, + public ?Currency $amount = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/OperatingHours.php b/src/Seller/ShippingV2/Dto/OperatingHours.php index b1fe44bdf..0c6562d95 100644 --- a/src/Seller/ShippingV2/Dto/OperatingHours.php +++ b/src/Seller/ShippingV2/Dto/OperatingHours.php @@ -22,8 +22,8 @@ final class OperatingHours extends Dto * @param TimeOfDay[]|null $midDayClosures */ public function __construct( - public readonly ?TimeOfDay $closingTime = null, - public readonly ?TimeOfDay $openingTime = null, - public readonly ?array $midDayClosures = null, + public ?TimeOfDay $closingTime = null, + public ?TimeOfDay $openingTime = null, + public ?array $midDayClosures = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Package.php b/src/Seller/ShippingV2/Dto/Package.php index 83512a04c..a1b0f78c1 100644 --- a/src/Seller/ShippingV2/Dto/Package.php +++ b/src/Seller/ShippingV2/Dto/Package.php @@ -27,13 +27,13 @@ final class Package extends Dto * @param ChargeComponent[]|null $charges A list of charges based on the shipping service charges applied on a package. */ public function __construct( - public readonly Dimensions $dimensions, - public readonly Weight $weight, - public readonly Currency $insuredValue, - public readonly string $packageClientReferenceId, - public readonly array $items, - public readonly ?bool $isHazmat = null, - public readonly ?string $sellerDisplayName = null, - public readonly ?array $charges = null, + public Dimensions $dimensions, + public Weight $weight, + public Currency $insuredValue, + public string $packageClientReferenceId, + public array $items, + public ?bool $isHazmat = null, + public ?string $sellerDisplayName = null, + public ?array $charges = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/PackageDocument.php b/src/Seller/ShippingV2/Dto/PackageDocument.php index 16a039991..bfbc02574 100644 --- a/src/Seller/ShippingV2/Dto/PackageDocument.php +++ b/src/Seller/ShippingV2/Dto/PackageDocument.php @@ -20,8 +20,8 @@ final class PackageDocument extends Dto * @param string $contents A Base64 encoded string of the file contents. */ public function __construct( - public readonly string $type, - public readonly string $format, - public readonly string $contents, + public string $type, + public string $format, + public string $contents, ) {} } diff --git a/src/Seller/ShippingV2/Dto/PackageDocumentDetail.php b/src/Seller/ShippingV2/Dto/PackageDocumentDetail.php index 274dc5371..39159aae2 100644 --- a/src/Seller/ShippingV2/Dto/PackageDocumentDetail.php +++ b/src/Seller/ShippingV2/Dto/PackageDocumentDetail.php @@ -22,8 +22,8 @@ final class PackageDocumentDetail extends Dto * @param ?string $trackingId The carrier generated identifier for a package in a purchased shipment. */ public function __construct( - public readonly string $packageClientReferenceId, - public readonly array $packageDocuments, - public readonly ?string $trackingId = null, + public string $packageClientReferenceId, + public array $packageDocuments, + public ?string $trackingId = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/PrintOption.php b/src/Seller/ShippingV2/Dto/PrintOption.php index 0f117aa4c..7d7cf940b 100644 --- a/src/Seller/ShippingV2/Dto/PrintOption.php +++ b/src/Seller/ShippingV2/Dto/PrintOption.php @@ -25,9 +25,9 @@ final class PrintOption extends Dto * @param int[]|null $supportedDpIs A list of the supported DPI options for a document. */ public function __construct( - public readonly array $supportedPageLayouts, - public readonly array $supportedFileJoiningOptions, - public readonly array $supportedDocumentDetails, - public readonly ?array $supportedDpIs = null, + public array $supportedPageLayouts, + public array $supportedFileJoiningOptions, + public array $supportedDocumentDetails, + public ?array $supportedDpIs = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Promise.php b/src/Seller/ShippingV2/Dto/Promise.php index db1386701..4aade19a4 100644 --- a/src/Seller/ShippingV2/Dto/Promise.php +++ b/src/Seller/ShippingV2/Dto/Promise.php @@ -19,7 +19,7 @@ final class Promise extends Dto * @param ?TimeWindow $pickupWindow The start and end time that specifies the time interval of an event. */ public function __construct( - public readonly ?TimeWindow $deliveryWindow = null, - public readonly ?TimeWindow $pickupWindow = null, + public ?TimeWindow $deliveryWindow = null, + public ?TimeWindow $pickupWindow = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/PurchaseShipmentRequest.php b/src/Seller/ShippingV2/Dto/PurchaseShipmentRequest.php index 2558f5dc7..a138b1a81 100644 --- a/src/Seller/ShippingV2/Dto/PurchaseShipmentRequest.php +++ b/src/Seller/ShippingV2/Dto/PurchaseShipmentRequest.php @@ -26,10 +26,10 @@ final class PurchaseShipmentRequest extends Dto * Additional inputs are only required when indicated by the requiresAdditionalInputs property in the response to the getRates operation. */ public function __construct( - public readonly string $requestToken, - public readonly string $rateId, - public readonly RequestedDocumentSpecification $requestedDocumentSpecification, - public readonly ?array $requestedValueAddedServices = null, - public readonly ?array $additionalInputs = null, + public string $requestToken, + public string $rateId, + public RequestedDocumentSpecification $requestedDocumentSpecification, + public ?array $requestedValueAddedServices = null, + public ?array $additionalInputs = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/PurchaseShipmentResult.php b/src/Seller/ShippingV2/Dto/PurchaseShipmentResult.php index f8acaa41c..dcfa8c23d 100644 --- a/src/Seller/ShippingV2/Dto/PurchaseShipmentResult.php +++ b/src/Seller/ShippingV2/Dto/PurchaseShipmentResult.php @@ -23,9 +23,9 @@ final class PurchaseShipmentResult extends Dto * @param ?Benefits $benefits Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (eg. CLAIMS_PROTECTED, etc.) when sellers purchase shipping through Amazon. Benefit details will be made available for any shipment placed on or after January 1st 2024 00:00 UTC. */ public function __construct( - public readonly string $shipmentId, - public readonly array $packageDocumentDetails, - public readonly Promise $promise, - public readonly ?Benefits $benefits = null, + public string $shipmentId, + public array $packageDocumentDetails, + public Promise $promise, + public ?Benefits $benefits = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Rate.php b/src/Seller/ShippingV2/Dto/Rate.php index b10772125..88de3fbe9 100644 --- a/src/Seller/ShippingV2/Dto/Rate.php +++ b/src/Seller/ShippingV2/Dto/Rate.php @@ -37,19 +37,19 @@ final class Rate extends Dto * @param ?Benefits $benefits Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (eg. CLAIMS_PROTECTED, etc.) when sellers purchase shipping through Amazon. Benefit details will be made available for any shipment placed on or after January 1st 2024 00:00 UTC. */ public function __construct( - public readonly string $rateId, - public readonly string $carrierId, - public readonly string $carrierName, - public readonly string $serviceId, - public readonly string $serviceName, - public readonly Currency $totalCharge, - public readonly Promise $promise, - public readonly array $supportedDocumentSpecifications, - public readonly bool $requiresAdditionalInputs, - public readonly ?Weight $billedWeight = null, - public readonly ?array $availableValueAddedServiceGroups = null, - public readonly ?array $rateItemList = null, - public readonly ?string $paymentType = null, - public readonly ?Benefits $benefits = null, + public string $rateId, + public string $carrierId, + public string $carrierName, + public string $serviceId, + public string $serviceName, + public Currency $totalCharge, + public Promise $promise, + public array $supportedDocumentSpecifications, + public bool $requiresAdditionalInputs, + public ?Weight $billedWeight = null, + public ?array $availableValueAddedServiceGroups = null, + public ?array $rateItemList = null, + public ?string $paymentType = null, + public ?Benefits $benefits = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/RateItem.php b/src/Seller/ShippingV2/Dto/RateItem.php index eb63e49a1..f2f313abf 100644 --- a/src/Seller/ShippingV2/Dto/RateItem.php +++ b/src/Seller/ShippingV2/Dto/RateItem.php @@ -23,9 +23,9 @@ final class RateItem extends Dto * @param ?string $rateItemNameLocalization Used for the localization. */ public function __construct( - public readonly ?string $rateItemId = null, - public readonly ?string $rateItemType = null, - public readonly ?Currency $rateItemCharge = null, - public readonly ?string $rateItemNameLocalization = null, + public ?string $rateItemId = null, + public ?string $rateItemType = null, + public ?Currency $rateItemCharge = null, + public ?string $rateItemNameLocalization = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/RequestedDocumentSpecification.php b/src/Seller/ShippingV2/Dto/RequestedDocumentSpecification.php index 50ba4ec5f..1b6d1d011 100644 --- a/src/Seller/ShippingV2/Dto/RequestedDocumentSpecification.php +++ b/src/Seller/ShippingV2/Dto/RequestedDocumentSpecification.php @@ -23,11 +23,11 @@ final class RequestedDocumentSpecification extends Dto * @param ?string $pageLayout Indicates the position of the label on the paper. Should be the same value as returned in getRates response. */ public function __construct( - public readonly string $format, - public readonly DocumentSize $size, - public readonly bool $needFileJoining, - public readonly array $requestedDocumentTypes, - public readonly ?int $dpi = null, - public readonly ?string $pageLayout = null, + public string $format, + public DocumentSize $size, + public bool $needFileJoining, + public array $requestedDocumentTypes, + public ?int $dpi = null, + public ?string $pageLayout = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/RequestedValueAddedService.php b/src/Seller/ShippingV2/Dto/RequestedValueAddedService.php index 729a8c068..a2a04b478 100644 --- a/src/Seller/ShippingV2/Dto/RequestedValueAddedService.php +++ b/src/Seller/ShippingV2/Dto/RequestedValueAddedService.php @@ -18,6 +18,6 @@ final class RequestedValueAddedService extends Dto * @param string $id The identifier of the selected value-added service. Must be among those returned in the response to the getRates operation. */ public function __construct( - public readonly string $id, + public string $id, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Service.php b/src/Seller/ShippingV2/Dto/Service.php index c4e22e34c..7affa0b46 100644 --- a/src/Seller/ShippingV2/Dto/Service.php +++ b/src/Seller/ShippingV2/Dto/Service.php @@ -19,7 +19,7 @@ final class Service extends Dto * @param string $name The name of the shipping service. */ public function __construct( - public readonly string $id, - public readonly string $name, + public string $id, + public string $name, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ServiceSelection.php b/src/Seller/ShippingV2/Dto/ServiceSelection.php index 152bdfcd7..8eea6f0df 100644 --- a/src/Seller/ShippingV2/Dto/ServiceSelection.php +++ b/src/Seller/ShippingV2/Dto/ServiceSelection.php @@ -18,6 +18,6 @@ final class ServiceSelection extends Dto * @param string[] $serviceId A list of ServiceId. */ public function __construct( - public readonly array $serviceId, + public array $serviceId, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ShipperInstruction.php b/src/Seller/ShippingV2/Dto/ShipperInstruction.php index c556f956c..df6ed67cc 100644 --- a/src/Seller/ShippingV2/Dto/ShipperInstruction.php +++ b/src/Seller/ShippingV2/Dto/ShipperInstruction.php @@ -18,6 +18,6 @@ final class ShipperInstruction extends Dto * @param ?string $deliveryNotes The delivery notes for the shipment */ public function __construct( - public readonly ?string $deliveryNotes = null, + public ?string $deliveryNotes = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/SubmitNdrFeedbackRequest.php b/src/Seller/ShippingV2/Dto/SubmitNdrFeedbackRequest.php index 8b1623a44..f9bfd3615 100644 --- a/src/Seller/ShippingV2/Dto/SubmitNdrFeedbackRequest.php +++ b/src/Seller/ShippingV2/Dto/SubmitNdrFeedbackRequest.php @@ -20,8 +20,8 @@ final class SubmitNdrFeedbackRequest extends Dto * @param ?NdrRequestData $ndrRequestData Additional information required for the NDR action that has been filed. If the NDR Action is RESCHEDULE, rescheduleDate is a required field. Otherwise, if the NDR Action is REATTEMPT, additionalAddressNotes is a required field. */ public function __construct( - public readonly string $trackingId, - public readonly string $ndrAction, - public readonly ?NdrRequestData $ndrRequestData = null, + public string $trackingId, + public string $ndrAction, + public ?NdrRequestData $ndrRequestData = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/SupportedDocumentDetail.php b/src/Seller/ShippingV2/Dto/SupportedDocumentDetail.php index ab2aa9225..8856de4fe 100644 --- a/src/Seller/ShippingV2/Dto/SupportedDocumentDetail.php +++ b/src/Seller/ShippingV2/Dto/SupportedDocumentDetail.php @@ -19,7 +19,7 @@ final class SupportedDocumentDetail extends Dto * @param bool $isMandatory When true, the supported document type is required. */ public function __construct( - public readonly string $name, - public readonly bool $isMandatory, + public string $name, + public bool $isMandatory, ) {} } diff --git a/src/Seller/ShippingV2/Dto/SupportedDocumentSpecification.php b/src/Seller/ShippingV2/Dto/SupportedDocumentSpecification.php index 3389e861b..9952bedf2 100644 --- a/src/Seller/ShippingV2/Dto/SupportedDocumentSpecification.php +++ b/src/Seller/ShippingV2/Dto/SupportedDocumentSpecification.php @@ -22,8 +22,8 @@ final class SupportedDocumentSpecification extends Dto * @param PrintOption[] $printOptions A list of the format options for a label. */ public function __construct( - public readonly string $format, - public readonly DocumentSize $size, - public readonly array $printOptions, + public string $format, + public DocumentSize $size, + public array $printOptions, ) {} } diff --git a/src/Seller/ShippingV2/Dto/TaxDetail.php b/src/Seller/ShippingV2/Dto/TaxDetail.php index 8cd01ee10..e7b81ceca 100644 --- a/src/Seller/ShippingV2/Dto/TaxDetail.php +++ b/src/Seller/ShippingV2/Dto/TaxDetail.php @@ -19,7 +19,7 @@ final class TaxDetail extends Dto * @param string $taxRegistrationNumber The shipper's tax registration number associated with the shipment for customs compliance purposes in certain regions. */ public function __construct( - public readonly string $taxType, - public readonly string $taxRegistrationNumber, + public string $taxType, + public string $taxRegistrationNumber, ) {} } diff --git a/src/Seller/ShippingV2/Dto/TimeOfDay.php b/src/Seller/ShippingV2/Dto/TimeOfDay.php index 1390e841a..167a6abb6 100644 --- a/src/Seller/ShippingV2/Dto/TimeOfDay.php +++ b/src/Seller/ShippingV2/Dto/TimeOfDay.php @@ -15,8 +15,8 @@ final class TimeOfDay extends Dto { public function __construct( - public readonly ?int $hourOfDay = null, - public readonly ?int $minuteOfHour = null, - public readonly ?int $secondOfMinute = null, + public ?int $hourOfDay = null, + public ?int $minuteOfHour = null, + public ?int $secondOfMinute = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/TimeWindow.php b/src/Seller/ShippingV2/Dto/TimeWindow.php index a8dcf25dc..510d2857d 100644 --- a/src/Seller/ShippingV2/Dto/TimeWindow.php +++ b/src/Seller/ShippingV2/Dto/TimeWindow.php @@ -19,7 +19,7 @@ final class TimeWindow extends Dto * @param ?\DateTimeInterface $end The end time of the time window. */ public function __construct( - public readonly ?\DateTimeInterface $start = null, - public readonly ?\DateTimeInterface $end = null, + public ?\DateTimeInterface $start = null, + public ?\DateTimeInterface $end = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/TrackingDetailCodes.php b/src/Seller/ShippingV2/Dto/TrackingDetailCodes.php index 3e1c6c39a..394cecba9 100644 --- a/src/Seller/ShippingV2/Dto/TrackingDetailCodes.php +++ b/src/Seller/ShippingV2/Dto/TrackingDetailCodes.php @@ -19,7 +19,7 @@ final class TrackingDetailCodes extends Dto * @param string[] $returns Contains detail codes that provide additional details related to the return leg of the shipment. */ public function __construct( - public readonly array $forward, - public readonly array $returns, + public array $forward, + public array $returns, ) {} } diff --git a/src/Seller/ShippingV2/Dto/TrackingSummary.php b/src/Seller/ShippingV2/Dto/TrackingSummary.php index 2a68b41e5..33ef18857 100644 --- a/src/Seller/ShippingV2/Dto/TrackingSummary.php +++ b/src/Seller/ShippingV2/Dto/TrackingSummary.php @@ -19,7 +19,7 @@ final class TrackingSummary extends Dto * @param ?TrackingDetailCodes $trackingDetailCodes Contains detail codes that provide additional details related to the forward and return leg of the shipment. */ public function __construct( - public readonly ?string $status = null, - public readonly ?TrackingDetailCodes $trackingDetailCodes = null, + public ?string $status = null, + public ?TrackingDetailCodes $trackingDetailCodes = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ValueAddedService.php b/src/Seller/ShippingV2/Dto/ValueAddedService.php index 31c7096c2..a0cc9bfce 100644 --- a/src/Seller/ShippingV2/Dto/ValueAddedService.php +++ b/src/Seller/ShippingV2/Dto/ValueAddedService.php @@ -20,8 +20,8 @@ final class ValueAddedService extends Dto * @param Currency $cost The monetary value in the currency indicated, in ISO 4217 standard format. */ public function __construct( - public readonly string $id, - public readonly string $name, - public readonly Currency $cost, + public string $id, + public string $name, + public Currency $cost, ) {} } diff --git a/src/Seller/ShippingV2/Dto/ValueAddedServiceDetails.php b/src/Seller/ShippingV2/Dto/ValueAddedServiceDetails.php index bc5de0b64..60c7247ee 100644 --- a/src/Seller/ShippingV2/Dto/ValueAddedServiceDetails.php +++ b/src/Seller/ShippingV2/Dto/ValueAddedServiceDetails.php @@ -18,6 +18,6 @@ final class ValueAddedServiceDetails extends Dto * @param ?CollectOnDelivery $collectOnDelivery The amount to collect on delivery. */ public function __construct( - public readonly ?CollectOnDelivery $collectOnDelivery = null, + public ?CollectOnDelivery $collectOnDelivery = null, ) {} } diff --git a/src/Seller/ShippingV2/Dto/Weight.php b/src/Seller/ShippingV2/Dto/Weight.php index bfb44f1ce..fb509515c 100644 --- a/src/Seller/ShippingV2/Dto/Weight.php +++ b/src/Seller/ShippingV2/Dto/Weight.php @@ -19,7 +19,7 @@ final class Weight extends Dto * @param float $value The measurement value. */ public function __construct( - public readonly string $unit, - public readonly float $value, + public string $unit, + public float $value, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/Embedded.php b/src/Seller/SolicitationsV1/Dto/Embedded.php index ef5c60de2..2061073b9 100644 --- a/src/Seller/SolicitationsV1/Dto/Embedded.php +++ b/src/Seller/SolicitationsV1/Dto/Embedded.php @@ -20,6 +20,6 @@ final class Embedded extends Dto * @param GetSolicitationActionResponse[] $actions */ public function __construct( - public readonly array $actions, + public array $actions, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/Embedded2.php b/src/Seller/SolicitationsV1/Dto/Embedded2.php index e5602953e..cfd7ee058 100644 --- a/src/Seller/SolicitationsV1/Dto/Embedded2.php +++ b/src/Seller/SolicitationsV1/Dto/Embedded2.php @@ -15,6 +15,6 @@ final class Embedded2 extends Dto { public function __construct( - public readonly ?GetSchemaResponse $schema = null, + public ?GetSchemaResponse $schema = null, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/Error.php b/src/Seller/SolicitationsV1/Dto/Error.php index 66df55350..b7382d668 100644 --- a/src/Seller/SolicitationsV1/Dto/Error.php +++ b/src/Seller/SolicitationsV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/ErrorList.php b/src/Seller/SolicitationsV1/Dto/ErrorList.php index 5524ff7cd..e9c587fb9 100644 --- a/src/Seller/SolicitationsV1/Dto/ErrorList.php +++ b/src/Seller/SolicitationsV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/GetSchemaResponse.php b/src/Seller/SolicitationsV1/Dto/GetSchemaResponse.php index 3289db1f3..b5ed66f15 100644 --- a/src/Seller/SolicitationsV1/Dto/GetSchemaResponse.php +++ b/src/Seller/SolicitationsV1/Dto/GetSchemaResponse.php @@ -21,8 +21,8 @@ final class GetSchemaResponse extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly ?Links3 $links = null, - public readonly ?array $payload = null, - public readonly ?ErrorList $errors = null, + public ?Links3 $links = null, + public ?array $payload = null, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/GetSolicitationActionResponse.php b/src/Seller/SolicitationsV1/Dto/GetSolicitationActionResponse.php index 0756c1bc5..51803967c 100644 --- a/src/Seller/SolicitationsV1/Dto/GetSolicitationActionResponse.php +++ b/src/Seller/SolicitationsV1/Dto/GetSolicitationActionResponse.php @@ -21,9 +21,9 @@ final class GetSolicitationActionResponse extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly ?Links2 $links = null, - public readonly ?Embedded2 $embedded = null, - public readonly ?SolicitationsAction $payload = null, - public readonly ?ErrorList $errors = null, + public ?Links2 $links = null, + public ?Embedded2 $embedded = null, + public ?SolicitationsAction $payload = null, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/LinkObject.php b/src/Seller/SolicitationsV1/Dto/LinkObject.php index a3a9c2cb5..d5b754616 100644 --- a/src/Seller/SolicitationsV1/Dto/LinkObject.php +++ b/src/Seller/SolicitationsV1/Dto/LinkObject.php @@ -19,7 +19,7 @@ final class LinkObject extends Dto * @param ?string $name An identifier for this object. */ public function __construct( - public readonly string $href, - public readonly ?string $name = null, + public string $href, + public ?string $name = null, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/Links.php b/src/Seller/SolicitationsV1/Dto/Links.php index 728331563..f042b4708 100644 --- a/src/Seller/SolicitationsV1/Dto/Links.php +++ b/src/Seller/SolicitationsV1/Dto/Links.php @@ -21,7 +21,7 @@ final class Links extends Dto * @param LinkObject[] $actions Eligible actions for the specified amazonOrderId. */ public function __construct( - public readonly LinkObject $self, - public readonly array $actions, + public LinkObject $self, + public array $actions, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/Links2.php b/src/Seller/SolicitationsV1/Dto/Links2.php index 1dbee7fc4..e06132dfc 100644 --- a/src/Seller/SolicitationsV1/Dto/Links2.php +++ b/src/Seller/SolicitationsV1/Dto/Links2.php @@ -19,7 +19,7 @@ final class Links2 extends Dto * @param LinkObject $schema A Link object. */ public function __construct( - public readonly LinkObject $self, - public readonly LinkObject $schema, + public LinkObject $self, + public LinkObject $schema, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/Links3.php b/src/Seller/SolicitationsV1/Dto/Links3.php index ca68c47b4..e096e8ff6 100644 --- a/src/Seller/SolicitationsV1/Dto/Links3.php +++ b/src/Seller/SolicitationsV1/Dto/Links3.php @@ -18,6 +18,6 @@ final class Links3 extends Dto * @param LinkObject $self A Link object. */ public function __construct( - public readonly LinkObject $self, + public LinkObject $self, ) {} } diff --git a/src/Seller/SolicitationsV1/Dto/SolicitationsAction.php b/src/Seller/SolicitationsV1/Dto/SolicitationsAction.php index 63a8d20a5..ca07516dc 100644 --- a/src/Seller/SolicitationsV1/Dto/SolicitationsAction.php +++ b/src/Seller/SolicitationsV1/Dto/SolicitationsAction.php @@ -15,6 +15,6 @@ final class SolicitationsAction extends Dto { public function __construct( - public readonly string $name, + public string $name, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/Address.php b/src/Seller/SupplySourcesV20200701/Dto/Address.php index d1676eebf..ab69fa175 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/Address.php +++ b/src/Seller/SupplySourcesV20200701/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business or institution located at that address. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $stateOrRegion, - public readonly string $countryCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $postalCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $stateOrRegion, + public string $countryCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $postalCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/AddressWithContact.php b/src/Seller/SupplySourcesV20200701/Dto/AddressWithContact.php index 497487d43..2d801443d 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/AddressWithContact.php +++ b/src/Seller/SupplySourcesV20200701/Dto/AddressWithContact.php @@ -19,7 +19,7 @@ final class AddressWithContact extends Dto * @param ?Address $address A physical address. */ public function __construct( - public readonly ?ContactDetails $contactDetails = null, - public readonly ?Address $address = null, + public ?ContactDetails $contactDetails = null, + public ?Address $address = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/ContactDetails.php b/src/Seller/SupplySourcesV20200701/Dto/ContactDetails.php index 3f2bcb488..a989e4819 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/ContactDetails.php +++ b/src/Seller/SupplySourcesV20200701/Dto/ContactDetails.php @@ -15,6 +15,6 @@ final class ContactDetails extends Dto { public function __construct( - public readonly ?Primary $primary = null, + public ?Primary $primary = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/CreateSupplySourceRequest.php b/src/Seller/SupplySourcesV20200701/Dto/CreateSupplySourceRequest.php index cbeeb7b2b..880040393 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/CreateSupplySourceRequest.php +++ b/src/Seller/SupplySourcesV20200701/Dto/CreateSupplySourceRequest.php @@ -20,8 +20,8 @@ final class CreateSupplySourceRequest extends Dto * @param Address $address A physical address. */ public function __construct( - public readonly string $supplySourceCode, - public readonly string $alias, - public readonly Address $address, + public string $supplySourceCode, + public string $alias, + public Address $address, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/CurbsidePickupConfiguration.php b/src/Seller/SupplySourcesV20200701/Dto/CurbsidePickupConfiguration.php index e9a6aa3cd..d1c2a3f7f 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/CurbsidePickupConfiguration.php +++ b/src/Seller/SupplySourcesV20200701/Dto/CurbsidePickupConfiguration.php @@ -20,8 +20,8 @@ final class CurbsidePickupConfiguration extends Dto * @param ?ParkingWithAddressConfiguration $parkingWithAddressConfiguration The parking configuration with the address. */ public function __construct( - public readonly ?bool $isSupported = null, - public readonly ?OperationalConfiguration $operationalConfiguration = null, - public readonly ?ParkingWithAddressConfiguration $parkingWithAddressConfiguration = null, + public ?bool $isSupported = null, + public ?OperationalConfiguration $operationalConfiguration = null, + public ?ParkingWithAddressConfiguration $parkingWithAddressConfiguration = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/DeliveryChannel.php b/src/Seller/SupplySourcesV20200701/Dto/DeliveryChannel.php index 74b2bd93f..04d8fdd64 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/DeliveryChannel.php +++ b/src/Seller/SupplySourcesV20200701/Dto/DeliveryChannel.php @@ -18,7 +18,7 @@ final class DeliveryChannel extends Dto * @param ?OperationalConfiguration $operationalConfiguration The operational configuration of `supplySources`. */ public function __construct( - public readonly ?bool $isSupported = null, - public readonly ?OperationalConfiguration $operationalConfiguration = null, + public ?bool $isSupported = null, + public ?OperationalConfiguration $operationalConfiguration = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/Duration.php b/src/Seller/SupplySourcesV20200701/Dto/Duration.php index 7596f2ae2..bd3910d59 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/Duration.php +++ b/src/Seller/SupplySourcesV20200701/Dto/Duration.php @@ -19,7 +19,7 @@ final class Duration extends Dto * @param ?string $timeUnit The time unit */ public function __construct( - public readonly ?int $value = null, - public readonly ?string $timeUnit = null, + public ?int $value = null, + public ?string $timeUnit = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/Error.php b/src/Seller/SupplySourcesV20200701/Dto/Error.php index 2d4cfdf70..164707558 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/Error.php +++ b/src/Seller/SupplySourcesV20200701/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details The additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/InStorePickupConfiguration.php b/src/Seller/SupplySourcesV20200701/Dto/InStorePickupConfiguration.php index 6812a24b5..c396163c7 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/InStorePickupConfiguration.php +++ b/src/Seller/SupplySourcesV20200701/Dto/InStorePickupConfiguration.php @@ -19,7 +19,7 @@ final class InStorePickupConfiguration extends Dto * @param ?ParkingConfiguration $parkingConfiguration The parking configuration. */ public function __construct( - public readonly ?bool $isSupported = null, - public readonly ?ParkingConfiguration $parkingConfiguration = null, + public ?bool $isSupported = null, + public ?ParkingConfiguration $parkingConfiguration = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/OperatingHour.php b/src/Seller/SupplySourcesV20200701/Dto/OperatingHour.php index ef0906eb0..59946e32f 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/OperatingHour.php +++ b/src/Seller/SupplySourcesV20200701/Dto/OperatingHour.php @@ -19,7 +19,7 @@ final class OperatingHour extends Dto * @param ?string $endTime The closing time, ISO 8601 formatted timestamp without date, HH:mm. */ public function __construct( - public readonly ?string $startTime = null, - public readonly ?string $endTime = null, + public ?string $startTime = null, + public ?string $endTime = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/OperatingHoursByDay.php b/src/Seller/SupplySourcesV20200701/Dto/OperatingHoursByDay.php index 1a11c71a3..f1385342c 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/OperatingHoursByDay.php +++ b/src/Seller/SupplySourcesV20200701/Dto/OperatingHoursByDay.php @@ -34,12 +34,12 @@ final class OperatingHoursByDay extends Dto * @param OperatingHour[]|null $sunday A list of Operating Hours. */ public function __construct( - public readonly ?array $monday = null, - public readonly ?array $tuesday = null, - public readonly ?array $wednesday = null, - public readonly ?array $thursday = null, - public readonly ?array $friday = null, - public readonly ?array $saturday = null, - public readonly ?array $sunday = null, + public ?array $monday = null, + public ?array $tuesday = null, + public ?array $wednesday = null, + public ?array $thursday = null, + public ?array $friday = null, + public ?array $saturday = null, + public ?array $sunday = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/OperationalConfiguration.php b/src/Seller/SupplySourcesV20200701/Dto/OperationalConfiguration.php index 1c6cb40ba..fac687517 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/OperationalConfiguration.php +++ b/src/Seller/SupplySourcesV20200701/Dto/OperationalConfiguration.php @@ -21,9 +21,9 @@ final class OperationalConfiguration extends Dto * @param ?Duration $handlingTime The duration of time. */ public function __construct( - public readonly ?ContactDetails $contactDetails = null, - public readonly ?ThroughputConfig $throughputConfig = null, - public readonly ?OperatingHoursByDay $operatingHoursByDay = null, - public readonly ?Duration $handlingTime = null, + public ?ContactDetails $contactDetails = null, + public ?ThroughputConfig $throughputConfig = null, + public ?OperatingHoursByDay $operatingHoursByDay = null, + public ?Duration $handlingTime = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/OutboundCapability.php b/src/Seller/SupplySourcesV20200701/Dto/OutboundCapability.php index 35a5c06f1..14af11bfa 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/OutboundCapability.php +++ b/src/Seller/SupplySourcesV20200701/Dto/OutboundCapability.php @@ -21,10 +21,10 @@ final class OutboundCapability extends Dto * @param ?PickupChannel $pickupChannel The pick up channel of a supply source. */ public function __construct( - public readonly ?bool $isSupported = null, - public readonly ?OperationalConfiguration $operationalConfiguration = null, - public readonly ?ReturnLocation $returnLocation = null, - public readonly ?DeliveryChannel $deliveryChannel = null, - public readonly ?PickupChannel $pickupChannel = null, + public ?bool $isSupported = null, + public ?OperationalConfiguration $operationalConfiguration = null, + public ?ReturnLocation $returnLocation = null, + public ?DeliveryChannel $deliveryChannel = null, + public ?PickupChannel $pickupChannel = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/ParkingConfiguration.php b/src/Seller/SupplySourcesV20200701/Dto/ParkingConfiguration.php index b5ce2fad3..5a7b03bfb 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/ParkingConfiguration.php +++ b/src/Seller/SupplySourcesV20200701/Dto/ParkingConfiguration.php @@ -20,8 +20,8 @@ final class ParkingConfiguration extends Dto * @param ?int $numberOfParkingSpots An unsigned integer that can be only positive or zero. */ public function __construct( - public readonly ?string $parkingCostType = null, - public readonly ?string $parkingSpotIdentificationType = null, - public readonly ?int $numberOfParkingSpots = null, + public ?string $parkingCostType = null, + public ?string $parkingSpotIdentificationType = null, + public ?int $numberOfParkingSpots = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/ParkingWithAddressConfiguration.php b/src/Seller/SupplySourcesV20200701/Dto/ParkingWithAddressConfiguration.php index ebf75ee33..79e2b3a1a 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/ParkingWithAddressConfiguration.php +++ b/src/Seller/SupplySourcesV20200701/Dto/ParkingWithAddressConfiguration.php @@ -21,9 +21,9 @@ final class ParkingWithAddressConfiguration extends Dto * @param ?Address $address A physical address. */ public function __construct( - public readonly ?string $parkingCostType = null, - public readonly ?string $parkingSpotIdentificationType = null, - public readonly ?int $numberOfParkingSpots = null, - public readonly ?Address $address = null, + public ?string $parkingCostType = null, + public ?string $parkingSpotIdentificationType = null, + public ?int $numberOfParkingSpots = null, + public ?Address $address = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/PickupChannel.php b/src/Seller/SupplySourcesV20200701/Dto/PickupChannel.php index ba4b4b04b..9183f005a 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/PickupChannel.php +++ b/src/Seller/SupplySourcesV20200701/Dto/PickupChannel.php @@ -21,10 +21,10 @@ final class PickupChannel extends Dto * @param ?CurbsidePickupConfiguration $curbsidePickupConfiguration The curbside pickup configuration of a supply source. */ public function __construct( - public readonly ?Duration $inventoryHoldPeriod = null, - public readonly ?bool $isSupported = null, - public readonly ?OperationalConfiguration $operationalConfiguration = null, - public readonly ?InStorePickupConfiguration $inStorePickupConfiguration = null, - public readonly ?CurbsidePickupConfiguration $curbsidePickupConfiguration = null, + public ?Duration $inventoryHoldPeriod = null, + public ?bool $isSupported = null, + public ?OperationalConfiguration $operationalConfiguration = null, + public ?InStorePickupConfiguration $inStorePickupConfiguration = null, + public ?CurbsidePickupConfiguration $curbsidePickupConfiguration = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/Primary.php b/src/Seller/SupplySourcesV20200701/Dto/Primary.php index a974f0e8c..76a527e39 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/Primary.php +++ b/src/Seller/SupplySourcesV20200701/Dto/Primary.php @@ -19,7 +19,7 @@ final class Primary extends Dto * @param ?string $phone The phone number of the person, business or institution. */ public function __construct( - public readonly ?string $email = null, - public readonly ?string $phone = null, + public ?string $email = null, + public ?string $phone = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/ReturnLocation.php b/src/Seller/SupplySourcesV20200701/Dto/ReturnLocation.php index de301ea15..7c0e6a0ce 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/ReturnLocation.php +++ b/src/Seller/SupplySourcesV20200701/Dto/ReturnLocation.php @@ -19,7 +19,7 @@ final class ReturnLocation extends Dto * @param ?AddressWithContact $addressWithContact The address and contact details. */ public function __construct( - public readonly ?string $supplySourceId = null, - public readonly ?AddressWithContact $addressWithContact = null, + public ?string $supplySourceId = null, + public ?AddressWithContact $addressWithContact = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/ServicesCapability.php b/src/Seller/SupplySourcesV20200701/Dto/ServicesCapability.php index c3fb4f7e3..733ef275e 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/ServicesCapability.php +++ b/src/Seller/SupplySourcesV20200701/Dto/ServicesCapability.php @@ -19,7 +19,7 @@ final class ServicesCapability extends Dto * @param ?OperationalConfiguration $operationalConfiguration The operational configuration of `supplySources`. */ public function __construct( - public readonly ?bool $isSupported = null, - public readonly ?OperationalConfiguration $operationalConfiguration = null, + public ?bool $isSupported = null, + public ?OperationalConfiguration $operationalConfiguration = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/SupplySourceCapabilities.php b/src/Seller/SupplySourcesV20200701/Dto/SupplySourceCapabilities.php index 23036870e..1a6bd025a 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/SupplySourceCapabilities.php +++ b/src/Seller/SupplySourcesV20200701/Dto/SupplySourceCapabilities.php @@ -19,7 +19,7 @@ final class SupplySourceCapabilities extends Dto * @param ?ServicesCapability $services The services capability of a supply source. */ public function __construct( - public readonly ?OutboundCapability $outbound = null, - public readonly ?ServicesCapability $services = null, + public ?OutboundCapability $outbound = null, + public ?ServicesCapability $services = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/SupplySourceConfiguration.php b/src/Seller/SupplySourcesV20200701/Dto/SupplySourceConfiguration.php index de5b0b6da..e123599f8 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/SupplySourceConfiguration.php +++ b/src/Seller/SupplySourcesV20200701/Dto/SupplySourceConfiguration.php @@ -19,7 +19,7 @@ final class SupplySourceConfiguration extends Dto * @param ?string $timezone Please see RFC 6557, should be a canonical time zone ID as listed here: https://www.joda.org/joda-time/timezones.html. */ public function __construct( - public readonly ?OperationalConfiguration $operationalConfiguration = null, - public readonly ?string $timezone = null, + public ?OperationalConfiguration $operationalConfiguration = null, + public ?string $timezone = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/SupplySourceList.php b/src/Seller/SupplySourcesV20200701/Dto/SupplySourceList.php index f3703b0eb..33d439f51 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/SupplySourceList.php +++ b/src/Seller/SupplySourcesV20200701/Dto/SupplySourceList.php @@ -21,9 +21,9 @@ final class SupplySourceList extends Dto * @param ?Address $address A physical address. */ public function __construct( - public readonly ?string $alias = null, - public readonly ?string $supplySourceId = null, - public readonly ?string $supplySourceCode = null, - public readonly ?Address $address = null, + public ?string $alias = null, + public ?string $supplySourceId = null, + public ?string $supplySourceCode = null, + public ?Address $address = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/ThroughputCap.php b/src/Seller/SupplySourcesV20200701/Dto/ThroughputCap.php index 25cc96f27..8749ad5ae 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/ThroughputCap.php +++ b/src/Seller/SupplySourcesV20200701/Dto/ThroughputCap.php @@ -19,7 +19,7 @@ final class ThroughputCap extends Dto * @param ?string $timeUnit The time unit */ public function __construct( - public readonly ?int $value = null, - public readonly ?string $timeUnit = null, + public ?int $value = null, + public ?string $timeUnit = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/ThroughputConfig.php b/src/Seller/SupplySourcesV20200701/Dto/ThroughputConfig.php index e222ffccd..2fd7c7c94 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/ThroughputConfig.php +++ b/src/Seller/SupplySourcesV20200701/Dto/ThroughputConfig.php @@ -19,7 +19,7 @@ final class ThroughputConfig extends Dto * @param ?ThroughputCap $throughputCap The throughput capacity */ public function __construct( - public readonly string $throughputUnit, - public readonly ?ThroughputCap $throughputCap = null, + public string $throughputUnit, + public ?ThroughputCap $throughputCap = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/UpdateSupplySourceRequest.php b/src/Seller/SupplySourcesV20200701/Dto/UpdateSupplySourceRequest.php index 9a7f5b62c..635e77133 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/UpdateSupplySourceRequest.php +++ b/src/Seller/SupplySourcesV20200701/Dto/UpdateSupplySourceRequest.php @@ -20,8 +20,8 @@ final class UpdateSupplySourceRequest extends Dto * @param ?SupplySourceCapabilities $capabilities The capabilities of a supply source. */ public function __construct( - public readonly ?string $alias = null, - public readonly ?SupplySourceConfiguration $configuration = null, - public readonly ?SupplySourceCapabilities $capabilities = null, + public ?string $alias = null, + public ?SupplySourceConfiguration $configuration = null, + public ?SupplySourceCapabilities $capabilities = null, ) {} } diff --git a/src/Seller/SupplySourcesV20200701/Dto/UpdateSupplySourceStatusRequest.php b/src/Seller/SupplySourcesV20200701/Dto/UpdateSupplySourceStatusRequest.php index 4458f6b0d..c495bc8a8 100644 --- a/src/Seller/SupplySourcesV20200701/Dto/UpdateSupplySourceStatusRequest.php +++ b/src/Seller/SupplySourcesV20200701/Dto/UpdateSupplySourceStatusRequest.php @@ -18,6 +18,6 @@ final class UpdateSupplySourceStatusRequest extends Dto * @param ?string $status The `SupplySource` status */ public function __construct( - public readonly ?string $status = null, + public ?string $status = null, ) {} } diff --git a/src/Seller/TokensV20210301/Dto/CreateRestrictedDataTokenRequest.php b/src/Seller/TokensV20210301/Dto/CreateRestrictedDataTokenRequest.php index e41ae76a5..a627f9056 100644 --- a/src/Seller/TokensV20210301/Dto/CreateRestrictedDataTokenRequest.php +++ b/src/Seller/TokensV20210301/Dto/CreateRestrictedDataTokenRequest.php @@ -22,7 +22,7 @@ final class CreateRestrictedDataTokenRequest extends Dto * @param ?string $targetApplication The application ID for the target application to which access is being delegated. */ public function __construct( - public readonly array $restrictedResources, - public readonly ?string $targetApplication = null, + public array $restrictedResources, + public ?string $targetApplication = null, ) {} } diff --git a/src/Seller/TokensV20210301/Dto/Error.php b/src/Seller/TokensV20210301/Dto/Error.php index 1f13cb7e6..df52dbf06 100644 --- a/src/Seller/TokensV20210301/Dto/Error.php +++ b/src/Seller/TokensV20210301/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/TokensV20210301/Dto/RestrictedResource.php b/src/Seller/TokensV20210301/Dto/RestrictedResource.php index e321c6e01..79b8f4170 100644 --- a/src/Seller/TokensV20210301/Dto/RestrictedResource.php +++ b/src/Seller/TokensV20210301/Dto/RestrictedResource.php @@ -28,8 +28,8 @@ final class RestrictedResource extends Dto * - **buyerTaxInformation**. This includes information for issuing tax invoices. */ public function __construct( - public readonly string $method, - public readonly string $path, - public readonly ?array $dataElements = null, + public string $method, + public string $path, + public ?array $dataElements = null, ) {} } diff --git a/src/Seller/TransfersV20240601/Dto/AssignmentFilter.php b/src/Seller/TransfersV20240601/Dto/AssignmentFilter.php index f955ea057..5c7d42580 100644 --- a/src/Seller/TransfersV20240601/Dto/AssignmentFilter.php +++ b/src/Seller/TransfersV20240601/Dto/AssignmentFilter.php @@ -18,6 +18,6 @@ final class AssignmentFilter extends Dto * @param ?string[] $assignmentTypes The list of assignment types. */ public function __construct( - public readonly ?array $assignmentTypes = null, + public ?array $assignmentTypes = null, ) {} } diff --git a/src/Seller/TransfersV20240601/Dto/Error.php b/src/Seller/TransfersV20240601/Dto/Error.php index 0bedb8c61..62321aac5 100644 --- a/src/Seller/TransfersV20240601/Dto/Error.php +++ b/src/Seller/TransfersV20240601/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/TransfersV20240601/Dto/ExpiryDate.php b/src/Seller/TransfersV20240601/Dto/ExpiryDate.php index e48602fbb..7dc0bc0dc 100644 --- a/src/Seller/TransfersV20240601/Dto/ExpiryDate.php +++ b/src/Seller/TransfersV20240601/Dto/ExpiryDate.php @@ -19,7 +19,7 @@ final class ExpiryDate extends Dto * @param ?string $year A string with digits */ public function __construct( - public readonly ?string $month = null, - public readonly ?string $year = null, + public ?string $month = null, + public ?string $year = null, ) {} } diff --git a/src/Seller/TransfersV20240601/Dto/GetPaymentMethodsRequest.php b/src/Seller/TransfersV20240601/Dto/GetPaymentMethodsRequest.php index 83e69acd4..5418738a1 100644 --- a/src/Seller/TransfersV20240601/Dto/GetPaymentMethodsRequest.php +++ b/src/Seller/TransfersV20240601/Dto/GetPaymentMethodsRequest.php @@ -21,9 +21,9 @@ final class GetPaymentMethodsRequest extends Dto * @param ?PaymentMethodFilter $paymentMethodFilter The object used to filter payment methods based on different factors. */ public function __construct( - public readonly ?string $owningCustomerId = null, - public readonly ?string $marketplaceId = null, - public readonly ?string $requestId = null, - public readonly ?PaymentMethodFilter $paymentMethodFilter = null, + public ?string $owningCustomerId = null, + public ?string $marketplaceId = null, + public ?string $requestId = null, + public ?PaymentMethodFilter $paymentMethodFilter = null, ) {} } diff --git a/src/Seller/TransfersV20240601/Dto/InitiatePayoutRequest.php b/src/Seller/TransfersV20240601/Dto/InitiatePayoutRequest.php index 803ff86b1..bafd493fd 100644 --- a/src/Seller/TransfersV20240601/Dto/InitiatePayoutRequest.php +++ b/src/Seller/TransfersV20240601/Dto/InitiatePayoutRequest.php @@ -19,7 +19,7 @@ final class InitiatePayoutRequest extends Dto * @param string $accountType The account type in the selected marketplace for which a payout has to be initiated. For the supported EU marketplaces, the only account type is `Standard Orders`. */ public function __construct( - public readonly string $marketplaceId, - public readonly string $accountType, + public string $marketplaceId, + public string $accountType, ) {} } diff --git a/src/Seller/TransfersV20240601/Dto/PaymentMethodFilter.php b/src/Seller/TransfersV20240601/Dto/PaymentMethodFilter.php index d4a34e325..ca47e89d5 100644 --- a/src/Seller/TransfersV20240601/Dto/PaymentMethodFilter.php +++ b/src/Seller/TransfersV20240601/Dto/PaymentMethodFilter.php @@ -21,9 +21,9 @@ final class PaymentMethodFilter extends Dto * @param ?string[] $paymentInstrumentTypes The list of payment instrument types that are present. */ public function __construct( - public readonly ?string $paymentInstrumentId = null, - public readonly ?array $subscribedMarketplaces = null, - public readonly ?AssignmentFilter $assignmentFilter = null, - public readonly ?array $paymentInstrumentTypes = null, + public ?string $paymentInstrumentId = null, + public ?array $subscribedMarketplaces = null, + public ?AssignmentFilter $assignmentFilter = null, + public ?array $paymentInstrumentTypes = null, ) {} } diff --git a/src/Seller/TransfersV20240601/Dto/PiDetails.php b/src/Seller/TransfersV20240601/Dto/PiDetails.php index a4e26e9b3..0f6e9da2f 100644 --- a/src/Seller/TransfersV20240601/Dto/PiDetails.php +++ b/src/Seller/TransfersV20240601/Dto/PiDetails.php @@ -24,12 +24,12 @@ final class PiDetails extends Dto * @param ?string $paymentInstrumentType The payment instrument type. */ public function __construct( - public readonly ?string $encryptedAccountHolderName = null, - public readonly ?string $paymentInstrumentId = null, - public readonly ?string $tail = null, - public readonly ?ExpiryDate $expiryDate = null, - public readonly ?string $countryCode = null, - public readonly ?array $defaultMarketplaces = null, - public readonly ?string $paymentInstrumentType = null, + public ?string $encryptedAccountHolderName = null, + public ?string $paymentInstrumentId = null, + public ?string $tail = null, + public ?ExpiryDate $expiryDate = null, + public ?string $countryCode = null, + public ?array $defaultMarketplaces = null, + public ?string $paymentInstrumentType = null, ) {} } diff --git a/src/Seller/UploadsV20201101/Dto/Error.php b/src/Seller/UploadsV20201101/Dto/Error.php index febd938dd..5cc1d5023 100644 --- a/src/Seller/UploadsV20201101/Dto/Error.php +++ b/src/Seller/UploadsV20201101/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Seller/UploadsV20201101/Dto/ErrorList.php b/src/Seller/UploadsV20201101/Dto/ErrorList.php index 09fd20ace..0eab9673f 100644 --- a/src/Seller/UploadsV20201101/Dto/ErrorList.php +++ b/src/Seller/UploadsV20201101/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Seller/UploadsV20201101/Dto/UploadDestination.php b/src/Seller/UploadsV20201101/Dto/UploadDestination.php index 34300b335..a1da0372f 100644 --- a/src/Seller/UploadsV20201101/Dto/UploadDestination.php +++ b/src/Seller/UploadsV20201101/Dto/UploadDestination.php @@ -20,8 +20,8 @@ final class UploadDestination extends Dto * @param ?mixed[] $headers The headers to include in the upload request. */ public function __construct( - public readonly ?string $uploadDestinationId = null, - public readonly ?string $url = null, - public readonly ?array $headers = null, + public ?string $uploadDestinationId = null, + public ?string $url = null, + public ?array $headers = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentInventoryV1/Dto/Error.php b/src/Vendor/DirectFulfillmentInventoryV1/Dto/Error.php index 51757ddb1..535d5d9df 100644 --- a/src/Vendor/DirectFulfillmentInventoryV1/Dto/Error.php +++ b/src/Vendor/DirectFulfillmentInventoryV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentInventoryV1/Dto/ErrorList.php b/src/Vendor/DirectFulfillmentInventoryV1/Dto/ErrorList.php index 1bfbe6751..5d8997e02 100644 --- a/src/Vendor/DirectFulfillmentInventoryV1/Dto/ErrorList.php +++ b/src/Vendor/DirectFulfillmentInventoryV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/DirectFulfillmentInventoryV1/Dto/InventoryUpdate.php b/src/Vendor/DirectFulfillmentInventoryV1/Dto/InventoryUpdate.php index 1ffb97e70..341cf3479 100644 --- a/src/Vendor/DirectFulfillmentInventoryV1/Dto/InventoryUpdate.php +++ b/src/Vendor/DirectFulfillmentInventoryV1/Dto/InventoryUpdate.php @@ -22,8 +22,8 @@ final class InventoryUpdate extends Dto * @param ItemDetails[] $items A list of inventory items with updated details, including quantity available. */ public function __construct( - public readonly PartyIdentification $sellingParty, - public readonly bool $isFullUpdate, - public readonly array $items, + public PartyIdentification $sellingParty, + public bool $isFullUpdate, + public array $items, ) {} } diff --git a/src/Vendor/DirectFulfillmentInventoryV1/Dto/ItemDetails.php b/src/Vendor/DirectFulfillmentInventoryV1/Dto/ItemDetails.php index bff4e3cfe..0a7cc6dd8 100644 --- a/src/Vendor/DirectFulfillmentInventoryV1/Dto/ItemDetails.php +++ b/src/Vendor/DirectFulfillmentInventoryV1/Dto/ItemDetails.php @@ -21,9 +21,9 @@ final class ItemDetails extends Dto * @param ?bool $isObsolete When `true`, the item is permanently unavailable. */ public function __construct( - public readonly ItemQuantity $availableQuantity, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?bool $isObsolete = null, + public ItemQuantity $availableQuantity, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?bool $isObsolete = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentInventoryV1/Dto/ItemQuantity.php b/src/Vendor/DirectFulfillmentInventoryV1/Dto/ItemQuantity.php index a63acb568..0733af07d 100644 --- a/src/Vendor/DirectFulfillmentInventoryV1/Dto/ItemQuantity.php +++ b/src/Vendor/DirectFulfillmentInventoryV1/Dto/ItemQuantity.php @@ -19,7 +19,7 @@ final class ItemQuantity extends Dto * @param ?int $amount Quantity of units available for a specific item. */ public function __construct( - public readonly string $unitOfMeasure, - public readonly ?int $amount = null, + public string $unitOfMeasure, + public ?int $amount = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentInventoryV1/Dto/PartyIdentification.php b/src/Vendor/DirectFulfillmentInventoryV1/Dto/PartyIdentification.php index 0fab67f46..a832bbc8f 100644 --- a/src/Vendor/DirectFulfillmentInventoryV1/Dto/PartyIdentification.php +++ b/src/Vendor/DirectFulfillmentInventoryV1/Dto/PartyIdentification.php @@ -18,6 +18,6 @@ final class PartyIdentification extends Dto * @param string $partyId Assigned identification for the party. */ public function __construct( - public readonly string $partyId, + public string $partyId, ) {} } diff --git a/src/Vendor/DirectFulfillmentInventoryV1/Dto/SubmitInventoryUpdateRequest.php b/src/Vendor/DirectFulfillmentInventoryV1/Dto/SubmitInventoryUpdateRequest.php index 07c6d559f..092902013 100644 --- a/src/Vendor/DirectFulfillmentInventoryV1/Dto/SubmitInventoryUpdateRequest.php +++ b/src/Vendor/DirectFulfillmentInventoryV1/Dto/SubmitInventoryUpdateRequest.php @@ -18,6 +18,6 @@ final class SubmitInventoryUpdateRequest extends Dto * @param ?InventoryUpdate $inventory Inventory details required to update some or all items for the requested warehouse. */ public function __construct( - public readonly ?InventoryUpdate $inventory = null, + public ?InventoryUpdate $inventory = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentInventoryV1/Dto/TransactionReference.php b/src/Vendor/DirectFulfillmentInventoryV1/Dto/TransactionReference.php index c85a70047..36b1f846c 100644 --- a/src/Vendor/DirectFulfillmentInventoryV1/Dto/TransactionReference.php +++ b/src/Vendor/DirectFulfillmentInventoryV1/Dto/TransactionReference.php @@ -18,6 +18,6 @@ final class TransactionReference extends Dto * @param ?string $transactionId GUID to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction. */ public function __construct( - public readonly ?string $transactionId = null, + public ?string $transactionId = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/AcknowledgementStatus.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/AcknowledgementStatus.php index 1f1f29238..157bd0c8d 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/AcknowledgementStatus.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/AcknowledgementStatus.php @@ -19,7 +19,7 @@ final class AcknowledgementStatus extends Dto * @param ?string $description Reason for the acknowledgement code. */ public function __construct( - public readonly ?string $code = null, - public readonly ?string $description = null, + public ?string $code = null, + public ?string $description = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Address.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Address.php index 579c450bb..02b684360 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Address.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Address.php @@ -29,17 +29,17 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business, or institution located at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $stateOrRegion, - public readonly string $countryCode, - public readonly ?string $attention = null, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $postalCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $stateOrRegion, + public string $countryCode, + public ?string $attention = null, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $postalCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Error.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Error.php index 3ef17dfa7..2498aae3d 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Error.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ErrorList.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ErrorList.php index f3e01a137..bd0be80d6 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ErrorList.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/GiftDetails.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/GiftDetails.php index 439c55d85..dadd1e923 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/GiftDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/GiftDetails.php @@ -19,7 +19,7 @@ final class GiftDetails extends Dto * @param ?string $giftWrapId Gift wrap identifier for the gift wrapping, if any. */ public function __construct( - public readonly ?string $giftMessage = null, - public readonly ?string $giftWrapId = null, + public ?string $giftMessage = null, + public ?string $giftWrapId = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ItemQuantity.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ItemQuantity.php index 2dec5c7fa..498f4ac36 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ItemQuantity.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ItemQuantity.php @@ -19,7 +19,7 @@ final class ItemQuantity extends Dto * @param ?string $unitOfMeasure Unit of measure for the acknowledged quantity. */ public function __construct( - public readonly ?int $amount = null, - public readonly ?string $unitOfMeasure = null, + public ?int $amount = null, + public ?string $unitOfMeasure = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Money.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Money.php index eb8f361f2..eb971dcd5 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Money.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Money.php @@ -19,7 +19,7 @@ final class Money extends Dto * @param ?string $amount A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. */ public function __construct( - public readonly ?string $currencyCode = null, - public readonly ?string $amount = null, + public ?string $currencyCode = null, + public ?string $amount = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Order.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Order.php index a79c59b5a..1f7667e57 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Order.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Order.php @@ -19,7 +19,7 @@ final class Order extends Dto * @param ?OrderDetails $orderDetails Details of an order. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly ?OrderDetails $orderDetails = null, + public string $purchaseOrderNumber, + public ?OrderDetails $orderDetails = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderAcknowledgementItem.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderAcknowledgementItem.php index 7c963cc83..ddbb17d56 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderAcknowledgementItem.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderAcknowledgementItem.php @@ -26,12 +26,12 @@ final class OrderAcknowledgementItem extends Dto * @param OrderItemAcknowledgement[] $itemAcknowledgements Item details including acknowledged quantity. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly string $vendorOrderNumber, - public readonly \DateTimeInterface $acknowledgementDate, - public readonly AcknowledgementStatus $acknowledgementStatus, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly array $itemAcknowledgements, + public string $purchaseOrderNumber, + public string $vendorOrderNumber, + public \DateTimeInterface $acknowledgementDate, + public AcknowledgementStatus $acknowledgementStatus, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public array $itemAcknowledgements, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderDetails.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderDetails.php index 5b7d3236c..07e018519 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderDetails.php @@ -29,15 +29,15 @@ final class OrderDetails extends Dto * @param ?TaxTotal $taxTotal The total tax object within the shipment that relates to the order. */ public function __construct( - public readonly string $customerOrderNumber, - public readonly \DateTimeInterface $orderDate, - public readonly ShipmentDetails $shipmentDetails, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly Address $shipToParty, - public readonly PartyIdentification $billToParty, - public readonly array $items, - public readonly ?string $orderStatus = null, - public readonly ?TaxTotal $taxTotal = null, + public string $customerOrderNumber, + public \DateTimeInterface $orderDate, + public ShipmentDetails $shipmentDetails, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public Address $shipToParty, + public PartyIdentification $billToParty, + public array $items, + public ?string $orderStatus = null, + public ?TaxTotal $taxTotal = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderItem.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderItem.php index e91774564..8450cf2ca 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderItem.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderItem.php @@ -27,15 +27,15 @@ final class OrderItem extends Dto * @param ?Money $totalPrice An amount of money, including units in the form of currency. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ItemQuantity $orderedQuantity, - public readonly Money $netPrice, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?string $title = null, - public readonly ?ScheduledDeliveryShipment $scheduledDeliveryShipment = null, - public readonly ?GiftDetails $giftDetails = null, - public readonly ?TaxDetails $taxDetails = null, - public readonly ?Money $totalPrice = null, + public string $itemSequenceNumber, + public ItemQuantity $orderedQuantity, + public Money $netPrice, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?string $title = null, + public ?ScheduledDeliveryShipment $scheduledDeliveryShipment = null, + public ?GiftDetails $giftDetails = null, + public ?TaxDetails $taxDetails = null, + public ?Money $totalPrice = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderItemAcknowledgement.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderItemAcknowledgement.php index 6ca2c6e2f..ff0448837 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderItemAcknowledgement.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderItemAcknowledgement.php @@ -21,9 +21,9 @@ final class OrderItemAcknowledgement extends Dto * @param ?string $vendorProductIdentifier The vendor selected product identification of the item. Should be the same as was provided in the purchase order. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ItemQuantity $acknowledgedQuantity, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, + public string $itemSequenceNumber, + public ItemQuantity $acknowledgedQuantity, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderList.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderList.php index 7d73db270..23b464287 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderList.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/OrderList.php @@ -21,7 +21,7 @@ final class OrderList extends Dto * @param Order[]|null $orders Represents a purchase order within the `OrderList`. */ public function __construct( - public readonly ?Pagination $pagination = null, - public readonly ?array $orders = null, + public ?Pagination $pagination = null, + public ?array $orders = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Pagination.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Pagination.php index 161b9ab89..b1f398399 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/Pagination.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/Pagination.php @@ -18,6 +18,6 @@ final class Pagination extends Dto * @param ?string $nextToken A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more order items to return. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/PartyIdentification.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/PartyIdentification.php index 40a3d4eac..08547b410 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/PartyIdentification.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/PartyIdentification.php @@ -20,8 +20,8 @@ final class PartyIdentification extends Dto * @param ?TaxRegistrationDetails $taxInfo Tax registration details of the entity. */ public function __construct( - public readonly string $partyId, - public readonly ?Address $address = null, - public readonly ?TaxRegistrationDetails $taxInfo = null, + public string $partyId, + public ?Address $address = null, + public ?TaxRegistrationDetails $taxInfo = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ScheduledDeliveryShipment.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ScheduledDeliveryShipment.php index 017a91fdc..a2a98e2e9 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ScheduledDeliveryShipment.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ScheduledDeliveryShipment.php @@ -20,8 +20,8 @@ final class ScheduledDeliveryShipment extends Dto * @param ?\DateTimeInterface $latestNominatedDeliveryDate Latest nominated delivery date for the scheduled delivery. */ public function __construct( - public readonly ?string $scheduledDeliveryServiceType = null, - public readonly ?\DateTimeInterface $earliestNominatedDeliveryDate = null, - public readonly ?\DateTimeInterface $latestNominatedDeliveryDate = null, + public ?string $scheduledDeliveryServiceType = null, + public ?\DateTimeInterface $earliestNominatedDeliveryDate = null, + public ?\DateTimeInterface $latestNominatedDeliveryDate = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ShipmentDates.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ShipmentDates.php index c9fdedd07..35dcda9ed 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ShipmentDates.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ShipmentDates.php @@ -19,7 +19,7 @@ final class ShipmentDates extends Dto * @param ?\DateTimeInterface $promisedDeliveryDate Delivery date promised to the Amazon customer. */ public function __construct( - public readonly \DateTimeInterface $requiredShipDate, - public readonly ?\DateTimeInterface $promisedDeliveryDate = null, + public \DateTimeInterface $requiredShipDate, + public ?\DateTimeInterface $promisedDeliveryDate = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ShipmentDetails.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ShipmentDetails.php index 4589a0e02..e3614e407 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/ShipmentDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/ShipmentDetails.php @@ -24,12 +24,12 @@ final class ShipmentDetails extends Dto * @param ?bool $isGift When true, the order contain a gift. Include the gift message and gift wrap information. */ public function __construct( - public readonly bool $isPriorityShipment, - public readonly bool $isPslipRequired, - public readonly string $shipMethod, - public readonly ShipmentDates $shipmentDates, - public readonly string $messageToCustomer, - public readonly ?bool $isScheduledDeliveryShipment = null, - public readonly ?bool $isGift = null, + public bool $isPriorityShipment, + public bool $isPslipRequired, + public string $shipMethod, + public ShipmentDates $shipmentDates, + public string $messageToCustomer, + public ?bool $isScheduledDeliveryShipment = null, + public ?bool $isGift = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/SubmitAcknowledgementRequest.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/SubmitAcknowledgementRequest.php index 67bcd1a79..c0e4e324f 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/SubmitAcknowledgementRequest.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/SubmitAcknowledgementRequest.php @@ -20,6 +20,6 @@ final class SubmitAcknowledgementRequest extends Dto * @param OrderAcknowledgementItem[]|null $orderAcknowledgements A list of one or more purchase orders. */ public function __construct( - public readonly ?array $orderAcknowledgements = null, + public ?array $orderAcknowledgements = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxDetails.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxDetails.php index d08a39484..66fbbe563 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxDetails.php @@ -20,6 +20,6 @@ final class TaxDetails extends Dto * @param TaxDetails[]|null $taxLineItem A list of tax line items. */ public function __construct( - public readonly ?array $taxLineItem = null, + public ?array $taxLineItem = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxRegistrationDetails.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxRegistrationDetails.php index 3bb51ef95..bcba35c61 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxRegistrationDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxRegistrationDetails.php @@ -21,9 +21,9 @@ final class TaxRegistrationDetails extends Dto * @param ?string $taxRegistrationMessages Tax registration message that can be used for additional tax related details. */ public function __construct( - public readonly string $taxRegistrationNumber, - public readonly ?string $taxRegistrationType = null, - public readonly ?Address $taxRegistrationAddress = null, - public readonly ?string $taxRegistrationMessages = null, + public string $taxRegistrationNumber, + public ?string $taxRegistrationType = null, + public ?Address $taxRegistrationAddress = null, + public ?string $taxRegistrationMessages = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxTotal.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxTotal.php index e52c49d8e..fee96c7fc 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxTotal.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/TaxTotal.php @@ -20,6 +20,6 @@ final class TaxTotal extends Dto * @param TaxDetails[]|null $taxLineItem A list of tax line items. */ public function __construct( - public readonly ?array $taxLineItem = null, + public ?array $taxLineItem = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV1/Dto/TransactionId.php b/src/Vendor/DirectFulfillmentOrdersV1/Dto/TransactionId.php index 33c98622d..16ba46ae8 100644 --- a/src/Vendor/DirectFulfillmentOrdersV1/Dto/TransactionId.php +++ b/src/Vendor/DirectFulfillmentOrdersV1/Dto/TransactionId.php @@ -18,6 +18,6 @@ final class TransactionId extends Dto * @param ?string $transactionId GUID assigned by Amazon to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction. */ public function __construct( - public readonly ?string $transactionId = null, + public ?string $transactionId = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/AcknowledgementStatus.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/AcknowledgementStatus.php index b555149ec..ccf32e5c2 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/AcknowledgementStatus.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/AcknowledgementStatus.php @@ -19,7 +19,7 @@ final class AcknowledgementStatus extends Dto * @param ?string $description Reason for the acknowledgement code. */ public function __construct( - public readonly ?string $code = null, - public readonly ?string $description = null, + public ?string $code = null, + public ?string $description = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Address.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Address.php index 485f3d6d2..eb71071bc 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Address.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Address.php @@ -29,17 +29,17 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business or institution located at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $stateOrRegion, - public readonly string $countryCode, - public readonly ?string $attention = null, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $postalCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $stateOrRegion, + public string $countryCode, + public ?string $attention = null, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $postalCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/BuyerCustomizedInfoDetail.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/BuyerCustomizedInfoDetail.php index cfd1ffd45..d8e157ce0 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/BuyerCustomizedInfoDetail.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/BuyerCustomizedInfoDetail.php @@ -18,6 +18,6 @@ final class BuyerCustomizedInfoDetail extends Dto * @param ?string $customizedUrl A [Base 64](https://datatracker.ietf.org/doc/html/rfc4648#section-4) encoded URL using the UTF-8 character set. The URL provides the location of the zip file that specifies the types of customizations or configurations allowed by the vendor, along with types and ranges for the attributes of their products. */ public function __construct( - public readonly ?string $customizedUrl = null, + public ?string $customizedUrl = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Error.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Error.php index 657a1f98f..64af34be7 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Error.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/GiftDetails.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/GiftDetails.php index b54b1d248..4bff4fa9e 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/GiftDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/GiftDetails.php @@ -19,7 +19,7 @@ final class GiftDetails extends Dto * @param ?string $giftWrapId Gift wrap identifier for the gift wrapping, if any. */ public function __construct( - public readonly ?string $giftMessage = null, - public readonly ?string $giftWrapId = null, + public ?string $giftMessage = null, + public ?string $giftWrapId = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ItemQuantity.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ItemQuantity.php index 407d23e2a..2f268da2e 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ItemQuantity.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ItemQuantity.php @@ -19,7 +19,7 @@ final class ItemQuantity extends Dto * @param ?string $unitOfMeasure Unit of measure for the acknowledged quantity. */ public function __construct( - public readonly ?int $amount = null, - public readonly ?string $unitOfMeasure = null, + public ?int $amount = null, + public ?string $unitOfMeasure = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Money.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Money.php index cf73e3d12..14367d9b9 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Money.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Money.php @@ -19,7 +19,7 @@ final class Money extends Dto * @param ?string $amount A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. */ public function __construct( - public readonly ?string $currencyCode = null, - public readonly ?string $amount = null, + public ?string $currencyCode = null, + public ?string $amount = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderAcknowledgementItem.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderAcknowledgementItem.php index a94df554a..76edcb131 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderAcknowledgementItem.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderAcknowledgementItem.php @@ -26,12 +26,12 @@ final class OrderAcknowledgementItem extends Dto * @param OrderItemAcknowledgement[] $itemAcknowledgements Item details including acknowledged quantity. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly string $vendorOrderNumber, - public readonly \DateTimeInterface $acknowledgementDate, - public readonly AcknowledgementStatus $acknowledgementStatus, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly array $itemAcknowledgements, + public string $purchaseOrderNumber, + public string $vendorOrderNumber, + public \DateTimeInterface $acknowledgementDate, + public AcknowledgementStatus $acknowledgementStatus, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public array $itemAcknowledgements, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderDetails.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderDetails.php index 033cf93e3..6574364f6 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderDetails.php @@ -29,15 +29,15 @@ final class OrderDetails extends Dto * @param ?TaxItemDetails $taxTotal Total tax details for the line item. */ public function __construct( - public readonly string $customerOrderNumber, - public readonly \DateTimeInterface $orderDate, - public readonly ShipmentDetails $shipmentDetails, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly Address $shipToParty, - public readonly PartyIdentification $billToParty, - public readonly array $items, - public readonly ?string $orderStatus = null, - public readonly ?TaxItemDetails $taxTotal = null, + public string $customerOrderNumber, + public \DateTimeInterface $orderDate, + public ShipmentDetails $shipmentDetails, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public Address $shipToParty, + public PartyIdentification $billToParty, + public array $items, + public ?string $orderStatus = null, + public ?TaxItemDetails $taxTotal = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderItem.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderItem.php index c56c706c5..c2dc12222 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderItem.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderItem.php @@ -28,16 +28,16 @@ final class OrderItem extends Dto * @param ?BuyerCustomizedInfoDetail $buyerCustomizedInfo The details of the products the vendor has configured as customizable. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ItemQuantity $orderedQuantity, - public readonly Money $netPrice, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?string $title = null, - public readonly ?ScheduledDeliveryShipment $scheduledDeliveryShipment = null, - public readonly ?GiftDetails $giftDetails = null, - public readonly ?TaxItemDetails $taxDetails = null, - public readonly ?Money $totalPrice = null, - public readonly ?BuyerCustomizedInfoDetail $buyerCustomizedInfo = null, + public string $itemSequenceNumber, + public ItemQuantity $orderedQuantity, + public Money $netPrice, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?string $title = null, + public ?ScheduledDeliveryShipment $scheduledDeliveryShipment = null, + public ?GiftDetails $giftDetails = null, + public ?TaxItemDetails $taxDetails = null, + public ?Money $totalPrice = null, + public ?BuyerCustomizedInfoDetail $buyerCustomizedInfo = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderItemAcknowledgement.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderItemAcknowledgement.php index 970961be0..c071920a9 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderItemAcknowledgement.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/OrderItemAcknowledgement.php @@ -21,9 +21,9 @@ final class OrderItemAcknowledgement extends Dto * @param ?string $vendorProductIdentifier The vendor selected product identification of the item. Should be the same as was provided in the purchase order. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ItemQuantity $acknowledgedQuantity, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, + public string $itemSequenceNumber, + public ItemQuantity $acknowledgedQuantity, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Pagination.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Pagination.php index b29f02c5e..3ddbe1ba8 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Pagination.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/Pagination.php @@ -18,6 +18,6 @@ final class Pagination extends Dto * @param ?string $nextToken A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more order items to return. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/PartyIdentification.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/PartyIdentification.php index 2e8f3253f..3d1814a0a 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/PartyIdentification.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/PartyIdentification.php @@ -20,8 +20,8 @@ final class PartyIdentification extends Dto * @param ?TaxRegistrationDetails $taxInfo Tax registration details of the entity. */ public function __construct( - public readonly string $partyId, - public readonly ?Address $address = null, - public readonly ?TaxRegistrationDetails $taxInfo = null, + public string $partyId, + public ?Address $address = null, + public ?TaxRegistrationDetails $taxInfo = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ScheduledDeliveryShipment.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ScheduledDeliveryShipment.php index 7be5fbdae..87417a53a 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ScheduledDeliveryShipment.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ScheduledDeliveryShipment.php @@ -20,8 +20,8 @@ final class ScheduledDeliveryShipment extends Dto * @param ?\DateTimeInterface $latestNominatedDeliveryDate Latest nominated delivery date for the scheduled delivery. */ public function __construct( - public readonly ?string $scheduledDeliveryServiceType = null, - public readonly ?\DateTimeInterface $earliestNominatedDeliveryDate = null, - public readonly ?\DateTimeInterface $latestNominatedDeliveryDate = null, + public ?string $scheduledDeliveryServiceType = null, + public ?\DateTimeInterface $earliestNominatedDeliveryDate = null, + public ?\DateTimeInterface $latestNominatedDeliveryDate = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ShipmentDates.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ShipmentDates.php index da1f9da0f..5d5e6ea98 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ShipmentDates.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ShipmentDates.php @@ -19,7 +19,7 @@ final class ShipmentDates extends Dto * @param ?\DateTimeInterface $promisedDeliveryDate Delivery date promised to the Amazon customer. */ public function __construct( - public readonly \DateTimeInterface $requiredShipDate, - public readonly ?\DateTimeInterface $promisedDeliveryDate = null, + public \DateTimeInterface $requiredShipDate, + public ?\DateTimeInterface $promisedDeliveryDate = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ShipmentDetails.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ShipmentDetails.php index e146c5e75..fe0adf86f 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ShipmentDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/ShipmentDetails.php @@ -24,12 +24,12 @@ final class ShipmentDetails extends Dto * @param ?bool $isGift When true, the order contain a gift. Include the gift message and gift wrap information. */ public function __construct( - public readonly bool $isPriorityShipment, - public readonly bool $isPslipRequired, - public readonly string $shipMethod, - public readonly ShipmentDates $shipmentDates, - public readonly string $messageToCustomer, - public readonly ?bool $isScheduledDeliveryShipment = null, - public readonly ?bool $isGift = null, + public bool $isPriorityShipment, + public bool $isPslipRequired, + public string $shipMethod, + public ShipmentDates $shipmentDates, + public string $messageToCustomer, + public ?bool $isScheduledDeliveryShipment = null, + public ?bool $isGift = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/SubmitAcknowledgementRequest.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/SubmitAcknowledgementRequest.php index 50d98bc71..bae4b2796 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/SubmitAcknowledgementRequest.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/SubmitAcknowledgementRequest.php @@ -20,6 +20,6 @@ final class SubmitAcknowledgementRequest extends Dto * @param OrderAcknowledgementItem[]|null $orderAcknowledgements A list of one or more purchase orders. */ public function __construct( - public readonly ?array $orderAcknowledgements = null, + public ?array $orderAcknowledgements = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/SubmitAcknowledgementResponse.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/SubmitAcknowledgementResponse.php index 5beb04d21..4a0a9a178 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/SubmitAcknowledgementResponse.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/SubmitAcknowledgementResponse.php @@ -21,7 +21,7 @@ final class SubmitAcknowledgementResponse extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly ?TransactionId $payload = null, - public readonly ?ErrorList $errors = null, + public ?TransactionId $payload = null, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxDetails.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxDetails.php index 36912f950..4cd070858 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxDetails.php @@ -21,9 +21,9 @@ final class TaxDetails extends Dto * @param ?string $type Tax type. */ public function __construct( - public readonly Money $taxAmount, - public readonly ?string $taxRate = null, - public readonly ?Money $taxableAmount = null, - public readonly ?string $type = null, + public Money $taxAmount, + public ?string $taxRate = null, + public ?Money $taxableAmount = null, + public ?string $type = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxItemDetails.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxItemDetails.php index 2b7b8e160..a6c0b0a2c 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxItemDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxItemDetails.php @@ -20,6 +20,6 @@ final class TaxItemDetails extends Dto * @param TaxDetails[]|null $taxLineItem A list of tax line items. */ public function __construct( - public readonly ?array $taxLineItem = null, + public ?array $taxLineItem = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxRegistrationDetails.php b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxRegistrationDetails.php index 3b87c5f8d..fea6a14e7 100644 --- a/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxRegistrationDetails.php +++ b/src/Vendor/DirectFulfillmentOrdersV20211228/Dto/TaxRegistrationDetails.php @@ -21,9 +21,9 @@ final class TaxRegistrationDetails extends Dto * @param ?string $taxRegistrationMessages Tax registration message that can be used for additional tax related details. */ public function __construct( - public readonly string $taxRegistrationNumber, - public readonly ?string $taxRegistrationType = null, - public readonly ?Address $taxRegistrationAddress = null, - public readonly ?string $taxRegistrationMessages = null, + public string $taxRegistrationNumber, + public ?string $taxRegistrationType = null, + public ?Address $taxRegistrationAddress = null, + public ?string $taxRegistrationMessages = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/AdditionalDetails.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/AdditionalDetails.php index f3f51b6cd..69fd0cf5d 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/AdditionalDetails.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/AdditionalDetails.php @@ -20,8 +20,8 @@ final class AdditionalDetails extends Dto * @param ?string $languageCode The language code of the additional information detail. */ public function __construct( - public readonly string $type, - public readonly string $detail, - public readonly ?string $languageCode = null, + public string $type, + public string $detail, + public ?string $languageCode = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/Address.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/Address.php index 575858bff..2c4806872 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/Address.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business or institution located at that address. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $city, - public readonly string $stateOrRegion, - public readonly string $postalCode, - public readonly string $countryCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $city, + public string $stateOrRegion, + public string $postalCode, + public string $countryCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $county = null, + public ?string $district = null, + public ?string $phone = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/ChargeDetails.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/ChargeDetails.php index 63b21da3f..0e5536820 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/ChargeDetails.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/ChargeDetails.php @@ -22,8 +22,8 @@ final class ChargeDetails extends Dto * @param TaxDetail[]|null $taxDetails Individual tax details per line item. */ public function __construct( - public readonly string $type, - public readonly Money $chargeAmount, - public readonly ?array $taxDetails = null, + public string $type, + public Money $chargeAmount, + public ?array $taxDetails = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/Error.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/Error.php index d572cd3d0..dca05db5a 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/Error.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/ErrorList.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/ErrorList.php index 0e2cbed19..a99a2e9e0 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/ErrorList.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/InvoiceDetail.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/InvoiceDetail.php index 951af3f25..d3616391e 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/InvoiceDetail.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/InvoiceDetail.php @@ -37,18 +37,18 @@ final class InvoiceDetail extends Dto * @param ChargeDetails[]|null $chargeDetails Total charge amount details for all line items. */ public function __construct( - public readonly string $invoiceNumber, - public readonly \DateTimeInterface $invoiceDate, - public readonly PartyIdentification $remitToParty, - public readonly PartyIdentification $shipFromParty, - public readonly Money $invoiceTotal, - public readonly array $items, - public readonly ?string $referenceNumber = null, - public readonly ?PartyIdentification $billToParty = null, - public readonly ?string $shipToCountryCode = null, - public readonly ?string $paymentTermsCode = null, - public readonly ?array $taxTotals = null, - public readonly ?array $additionalDetails = null, - public readonly ?array $chargeDetails = null, + public string $invoiceNumber, + public \DateTimeInterface $invoiceDate, + public PartyIdentification $remitToParty, + public PartyIdentification $shipFromParty, + public Money $invoiceTotal, + public array $items, + public ?string $referenceNumber = null, + public ?PartyIdentification $billToParty = null, + public ?string $shipToCountryCode = null, + public ?string $paymentTermsCode = null, + public ?array $taxTotals = null, + public ?array $additionalDetails = null, + public ?array $chargeDetails = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/InvoiceItem.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/InvoiceItem.php index 6ffff398d..d7810c5ea 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/InvoiceItem.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/InvoiceItem.php @@ -29,15 +29,15 @@ final class InvoiceItem extends Dto * @param ChargeDetails[]|null $chargeDetails Individual charge details per line item. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ItemQuantity $invoicedQuantity, - public readonly Money $netCost, - public readonly string $purchaseOrderNumber, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?string $vendorOrderNumber = null, - public readonly ?string $hsnCode = null, - public readonly ?array $taxDetails = null, - public readonly ?array $chargeDetails = null, + public string $itemSequenceNumber, + public ItemQuantity $invoicedQuantity, + public Money $netCost, + public string $purchaseOrderNumber, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?string $vendorOrderNumber = null, + public ?string $hsnCode = null, + public ?array $taxDetails = null, + public ?array $chargeDetails = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/ItemQuantity.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/ItemQuantity.php index 1f427ce3b..e01106cf3 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/ItemQuantity.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/ItemQuantity.php @@ -19,7 +19,7 @@ final class ItemQuantity extends Dto * @param string $unitOfMeasure Unit of measure for the available quantity. */ public function __construct( - public readonly int $amount, - public readonly string $unitOfMeasure, + public int $amount, + public string $unitOfMeasure, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/Money.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/Money.php index a396dbc4a..fc45cf0b7 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/Money.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/Money.php @@ -19,7 +19,7 @@ final class Money extends Dto * @param string $amount A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
**Pattern** : `^-?(0|([1-9]\d*))(\.\d+)?([eE][+-]?\d+)?$`. */ public function __construct( - public readonly string $currencyCode, - public readonly string $amount, + public string $currencyCode, + public string $amount, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/PartyIdentification.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/PartyIdentification.php index 844f26033..256335d2e 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/PartyIdentification.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/PartyIdentification.php @@ -22,8 +22,8 @@ final class PartyIdentification extends Dto * @param TaxRegistrationDetail[]|null $taxRegistrationDetails Tax registration details of the entity. */ public function __construct( - public readonly string $partyId, - public readonly ?Address $address = null, - public readonly ?array $taxRegistrationDetails = null, + public string $partyId, + public ?Address $address = null, + public ?array $taxRegistrationDetails = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/SubmitInvoiceRequest.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/SubmitInvoiceRequest.php index 9a1785b9e..783bfd234 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/SubmitInvoiceRequest.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/SubmitInvoiceRequest.php @@ -20,6 +20,6 @@ final class SubmitInvoiceRequest extends Dto * @param InvoiceDetail[]|null $invoices An array of invoice details you want to submit. */ public function __construct( - public readonly ?array $invoices = null, + public ?array $invoices = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/TaxDetail.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/TaxDetail.php index 82eb7a4d8..336a72820 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/TaxDetail.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/TaxDetail.php @@ -21,9 +21,9 @@ final class TaxDetail extends Dto * @param ?Money $taxableAmount An amount of money, including units in the form of currency. */ public function __construct( - public readonly string $taxType, - public readonly Money $taxAmount, - public readonly ?string $taxRate = null, - public readonly ?Money $taxableAmount = null, + public string $taxType, + public Money $taxAmount, + public ?string $taxRate = null, + public ?Money $taxableAmount = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/TaxRegistrationDetail.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/TaxRegistrationDetail.php index 8ce8acac9..951b1c812 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/TaxRegistrationDetail.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/TaxRegistrationDetail.php @@ -21,9 +21,9 @@ final class TaxRegistrationDetail extends Dto * @param ?string $taxRegistrationMessage Tax registration message that can be used for additional tax related details. */ public function __construct( - public readonly string $taxRegistrationNumber, - public readonly ?string $taxRegistrationType = null, - public readonly ?Address $taxRegistrationAddress = null, - public readonly ?string $taxRegistrationMessage = null, + public string $taxRegistrationNumber, + public ?string $taxRegistrationType = null, + public ?Address $taxRegistrationAddress = null, + public ?string $taxRegistrationMessage = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentPaymentV1/Dto/TransactionReference.php b/src/Vendor/DirectFulfillmentPaymentV1/Dto/TransactionReference.php index c7391385f..c90c807ba 100644 --- a/src/Vendor/DirectFulfillmentPaymentV1/Dto/TransactionReference.php +++ b/src/Vendor/DirectFulfillmentPaymentV1/Dto/TransactionReference.php @@ -18,6 +18,6 @@ final class TransactionReference extends Dto * @param ?string $transactionId GUID to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction. */ public function __construct( - public readonly ?string $transactionId = null, + public ?string $transactionId = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Error.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Error.php index e50b241b6..0ded718c4 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Error.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/GenerateOrderScenarioRequest.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/GenerateOrderScenarioRequest.php index eae253eb1..f6f53d875 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/GenerateOrderScenarioRequest.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/GenerateOrderScenarioRequest.php @@ -20,6 +20,6 @@ final class GenerateOrderScenarioRequest extends Dto * @param OrderScenarioRequest[]|null $orders The list of test orders requested as indicated by party identifiers. */ public function __construct( - public readonly ?array $orders = null, + public ?array $orders = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/OrderScenarioRequest.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/OrderScenarioRequest.php index 10c9d4a07..e3985f748 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/OrderScenarioRequest.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/OrderScenarioRequest.php @@ -19,7 +19,7 @@ final class OrderScenarioRequest extends Dto * @param PartyIdentification $shipFromParty The identification object for the party information. For example, warehouse code or vendor code. */ public function __construct( - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Pagination.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Pagination.php index deb42759b..02b180606 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Pagination.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Pagination.php @@ -18,6 +18,6 @@ final class Pagination extends Dto * @param ?string $nextToken A generated token that retrieves the next set of results. This token is specified in the next request. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/PartyIdentification.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/PartyIdentification.php index 61acc2c2c..10a7b29f4 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/PartyIdentification.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/PartyIdentification.php @@ -18,6 +18,6 @@ final class PartyIdentification extends Dto * @param string $partyId Assigned identification for the party. For example, warehouse code or vendor code. */ public function __construct( - public readonly string $partyId, + public string $partyId, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Scenario.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Scenario.php index a2914964a..4d0d8ae67 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Scenario.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Scenario.php @@ -21,7 +21,7 @@ final class Scenario extends Dto * @param TestOrder[] $orders A list of orders that can be used by the caller to test each life cycle or scenario. */ public function __construct( - public readonly string $scenarioId, - public readonly array $orders, + public string $scenarioId, + public array $orders, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/TestCaseData.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/TestCaseData.php index 25dc0e772..bafb5fb9b 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/TestCaseData.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/TestCaseData.php @@ -20,6 +20,6 @@ final class TestCaseData extends Dto * @param Scenario[]|null $scenarios Set of use cases that describes the possible test scenarios. */ public function __construct( - public readonly ?array $scenarios = null, + public ?array $scenarios = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/TestOrder.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/TestOrder.php index ef72c41ce..632de9601 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/TestOrder.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/TestOrder.php @@ -18,6 +18,6 @@ final class TestOrder extends Dto * @param string $orderId An error code that identifies the type of error that occurred. */ public function __construct( - public readonly string $orderId, + public string $orderId, ) {} } diff --git a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Transaction.php b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Transaction.php index 90297ded5..a835537c5 100644 --- a/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Transaction.php +++ b/src/Vendor/DirectFulfillmentSandboxV20211028/Dto/Transaction.php @@ -20,8 +20,8 @@ final class Transaction extends Dto * @param ?TestCaseData $testCaseData The set of test case data returned in response to the test data request. */ public function __construct( - public readonly string $transactionId, - public readonly string $status, - public readonly ?TestCaseData $testCaseData = null, + public string $transactionId, + public string $status, + public ?TestCaseData $testCaseData = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/Address.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/Address.php index 2dab04365..5aa720bce 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/Address.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business or institution located at that address. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $countryCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $stateOrRegion = null, - public readonly ?string $postalCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $countryCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $stateOrRegion = null, + public ?string $postalCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/Container.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/Container.php index 63e383f7b..abd5fa4b8 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/Container.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/Container.php @@ -31,17 +31,17 @@ final class Container extends Dto * @param ?Dimensions $dimensions Physical dimensional measurements of a container. */ public function __construct( - public readonly string $containerType, - public readonly string $containerIdentifier, - public readonly Weight $weight, - public readonly array $packedItems, - public readonly ?string $trackingNumber = null, - public readonly ?string $manifestId = null, - public readonly ?string $manifestDate = null, - public readonly ?string $shipMethod = null, - public readonly ?string $scacCode = null, - public readonly ?string $carrier = null, - public readonly ?int $containerSequenceNumber = null, - public readonly ?Dimensions $dimensions = null, + public string $containerType, + public string $containerIdentifier, + public Weight $weight, + public array $packedItems, + public ?string $trackingNumber = null, + public ?string $manifestId = null, + public ?string $manifestDate = null, + public ?string $shipMethod = null, + public ?string $scacCode = null, + public ?string $carrier = null, + public ?int $containerSequenceNumber = null, + public ?Dimensions $dimensions = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/CustomerInvoice.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/CustomerInvoice.php index e052fcf91..28e15cf8f 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/CustomerInvoice.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/CustomerInvoice.php @@ -19,7 +19,7 @@ final class CustomerInvoice extends Dto * @param string $content The `Base64encoded` customer invoice. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly string $content, + public string $purchaseOrderNumber, + public string $content, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/CustomerInvoiceList.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/CustomerInvoiceList.php index 486bfa778..6b7572a2c 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/CustomerInvoiceList.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/CustomerInvoiceList.php @@ -21,7 +21,7 @@ final class CustomerInvoiceList extends Dto * @param CustomerInvoice[]|null $customerInvoices Represents a customer invoice within the `CustomerInvoiceList`. */ public function __construct( - public readonly ?Pagination $pagination = null, - public readonly ?array $customerInvoices = null, + public ?Pagination $pagination = null, + public ?array $customerInvoices = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/Dimensions.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/Dimensions.php index d5ef5b7db..c56291491 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/Dimensions.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/Dimensions.php @@ -21,9 +21,9 @@ final class Dimensions extends Dto * @param string $unitOfMeasure The unit of measure for dimensions. */ public function __construct( - public readonly string $length, - public readonly string $width, - public readonly string $height, - public readonly string $unitOfMeasure, + public string $length, + public string $width, + public string $height, + public string $unitOfMeasure, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/Error.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/Error.php index 5172610d8..655131178 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/Error.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ErrorList.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ErrorList.php index 1a36ba3a0..56dca1730 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ErrorList.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/Item.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/Item.php index 2149215c2..b00e8e7c9 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/Item.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/Item.php @@ -21,9 +21,9 @@ final class Item extends Dto * @param ?string $vendorProductIdentifier The vendor selected product identification of the item. Should be the same as was sent in the purchase order, like SKU Number. */ public function __construct( - public readonly int $itemSequenceNumber, - public readonly ItemQuantity $shippedQuantity, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, + public int $itemSequenceNumber, + public ItemQuantity $shippedQuantity, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ItemQuantity.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ItemQuantity.php index 71c154f7b..31ca570f7 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ItemQuantity.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ItemQuantity.php @@ -19,7 +19,7 @@ final class ItemQuantity extends Dto * @param string $unitOfMeasure Unit of measure for the shipped quantity. */ public function __construct( - public readonly int $amount, - public readonly string $unitOfMeasure, + public int $amount, + public string $unitOfMeasure, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/LabelData.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/LabelData.php index 8c4f83812..e57e8eaf4 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/LabelData.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/LabelData.php @@ -22,10 +22,10 @@ final class LabelData extends Dto * @param ?string $shipMethodName Shipping method name for internal reference. */ public function __construct( - public readonly string $content, - public readonly ?string $packageIdentifier = null, - public readonly ?string $trackingNumber = null, - public readonly ?string $shipMethod = null, - public readonly ?string $shipMethodName = null, + public string $content, + public ?string $packageIdentifier = null, + public ?string $trackingNumber = null, + public ?string $shipMethod = null, + public ?string $shipMethodName = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/PackedItem.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/PackedItem.php index b355a332f..c28b97c4e 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/PackedItem.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/PackedItem.php @@ -21,9 +21,9 @@ final class PackedItem extends Dto * @param ?string $vendorProductIdentifier The vendor selected product identification of the item. Should be the same as was sent in the Purchase Order, like SKU Number. */ public function __construct( - public readonly int $itemSequenceNumber, - public readonly ItemQuantity $packedQuantity, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, + public int $itemSequenceNumber, + public ItemQuantity $packedQuantity, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/PackingSlip.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/PackingSlip.php index 290b501d6..c3abea7dd 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/PackingSlip.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/PackingSlip.php @@ -20,8 +20,8 @@ final class PackingSlip extends Dto * @param ?string $contentType The format of the file such as PDF, JPEG etc. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly string $content, - public readonly ?string $contentType = null, + public string $purchaseOrderNumber, + public string $content, + public ?string $contentType = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/PackingSlipList.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/PackingSlipList.php index fefca4948..820719cf9 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/PackingSlipList.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/PackingSlipList.php @@ -21,7 +21,7 @@ final class PackingSlipList extends Dto * @param PackingSlip[]|null $packingSlips An array of packing slip objects. */ public function __construct( - public readonly ?Pagination $pagination = null, - public readonly ?array $packingSlips = null, + public ?Pagination $pagination = null, + public ?array $packingSlips = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/Pagination.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/Pagination.php index 5517cad82..bc22b5a82 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/Pagination.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/Pagination.php @@ -18,6 +18,6 @@ final class Pagination extends Dto * @param ?string $nextToken A generated string used to pass information to your next request. If `NextToken` is returned, pass the value of `NextToken` to the next request. If `NextToken` is not returned, there are no more order items to return. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/PartyIdentification.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/PartyIdentification.php index 41072197e..b57b28bda 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/PartyIdentification.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/PartyIdentification.php @@ -22,8 +22,8 @@ final class PartyIdentification extends Dto * @param TaxRegistrationDetails[]|null $taxRegistrationDetails Tax registration details of the entity. */ public function __construct( - public readonly string $partyId, - public readonly ?Address $address = null, - public readonly ?array $taxRegistrationDetails = null, + public string $partyId, + public ?Address $address = null, + public ?array $taxRegistrationDetails = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentConfirmation.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentConfirmation.php index 66a17b1b7..7246d0c9e 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentConfirmation.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentConfirmation.php @@ -25,11 +25,11 @@ final class ShipmentConfirmation extends Dto * @param Container[]|null $containers Provide the details of the items in this shipment. If any of the item details field is common at a package or a pallet level, then provide them at the corresponding package. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly ShipmentDetails $shipmentDetails, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly array $items, - public readonly ?array $containers = null, + public string $purchaseOrderNumber, + public ShipmentDetails $shipmentDetails, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public array $items, + public ?array $containers = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentDetails.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentDetails.php index c0a20e7e8..1d44aad87 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentDetails.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentDetails.php @@ -22,10 +22,10 @@ final class ShipmentDetails extends Dto * @param ?\DateTimeInterface $estimatedDeliveryDate Date on which the shipment is expected to reach the buyer's warehouse. It needs to be an estimate based on the average transit time between the ship-from location and the destination. The exact appointment time will be provided by buyer and is potentially not known when creating the shipment confirmation. */ public function __construct( - public readonly \DateTimeInterface $shippedDate, - public readonly string $shipmentStatus, - public readonly ?bool $isPriorityShipment = null, - public readonly ?string $vendorOrderNumber = null, - public readonly ?\DateTimeInterface $estimatedDeliveryDate = null, + public \DateTimeInterface $shippedDate, + public string $shipmentStatus, + public ?bool $isPriorityShipment = null, + public ?string $vendorOrderNumber = null, + public ?\DateTimeInterface $estimatedDeliveryDate = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentSchedule.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentSchedule.php index 119b8f0d4..98d478bff 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentSchedule.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentSchedule.php @@ -20,8 +20,8 @@ final class ShipmentSchedule extends Dto * @param ?\DateTimeInterface $apptWindowEndDateTime This field indicates the date and time at the end of the appointment window scheduled to deliver the shipment. This field is expected to be in ISO 8601 date/time format, with UTC time zone or UTC offset. For example, `2020-07-16T23:00:00Z` or `2020-07-16T23:00:00+01:00`. */ public function __construct( - public readonly ?\DateTimeInterface $estimatedDeliveryDateTime = null, - public readonly ?\DateTimeInterface $apptWindowStartDateTime = null, - public readonly ?\DateTimeInterface $apptWindowEndDateTime = null, + public ?\DateTimeInterface $estimatedDeliveryDateTime = null, + public ?\DateTimeInterface $apptWindowStartDateTime = null, + public ?\DateTimeInterface $apptWindowEndDateTime = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentStatusUpdate.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentStatusUpdate.php index 79ab430fe..794a312c2 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentStatusUpdate.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShipmentStatusUpdate.php @@ -21,9 +21,9 @@ final class ShipmentStatusUpdate extends Dto * @param StatusUpdateDetails $statusUpdateDetails Details for the shipment status update given by the vendor for the specific package. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly StatusUpdateDetails $statusUpdateDetails, + public string $purchaseOrderNumber, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public StatusUpdateDetails $statusUpdateDetails, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabel.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabel.php index 64be6ed4e..1754ac58e 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabel.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabel.php @@ -24,10 +24,10 @@ final class ShippingLabel extends Dto * @param LabelData[] $labelData Provides the details of the packages in this shipment. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly string $labelFormat, - public readonly array $labelData, + public string $purchaseOrderNumber, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public string $labelFormat, + public array $labelData, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabelList.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabelList.php index c57ef0227..812d775f8 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabelList.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabelList.php @@ -21,7 +21,7 @@ final class ShippingLabelList extends Dto * @param ShippingLabel[]|null $shippingLabels An array containing the details of the generated shipping labels. */ public function __construct( - public readonly ?Pagination $pagination = null, - public readonly ?array $shippingLabels = null, + public ?Pagination $pagination = null, + public ?array $shippingLabels = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabelRequest.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabelRequest.php index a20f4a8ca..9a05ecaa3 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabelRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/ShippingLabelRequest.php @@ -23,9 +23,9 @@ final class ShippingLabelRequest extends Dto * @param Container[]|null $containers A list of the packages in this shipment. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly ?array $containers = null, + public string $purchaseOrderNumber, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public ?array $containers = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/StatusUpdateDetails.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/StatusUpdateDetails.php index 09afcf8b8..7469d1492 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/StatusUpdateDetails.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/StatusUpdateDetails.php @@ -23,11 +23,11 @@ final class StatusUpdateDetails extends Dto * @param ?ShipmentSchedule $shipmentSchedule Details for the scheduled delivery timeline for a shipment, including the estimated delivery date and time, as well as the start and end times of the appointment window for delivery. */ public function __construct( - public readonly string $trackingNumber, - public readonly string $statusCode, - public readonly string $reasonCode, - public readonly \DateTimeInterface $statusDateTime, - public readonly Address $statusLocationAddress, - public readonly ?ShipmentSchedule $shipmentSchedule = null, + public string $trackingNumber, + public string $statusCode, + public string $reasonCode, + public \DateTimeInterface $statusDateTime, + public Address $statusLocationAddress, + public ?ShipmentSchedule $shipmentSchedule = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShipmentConfirmationsRequest.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShipmentConfirmationsRequest.php index ec0c7e523..139035afa 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShipmentConfirmationsRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShipmentConfirmationsRequest.php @@ -20,6 +20,6 @@ final class SubmitShipmentConfirmationsRequest extends Dto * @param ShipmentConfirmation[]|null $shipmentConfirmations Array of `ShipmentConfirmation` objects, each representing confirmation details for a specific shipment. */ public function __construct( - public readonly ?array $shipmentConfirmations = null, + public ?array $shipmentConfirmations = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShipmentStatusUpdatesRequest.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShipmentStatusUpdatesRequest.php index 798c7c167..468dfc845 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShipmentStatusUpdatesRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShipmentStatusUpdatesRequest.php @@ -20,6 +20,6 @@ final class SubmitShipmentStatusUpdatesRequest extends Dto * @param ShipmentStatusUpdate[]|null $shipmentStatusUpdates Contains a list of one or more `ShipmentStatusUpdate` objects, each representing an update to the status of a specific shipment. */ public function __construct( - public readonly ?array $shipmentStatusUpdates = null, + public ?array $shipmentStatusUpdates = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShippingLabelsRequest.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShippingLabelsRequest.php index c5e1a001c..bec8e61a3 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShippingLabelsRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/SubmitShippingLabelsRequest.php @@ -20,6 +20,6 @@ final class SubmitShippingLabelsRequest extends Dto * @param ShippingLabelRequest[]|null $shippingLabelRequests An array of shipping label requests to be processed. */ public function __construct( - public readonly ?array $shippingLabelRequests = null, + public ?array $shippingLabelRequests = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/TaxRegistrationDetails.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/TaxRegistrationDetails.php index 02061f378..f3d268c8a 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/TaxRegistrationDetails.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/TaxRegistrationDetails.php @@ -21,9 +21,9 @@ final class TaxRegistrationDetails extends Dto * @param ?string $taxRegistrationMessages Tax registration message that can be used for additional tax related details. */ public function __construct( - public readonly string $taxRegistrationNumber, - public readonly ?string $taxRegistrationType = null, - public readonly ?Address $taxRegistrationAddress = null, - public readonly ?string $taxRegistrationMessages = null, + public string $taxRegistrationNumber, + public ?string $taxRegistrationType = null, + public ?Address $taxRegistrationAddress = null, + public ?string $taxRegistrationMessages = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/TransactionReference.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/TransactionReference.php index 7b2b2a955..c863df19a 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/TransactionReference.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/TransactionReference.php @@ -18,6 +18,6 @@ final class TransactionReference extends Dto * @param ?string $transactionId GUID to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction. */ public function __construct( - public readonly ?string $transactionId = null, + public ?string $transactionId = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV1/Dto/Weight.php b/src/Vendor/DirectFulfillmentShippingV1/Dto/Weight.php index 04091900b..0f823e7b8 100644 --- a/src/Vendor/DirectFulfillmentShippingV1/Dto/Weight.php +++ b/src/Vendor/DirectFulfillmentShippingV1/Dto/Weight.php @@ -19,7 +19,7 @@ final class Weight extends Dto * @param string $value A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
**Pattern** : `^-?(0|([1-9]\\d*))(\\.\\d+)?([eE][+-]?\\d+)?$`. */ public function __construct( - public readonly string $unitOfMeasure, - public readonly string $value, + public string $unitOfMeasure, + public string $value, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Address.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Address.php index 5864eec5d..9ce8022ca 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Address.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business or institution located at that address. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $countryCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $stateOrRegion = null, - public readonly ?string $postalCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $countryCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $stateOrRegion = null, + public ?string $postalCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Container.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Container.php index 5a5ac7f83..10b6c0e26 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Container.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Container.php @@ -31,17 +31,17 @@ final class Container extends Dto * @param ?Dimensions $dimensions Physical dimensional measurements of a container. */ public function __construct( - public readonly string $containerType, - public readonly string $containerIdentifier, - public readonly Weight $weight, - public readonly array $packedItems, - public readonly ?string $trackingNumber = null, - public readonly ?string $manifestId = null, - public readonly ?string $manifestDate = null, - public readonly ?string $shipMethod = null, - public readonly ?string $scacCode = null, - public readonly ?string $carrier = null, - public readonly ?int $containerSequenceNumber = null, - public readonly ?Dimensions $dimensions = null, + public string $containerType, + public string $containerIdentifier, + public Weight $weight, + public array $packedItems, + public ?string $trackingNumber = null, + public ?string $manifestId = null, + public ?string $manifestDate = null, + public ?string $shipMethod = null, + public ?string $scacCode = null, + public ?string $carrier = null, + public ?int $containerSequenceNumber = null, + public ?Dimensions $dimensions = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/CreateShippingLabelsRequest.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/CreateShippingLabelsRequest.php index d1881644d..c1ed5ad6b 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/CreateShippingLabelsRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/CreateShippingLabelsRequest.php @@ -22,8 +22,8 @@ final class CreateShippingLabelsRequest extends Dto * @param Container[]|null $containers A list of the packages in this shipment. */ public function __construct( - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly ?array $containers = null, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public ?array $containers = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Dimensions.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Dimensions.php index 2af8fa208..47137d091 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Dimensions.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Dimensions.php @@ -21,9 +21,9 @@ final class Dimensions extends Dto * @param string $unitOfMeasure The unit of measure for dimensions. */ public function __construct( - public readonly string $length, - public readonly string $width, - public readonly string $height, - public readonly string $unitOfMeasure, + public string $length, + public string $width, + public string $height, + public string $unitOfMeasure, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Error.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Error.php index b6f514a1b..89c06517d 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Error.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Item.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Item.php index 2919544ad..9c22531bb 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Item.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Item.php @@ -21,9 +21,9 @@ final class Item extends Dto * @param ?string $vendorProductIdentifier The vendor selected product identification of the item. Should be the same as was sent in the purchase order, like SKU Number. */ public function __construct( - public readonly int $itemSequenceNumber, - public readonly ItemQuantity $shippedQuantity, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, + public int $itemSequenceNumber, + public ItemQuantity $shippedQuantity, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ItemQuantity.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ItemQuantity.php index 45ac2a8e2..a8e593bfd 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ItemQuantity.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ItemQuantity.php @@ -19,7 +19,7 @@ final class ItemQuantity extends Dto * @param string $unitOfMeasure Unit of measure for the shipped quantity. */ public function __construct( - public readonly int $amount, - public readonly string $unitOfMeasure, + public int $amount, + public string $unitOfMeasure, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/LabelData.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/LabelData.php index 6c40cf601..aff57fec3 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/LabelData.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/LabelData.php @@ -22,10 +22,10 @@ final class LabelData extends Dto * @param ?string $shipMethodName Shipping method name for internal reference. */ public function __construct( - public readonly string $content, - public readonly ?string $packageIdentifier = null, - public readonly ?string $trackingNumber = null, - public readonly ?string $shipMethod = null, - public readonly ?string $shipMethodName = null, + public string $content, + public ?string $packageIdentifier = null, + public ?string $trackingNumber = null, + public ?string $shipMethod = null, + public ?string $shipMethodName = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/PackedItem.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/PackedItem.php index 954f151a9..9fdca40c0 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/PackedItem.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/PackedItem.php @@ -22,10 +22,10 @@ final class PackedItem extends Dto * @param ?string $vendorProductIdentifier The vendor selected product identification of the item. Should be the same as was sent in the Purchase Order, like SKU Number. */ public function __construct( - public readonly int $itemSequenceNumber, - public readonly ItemQuantity $packedQuantity, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?int $pieceNumber = null, - public readonly ?string $vendorProductIdentifier = null, + public int $itemSequenceNumber, + public ItemQuantity $packedQuantity, + public ?string $buyerProductIdentifier = null, + public ?int $pieceNumber = null, + public ?string $vendorProductIdentifier = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Pagination.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Pagination.php index 6c634ce8e..7a6ca002b 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Pagination.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Pagination.php @@ -18,6 +18,6 @@ final class Pagination extends Dto * @param ?string $nextToken A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more order items to return. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/PartyIdentification.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/PartyIdentification.php index 733b34cba..4fd5ade92 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/PartyIdentification.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/PartyIdentification.php @@ -22,8 +22,8 @@ final class PartyIdentification extends Dto * @param TaxRegistrationDetails[]|null $taxRegistrationDetails Tax registration details of the entity. */ public function __construct( - public readonly string $partyId, - public readonly ?Address $address = null, - public readonly ?array $taxRegistrationDetails = null, + public string $partyId, + public ?Address $address = null, + public ?array $taxRegistrationDetails = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentConfirmation.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentConfirmation.php index a3b188d6b..18f421214 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentConfirmation.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentConfirmation.php @@ -25,11 +25,11 @@ final class ShipmentConfirmation extends Dto * @param Container[]|null $containers Provide the details of the items in this shipment. If any of the item details field is common at a package or a pallet level, then provide them at the corresponding package. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly ShipmentDetails $shipmentDetails, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly array $items, - public readonly ?array $containers = null, + public string $purchaseOrderNumber, + public ShipmentDetails $shipmentDetails, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public array $items, + public ?array $containers = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentDetails.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentDetails.php index 2bb4a0b55..6b1401abd 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentDetails.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentDetails.php @@ -22,10 +22,10 @@ final class ShipmentDetails extends Dto * @param ?\DateTimeInterface $estimatedDeliveryDate Date on which the shipment is expected to reach the buyer's warehouse. It needs to be an estimate based on the average transit time between the ship-from location and the destination. The exact appointment time will be provided by buyer and is potentially not known when creating the shipment confirmation. */ public function __construct( - public readonly \DateTimeInterface $shippedDate, - public readonly string $shipmentStatus, - public readonly ?bool $isPriorityShipment = null, - public readonly ?string $vendorOrderNumber = null, - public readonly ?\DateTimeInterface $estimatedDeliveryDate = null, + public \DateTimeInterface $shippedDate, + public string $shipmentStatus, + public ?bool $isPriorityShipment = null, + public ?string $vendorOrderNumber = null, + public ?\DateTimeInterface $estimatedDeliveryDate = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentSchedule.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentSchedule.php index bf5e15e02..0adebc180 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentSchedule.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentSchedule.php @@ -20,8 +20,8 @@ final class ShipmentSchedule extends Dto * @param ?\DateTimeInterface $apptWindowEndDateTime This field indicates the date and time at the end of the appointment window scheduled to deliver the shipment. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00. */ public function __construct( - public readonly ?\DateTimeInterface $estimatedDeliveryDateTime = null, - public readonly ?\DateTimeInterface $apptWindowStartDateTime = null, - public readonly ?\DateTimeInterface $apptWindowEndDateTime = null, + public ?\DateTimeInterface $estimatedDeliveryDateTime = null, + public ?\DateTimeInterface $apptWindowStartDateTime = null, + public ?\DateTimeInterface $apptWindowEndDateTime = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentStatusUpdate.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentStatusUpdate.php index c1edb662e..3a7689769 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentStatusUpdate.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShipmentStatusUpdate.php @@ -21,9 +21,9 @@ final class ShipmentStatusUpdate extends Dto * @param StatusUpdateDetails $statusUpdateDetails Details for the shipment status update given by the vendor for the specific package. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly StatusUpdateDetails $statusUpdateDetails, + public string $purchaseOrderNumber, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public StatusUpdateDetails $statusUpdateDetails, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShippingLabelRequest.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShippingLabelRequest.php index f8357b484..cde81c8ec 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShippingLabelRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/ShippingLabelRequest.php @@ -23,9 +23,9 @@ final class ShippingLabelRequest extends Dto * @param Container[]|null $containers A list of the packages in this shipment. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly ?array $containers = null, + public string $purchaseOrderNumber, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public ?array $containers = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/StatusUpdateDetails.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/StatusUpdateDetails.php index 057710ad2..964cc73e5 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/StatusUpdateDetails.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/StatusUpdateDetails.php @@ -23,11 +23,11 @@ final class StatusUpdateDetails extends Dto * @param ?ShipmentSchedule $shipmentSchedule Details about the estimated delivery window. */ public function __construct( - public readonly string $trackingNumber, - public readonly string $statusCode, - public readonly string $reasonCode, - public readonly \DateTimeInterface $statusDateTime, - public readonly Address $statusLocationAddress, - public readonly ?ShipmentSchedule $shipmentSchedule = null, + public string $trackingNumber, + public string $statusCode, + public string $reasonCode, + public \DateTimeInterface $statusDateTime, + public Address $statusLocationAddress, + public ?ShipmentSchedule $shipmentSchedule = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShipmentConfirmationsRequest.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShipmentConfirmationsRequest.php index e1a76fda8..638d73b4e 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShipmentConfirmationsRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShipmentConfirmationsRequest.php @@ -20,6 +20,6 @@ final class SubmitShipmentConfirmationsRequest extends Dto * @param ShipmentConfirmation[]|null $shipmentConfirmations An array of `ShipmentConfirmation` objects, each represents confirmation details for a specific shipment. */ public function __construct( - public readonly ?array $shipmentConfirmations = null, + public ?array $shipmentConfirmations = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShipmentStatusUpdatesRequest.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShipmentStatusUpdatesRequest.php index 50e3c5c13..8757476e7 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShipmentStatusUpdatesRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShipmentStatusUpdatesRequest.php @@ -20,6 +20,6 @@ final class SubmitShipmentStatusUpdatesRequest extends Dto * @param ShipmentStatusUpdate[]|null $shipmentStatusUpdates Contains a list of one or more `ShipmentStatusUpdate` objects, each represents a status update of a specific shipment. */ public function __construct( - public readonly ?array $shipmentStatusUpdates = null, + public ?array $shipmentStatusUpdates = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShippingLabelsRequest.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShippingLabelsRequest.php index 7e78c7774..d98d8214a 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShippingLabelsRequest.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/SubmitShippingLabelsRequest.php @@ -20,6 +20,6 @@ final class SubmitShippingLabelsRequest extends Dto * @param ShippingLabelRequest[]|null $shippingLabelRequests An array of shipping label requests you want to process. */ public function __construct( - public readonly ?array $shippingLabelRequests = null, + public ?array $shippingLabelRequests = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/TaxRegistrationDetails.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/TaxRegistrationDetails.php index 611780be9..bb9d8e955 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/TaxRegistrationDetails.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/TaxRegistrationDetails.php @@ -21,9 +21,9 @@ final class TaxRegistrationDetails extends Dto * @param ?string $taxRegistrationMessages Tax registration message that can be used for additional tax related details. */ public function __construct( - public readonly string $taxRegistrationNumber, - public readonly ?string $taxRegistrationType = null, - public readonly ?Address $taxRegistrationAddress = null, - public readonly ?string $taxRegistrationMessages = null, + public string $taxRegistrationNumber, + public ?string $taxRegistrationType = null, + public ?Address $taxRegistrationAddress = null, + public ?string $taxRegistrationMessages = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Weight.php b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Weight.php index 6683aa95c..02ca22b30 100644 --- a/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Weight.php +++ b/src/Vendor/DirectFulfillmentShippingV20211228/Dto/Weight.php @@ -19,7 +19,7 @@ final class Weight extends Dto * @param string $value A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
**Pattern** : `^-?(0|([1-9]\\d*))(\\.\\d+)?([eE][+-]?\\d+)?$`. */ public function __construct( - public readonly string $unitOfMeasure, - public readonly string $value, + public string $unitOfMeasure, + public string $value, ) {} } diff --git a/src/Vendor/DirectFulfillmentTransactionsV1/Dto/Error.php b/src/Vendor/DirectFulfillmentTransactionsV1/Dto/Error.php index c39273e97..e83f61b1d 100644 --- a/src/Vendor/DirectFulfillmentTransactionsV1/Dto/Error.php +++ b/src/Vendor/DirectFulfillmentTransactionsV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentTransactionsV1/Dto/ErrorList.php b/src/Vendor/DirectFulfillmentTransactionsV1/Dto/ErrorList.php index 8f3697fcf..81475472b 100644 --- a/src/Vendor/DirectFulfillmentTransactionsV1/Dto/ErrorList.php +++ b/src/Vendor/DirectFulfillmentTransactionsV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/DirectFulfillmentTransactionsV1/Dto/Transaction.php b/src/Vendor/DirectFulfillmentTransactionsV1/Dto/Transaction.php index 5c1a1a5e4..a5a6af19d 100644 --- a/src/Vendor/DirectFulfillmentTransactionsV1/Dto/Transaction.php +++ b/src/Vendor/DirectFulfillmentTransactionsV1/Dto/Transaction.php @@ -20,8 +20,8 @@ final class Transaction extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly string $transactionId, - public readonly string $status, - public readonly ?ErrorList $errors = null, + public string $transactionId, + public string $status, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentTransactionsV1/Dto/TransactionStatus.php b/src/Vendor/DirectFulfillmentTransactionsV1/Dto/TransactionStatus.php index 0cfa58861..bf8c6c8b7 100644 --- a/src/Vendor/DirectFulfillmentTransactionsV1/Dto/TransactionStatus.php +++ b/src/Vendor/DirectFulfillmentTransactionsV1/Dto/TransactionStatus.php @@ -18,6 +18,6 @@ final class TransactionStatus extends Dto * @param ?Transaction $transactionStatus The transaction status details. */ public function __construct( - public readonly ?Transaction $transactionStatus = null, + public ?Transaction $transactionStatus = null, ) {} } diff --git a/src/Vendor/DirectFulfillmentTransactionsV20211228/Dto/Transaction.php b/src/Vendor/DirectFulfillmentTransactionsV20211228/Dto/Transaction.php index 40eeba65f..4c0ebfa56 100644 --- a/src/Vendor/DirectFulfillmentTransactionsV20211228/Dto/Transaction.php +++ b/src/Vendor/DirectFulfillmentTransactionsV20211228/Dto/Transaction.php @@ -21,8 +21,8 @@ final class Transaction extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly string $transactionId, - public readonly string $status, - public readonly ?ErrorList $errors = null, + public string $transactionId, + public string $status, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/AdditionalDetails.php b/src/Vendor/InvoicesV1/Dto/AdditionalDetails.php index f9b9db10c..2441c58b8 100644 --- a/src/Vendor/InvoicesV1/Dto/AdditionalDetails.php +++ b/src/Vendor/InvoicesV1/Dto/AdditionalDetails.php @@ -20,8 +20,8 @@ final class AdditionalDetails extends Dto * @param ?string $languageCode The language code of the additional information detail. */ public function __construct( - public readonly string $type, - public readonly string $detail, - public readonly ?string $languageCode = null, + public string $type, + public string $detail, + public ?string $languageCode = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/Address.php b/src/Vendor/InvoicesV1/Dto/Address.php index 803e39cc9..0f6f0066e 100644 --- a/src/Vendor/InvoicesV1/Dto/Address.php +++ b/src/Vendor/InvoicesV1/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business or institution located at that address. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $countryCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $stateOrRegion = null, - public readonly ?string $postalOrZipCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $countryCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $stateOrRegion = null, + public ?string $postalOrZipCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/AllowanceDetails.php b/src/Vendor/InvoicesV1/Dto/AllowanceDetails.php index fe768b7ef..a512a42d7 100644 --- a/src/Vendor/InvoicesV1/Dto/AllowanceDetails.php +++ b/src/Vendor/InvoicesV1/Dto/AllowanceDetails.php @@ -23,9 +23,9 @@ final class AllowanceDetails extends Dto * @param TaxDetails[]|null $taxDetails Tax amount details applied on this allowance. */ public function __construct( - public readonly string $type, - public readonly Money $allowanceAmount, - public readonly ?string $description = null, - public readonly ?array $taxDetails = null, + public string $type, + public Money $allowanceAmount, + public ?string $description = null, + public ?array $taxDetails = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/ChargeDetails.php b/src/Vendor/InvoicesV1/Dto/ChargeDetails.php index 3e6b34037..302c05449 100644 --- a/src/Vendor/InvoicesV1/Dto/ChargeDetails.php +++ b/src/Vendor/InvoicesV1/Dto/ChargeDetails.php @@ -23,9 +23,9 @@ final class ChargeDetails extends Dto * @param TaxDetails[]|null $taxDetails Tax amount details applied on this charge. */ public function __construct( - public readonly string $type, - public readonly Money $chargeAmount, - public readonly ?string $description = null, - public readonly ?array $taxDetails = null, + public string $type, + public Money $chargeAmount, + public ?string $description = null, + public ?array $taxDetails = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/CreditNoteDetails.php b/src/Vendor/InvoicesV1/Dto/CreditNoteDetails.php index 15135fb75..06ebe0c38 100644 --- a/src/Vendor/InvoicesV1/Dto/CreditNoteDetails.php +++ b/src/Vendor/InvoicesV1/Dto/CreditNoteDetails.php @@ -24,12 +24,12 @@ final class CreditNoteDetails extends Dto * @param ?string $consignorsReferenceNumber Identifies the consignor reference number (VRET number), if generated by Amazon. */ public function __construct( - public readonly ?string $referenceInvoiceNumber = null, - public readonly ?string $debitNoteNumber = null, - public readonly ?string $returnsReferenceNumber = null, - public readonly ?\DateTimeInterface $goodsReturnDate = null, - public readonly ?string $rmaId = null, - public readonly ?string $coopReferenceNumber = null, - public readonly ?string $consignorsReferenceNumber = null, + public ?string $referenceInvoiceNumber = null, + public ?string $debitNoteNumber = null, + public ?string $returnsReferenceNumber = null, + public ?\DateTimeInterface $goodsReturnDate = null, + public ?string $rmaId = null, + public ?string $coopReferenceNumber = null, + public ?string $consignorsReferenceNumber = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/Error.php b/src/Vendor/InvoicesV1/Dto/Error.php index 1ce677ccc..2bcfe5079 100644 --- a/src/Vendor/InvoicesV1/Dto/Error.php +++ b/src/Vendor/InvoicesV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/ErrorList.php b/src/Vendor/InvoicesV1/Dto/ErrorList.php index c283fcd3a..de48702df 100644 --- a/src/Vendor/InvoicesV1/Dto/ErrorList.php +++ b/src/Vendor/InvoicesV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/Invoice.php b/src/Vendor/InvoicesV1/Dto/Invoice.php index e4d03bd23..cc84c195b 100644 --- a/src/Vendor/InvoicesV1/Dto/Invoice.php +++ b/src/Vendor/InvoicesV1/Dto/Invoice.php @@ -40,20 +40,20 @@ final class Invoice extends Dto * @param InvoiceItem[]|null $items The list of invoice items. */ public function __construct( - public readonly string $invoiceType, - public readonly string $id, - public readonly \DateTimeInterface $date, - public readonly PartyIdentification $remitToParty, - public readonly Money $invoiceTotal, - public readonly ?string $referenceNumber = null, - public readonly ?PartyIdentification $shipToParty = null, - public readonly ?PartyIdentification $shipFromParty = null, - public readonly ?PartyIdentification $billToParty = null, - public readonly ?PaymentTerms $paymentTerms = null, - public readonly ?array $taxDetails = null, - public readonly ?array $additionalDetails = null, - public readonly ?array $chargeDetails = null, - public readonly ?array $allowanceDetails = null, - public readonly ?array $items = null, + public string $invoiceType, + public string $id, + public \DateTimeInterface $date, + public PartyIdentification $remitToParty, + public Money $invoiceTotal, + public ?string $referenceNumber = null, + public ?PartyIdentification $shipToParty = null, + public ?PartyIdentification $shipFromParty = null, + public ?PartyIdentification $billToParty = null, + public ?PaymentTerms $paymentTerms = null, + public ?array $taxDetails = null, + public ?array $additionalDetails = null, + public ?array $chargeDetails = null, + public ?array $allowanceDetails = null, + public ?array $items = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/InvoiceItem.php b/src/Vendor/InvoicesV1/Dto/InvoiceItem.php index 3e03b3d5e..5f49598a7 100644 --- a/src/Vendor/InvoicesV1/Dto/InvoiceItem.php +++ b/src/Vendor/InvoicesV1/Dto/InvoiceItem.php @@ -34,16 +34,16 @@ final class InvoiceItem extends Dto * @param AllowanceDetails[]|null $allowanceDetails Individual allowance details per line item. */ public function __construct( - public readonly int $itemSequenceNumber, - public readonly ItemQuantity $invoicedQuantity, - public readonly Money $netCost, - public readonly ?string $amazonProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?string $purchaseOrderNumber = null, - public readonly ?string $hsnCode = null, - public readonly ?CreditNoteDetails $creditNoteDetails = null, - public readonly ?array $taxDetails = null, - public readonly ?array $chargeDetails = null, - public readonly ?array $allowanceDetails = null, + public int $itemSequenceNumber, + public ItemQuantity $invoicedQuantity, + public Money $netCost, + public ?string $amazonProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?string $purchaseOrderNumber = null, + public ?string $hsnCode = null, + public ?CreditNoteDetails $creditNoteDetails = null, + public ?array $taxDetails = null, + public ?array $chargeDetails = null, + public ?array $allowanceDetails = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/ItemQuantity.php b/src/Vendor/InvoicesV1/Dto/ItemQuantity.php index d8cb8c5f0..b8c6fe997 100644 --- a/src/Vendor/InvoicesV1/Dto/ItemQuantity.php +++ b/src/Vendor/InvoicesV1/Dto/ItemQuantity.php @@ -20,8 +20,8 @@ final class ItemQuantity extends Dto * @param ?int $unitSize The case size, if the unit of measure value is `Cases`. */ public function __construct( - public readonly int $amount, - public readonly string $unitOfMeasure, - public readonly ?int $unitSize = null, + public int $amount, + public string $unitOfMeasure, + public ?int $unitSize = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/Money.php b/src/Vendor/InvoicesV1/Dto/Money.php index 325a77cd7..5255abf97 100644 --- a/src/Vendor/InvoicesV1/Dto/Money.php +++ b/src/Vendor/InvoicesV1/Dto/Money.php @@ -19,7 +19,7 @@ final class Money extends Dto * @param ?string $amount A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
**Pattern** : `^-?(0|([1-9]\d*))(\.\d+)?([eE][+-]?\d+)?$`. */ public function __construct( - public readonly ?string $currencyCode = null, - public readonly ?string $amount = null, + public ?string $currencyCode = null, + public ?string $amount = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/PartyIdentification.php b/src/Vendor/InvoicesV1/Dto/PartyIdentification.php index 9a42e3f99..e1a8d98ab 100644 --- a/src/Vendor/InvoicesV1/Dto/PartyIdentification.php +++ b/src/Vendor/InvoicesV1/Dto/PartyIdentification.php @@ -22,8 +22,8 @@ final class PartyIdentification extends Dto * @param TaxRegistrationDetails[]|null $taxRegistrationDetails Tax registration details of the party. */ public function __construct( - public readonly string $partyId, - public readonly ?Address $address = null, - public readonly ?array $taxRegistrationDetails = null, + public string $partyId, + public ?Address $address = null, + public ?array $taxRegistrationDetails = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/PaymentTerms.php b/src/Vendor/InvoicesV1/Dto/PaymentTerms.php index a21e16e07..78a31b8f0 100644 --- a/src/Vendor/InvoicesV1/Dto/PaymentTerms.php +++ b/src/Vendor/InvoicesV1/Dto/PaymentTerms.php @@ -21,9 +21,9 @@ final class PaymentTerms extends Dto * @param ?float $netDueDays The number of calendar days from the base date (invoice date) until the total amount on the invoice is due. */ public function __construct( - public readonly ?string $type = null, - public readonly ?string $discountPercent = null, - public readonly ?float $discountDueDays = null, - public readonly ?float $netDueDays = null, + public ?string $type = null, + public ?string $discountPercent = null, + public ?float $discountDueDays = null, + public ?float $netDueDays = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/SubmitInvoicesRequest.php b/src/Vendor/InvoicesV1/Dto/SubmitInvoicesRequest.php index eb2da6688..fe3d141bc 100644 --- a/src/Vendor/InvoicesV1/Dto/SubmitInvoicesRequest.php +++ b/src/Vendor/InvoicesV1/Dto/SubmitInvoicesRequest.php @@ -20,6 +20,6 @@ final class SubmitInvoicesRequest extends Dto * @param Invoice[]|null $invoices An array of Invoice objects representing the invoices or credit notes to be submitted. */ public function __construct( - public readonly ?array $invoices = null, + public ?array $invoices = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/TaxDetails.php b/src/Vendor/InvoicesV1/Dto/TaxDetails.php index 18625eee5..1f73f6c55 100644 --- a/src/Vendor/InvoicesV1/Dto/TaxDetails.php +++ b/src/Vendor/InvoicesV1/Dto/TaxDetails.php @@ -21,9 +21,9 @@ final class TaxDetails extends Dto * @param ?Money $taxableAmount An amount of money, including units in the form of currency. */ public function __construct( - public readonly string $taxType, - public readonly Money $taxAmount, - public readonly ?string $taxRate = null, - public readonly ?Money $taxableAmount = null, + public string $taxType, + public Money $taxAmount, + public ?string $taxRate = null, + public ?Money $taxableAmount = null, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/TaxRegistrationDetails.php b/src/Vendor/InvoicesV1/Dto/TaxRegistrationDetails.php index cf9bed923..95fbe24af 100644 --- a/src/Vendor/InvoicesV1/Dto/TaxRegistrationDetails.php +++ b/src/Vendor/InvoicesV1/Dto/TaxRegistrationDetails.php @@ -19,7 +19,7 @@ final class TaxRegistrationDetails extends Dto * @param string $taxRegistrationNumber The tax registration number for the entity. For example, VAT ID, Consumption Tax ID. */ public function __construct( - public readonly string $taxRegistrationType, - public readonly string $taxRegistrationNumber, + public string $taxRegistrationType, + public string $taxRegistrationNumber, ) {} } diff --git a/src/Vendor/InvoicesV1/Dto/TransactionId.php b/src/Vendor/InvoicesV1/Dto/TransactionId.php index 0fd5f551f..046962edb 100644 --- a/src/Vendor/InvoicesV1/Dto/TransactionId.php +++ b/src/Vendor/InvoicesV1/Dto/TransactionId.php @@ -18,6 +18,6 @@ final class TransactionId extends Dto * @param ?string $transactionId GUID to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction. */ public function __construct( - public readonly ?string $transactionId = null, + public ?string $transactionId = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/AcknowledgementStatus.php b/src/Vendor/OrdersV1/Dto/AcknowledgementStatus.php index 2add67221..8e78add57 100644 --- a/src/Vendor/OrdersV1/Dto/AcknowledgementStatus.php +++ b/src/Vendor/OrdersV1/Dto/AcknowledgementStatus.php @@ -23,9 +23,9 @@ final class AcknowledgementStatus extends Dto * @param AcknowledgementStatusDetails[]|null $acknowledgementStatusDetails Details of item quantity confirmed. */ public function __construct( - public readonly ?string $confirmationStatus = null, - public readonly ?ItemQuantity $acceptedQuantity = null, - public readonly ?ItemQuantity $rejectedQuantity = null, - public readonly ?array $acknowledgementStatusDetails = null, + public ?string $confirmationStatus = null, + public ?ItemQuantity $acceptedQuantity = null, + public ?ItemQuantity $rejectedQuantity = null, + public ?array $acknowledgementStatusDetails = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/AcknowledgementStatusDetails.php b/src/Vendor/OrdersV1/Dto/AcknowledgementStatusDetails.php index 68e1f7a67..637c293f7 100644 --- a/src/Vendor/OrdersV1/Dto/AcknowledgementStatusDetails.php +++ b/src/Vendor/OrdersV1/Dto/AcknowledgementStatusDetails.php @@ -20,8 +20,8 @@ final class AcknowledgementStatusDetails extends Dto * @param ?ItemQuantity $rejectedQuantity Details of quantity ordered. */ public function __construct( - public readonly ?\DateTimeInterface $acknowledgementDate = null, - public readonly ?ItemQuantity $acceptedQuantity = null, - public readonly ?ItemQuantity $rejectedQuantity = null, + public ?\DateTimeInterface $acknowledgementDate = null, + public ?ItemQuantity $acceptedQuantity = null, + public ?ItemQuantity $rejectedQuantity = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/Address.php b/src/Vendor/OrdersV1/Dto/Address.php index 2e3350ac7..595cd22da 100644 --- a/src/Vendor/OrdersV1/Dto/Address.php +++ b/src/Vendor/OrdersV1/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business or institution located at that address. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $countryCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $stateOrRegion = null, - public readonly ?string $postalCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $countryCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $stateOrRegion = null, + public ?string $postalCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/Error.php b/src/Vendor/OrdersV1/Dto/Error.php index f8f4f68de..63b36c3b8 100644 --- a/src/Vendor/OrdersV1/Dto/Error.php +++ b/src/Vendor/OrdersV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/ErrorList.php b/src/Vendor/OrdersV1/Dto/ErrorList.php index 114edfa39..543639edf 100644 --- a/src/Vendor/OrdersV1/Dto/ErrorList.php +++ b/src/Vendor/OrdersV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/ImportDetails.php b/src/Vendor/OrdersV1/Dto/ImportDetails.php index 46c5e43cf..c39ec7e45 100644 --- a/src/Vendor/OrdersV1/Dto/ImportDetails.php +++ b/src/Vendor/OrdersV1/Dto/ImportDetails.php @@ -22,10 +22,10 @@ final class ImportDetails extends Dto * @param ?string $shippingInstructions Special instructions regarding the shipment. This field is for import purchase orders. */ public function __construct( - public readonly ?string $methodOfPayment = null, - public readonly ?string $internationalCommercialTerms = null, - public readonly ?string $portOfDelivery = null, - public readonly ?string $importContainers = null, - public readonly ?string $shippingInstructions = null, + public ?string $methodOfPayment = null, + public ?string $internationalCommercialTerms = null, + public ?string $portOfDelivery = null, + public ?string $importContainers = null, + public ?string $shippingInstructions = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/ItemQuantity.php b/src/Vendor/OrdersV1/Dto/ItemQuantity.php index 5ea2ce153..09fde4bbf 100644 --- a/src/Vendor/OrdersV1/Dto/ItemQuantity.php +++ b/src/Vendor/OrdersV1/Dto/ItemQuantity.php @@ -20,8 +20,8 @@ final class ItemQuantity extends Dto * @param ?int $unitSize The case size, in the event that we ordered using cases. */ public function __construct( - public readonly ?int $amount = null, - public readonly ?string $unitOfMeasure = null, - public readonly ?int $unitSize = null, + public ?int $amount = null, + public ?string $unitOfMeasure = null, + public ?int $unitSize = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/Money.php b/src/Vendor/OrdersV1/Dto/Money.php index 060c081d5..3e87e85cd 100644 --- a/src/Vendor/OrdersV1/Dto/Money.php +++ b/src/Vendor/OrdersV1/Dto/Money.php @@ -20,8 +20,8 @@ final class Money extends Dto * @param ?string $unitOfMeasure The unit of measure for prices of items sold by weight. If this field is absent, the item is sold by eaches. */ public function __construct( - public readonly ?string $currencyCode = null, - public readonly ?string $amount = null, - public readonly ?string $unitOfMeasure = null, + public ?string $currencyCode = null, + public ?string $amount = null, + public ?string $unitOfMeasure = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/Order.php b/src/Vendor/OrdersV1/Dto/Order.php index ae4f6d052..a63397fa9 100644 --- a/src/Vendor/OrdersV1/Dto/Order.php +++ b/src/Vendor/OrdersV1/Dto/Order.php @@ -20,8 +20,8 @@ final class Order extends Dto * @param ?OrderDetails $orderDetails Details of an order. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly string $purchaseOrderState, - public readonly ?OrderDetails $orderDetails = null, + public string $purchaseOrderNumber, + public string $purchaseOrderState, + public ?OrderDetails $orderDetails = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderAcknowledgement.php b/src/Vendor/OrdersV1/Dto/OrderAcknowledgement.php index b1ffc3b61..0ad6a93a7 100644 --- a/src/Vendor/OrdersV1/Dto/OrderAcknowledgement.php +++ b/src/Vendor/OrdersV1/Dto/OrderAcknowledgement.php @@ -22,9 +22,9 @@ final class OrderAcknowledgement extends Dto * @param OrderAcknowledgementItem[] $items A list of the items being acknowledged with associated details. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly PartyIdentification $sellingParty, - public readonly \DateTimeInterface $acknowledgementDate, - public readonly array $items, + public string $purchaseOrderNumber, + public PartyIdentification $sellingParty, + public \DateTimeInterface $acknowledgementDate, + public array $items, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderAcknowledgementItem.php b/src/Vendor/OrdersV1/Dto/OrderAcknowledgementItem.php index 69096c5f3..31c403b91 100644 --- a/src/Vendor/OrdersV1/Dto/OrderAcknowledgementItem.php +++ b/src/Vendor/OrdersV1/Dto/OrderAcknowledgementItem.php @@ -27,13 +27,13 @@ final class OrderAcknowledgementItem extends Dto * @param ?string $discountMultiplier The discount multiplier that should be applied to the price if a vendor sells books with a list price. This is a multiplier factor to arrive at a final discounted price. A multiplier of .90 would be the factor if a 10% discount is given. */ public function __construct( - public readonly ItemQuantity $orderedQuantity, - public readonly array $itemAcknowledgements, - public readonly ?string $itemSequenceNumber = null, - public readonly ?string $amazonProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?Money $netCost = null, - public readonly ?Money $listPrice = null, - public readonly ?string $discountMultiplier = null, + public ItemQuantity $orderedQuantity, + public array $itemAcknowledgements, + public ?string $itemSequenceNumber = null, + public ?string $amazonProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?Money $netCost = null, + public ?Money $listPrice = null, + public ?string $discountMultiplier = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderDetails.php b/src/Vendor/OrdersV1/Dto/OrderDetails.php index 443c30cae..a260c6c85 100644 --- a/src/Vendor/OrdersV1/Dto/OrderDetails.php +++ b/src/Vendor/OrdersV1/Dto/OrderDetails.php @@ -29,19 +29,19 @@ final class OrderDetails extends Dto * @param ?string $deliveryWindow Defines a date time interval according to ISO8601. Interval is separated by double hyphen (--). */ public function __construct( - public readonly \DateTimeInterface $purchaseOrderDate, - public readonly \DateTimeInterface $purchaseOrderStateChangedDate, - public readonly array $items, - public readonly ?\DateTimeInterface $purchaseOrderChangedDate = null, - public readonly ?string $purchaseOrderType = null, - public readonly ?ImportDetails $importDetails = null, - public readonly ?string $dealCode = null, - public readonly ?string $paymentMethod = null, - public readonly ?PartyIdentification $buyingParty = null, - public readonly ?PartyIdentification $sellingParty = null, - public readonly ?PartyIdentification $shipToParty = null, - public readonly ?PartyIdentification $billToParty = null, - public readonly ?string $shipWindow = null, - public readonly ?string $deliveryWindow = null, + public \DateTimeInterface $purchaseOrderDate, + public \DateTimeInterface $purchaseOrderStateChangedDate, + public array $items, + public ?\DateTimeInterface $purchaseOrderChangedDate = null, + public ?string $purchaseOrderType = null, + public ?ImportDetails $importDetails = null, + public ?string $dealCode = null, + public ?string $paymentMethod = null, + public ?PartyIdentification $buyingParty = null, + public ?PartyIdentification $sellingParty = null, + public ?PartyIdentification $shipToParty = null, + public ?PartyIdentification $billToParty = null, + public ?string $shipWindow = null, + public ?string $deliveryWindow = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderItem.php b/src/Vendor/OrdersV1/Dto/OrderItem.php index f1e497540..c2c32433a 100644 --- a/src/Vendor/OrdersV1/Dto/OrderItem.php +++ b/src/Vendor/OrdersV1/Dto/OrderItem.php @@ -24,12 +24,12 @@ final class OrderItem extends Dto * @param ?Money $listPrice An amount of money. Includes the currency code and an optional unit of measure for items priced by weight. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ItemQuantity $orderedQuantity, - public readonly bool $isBackOrderAllowed, - public readonly ?string $amazonProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?Money $netCost = null, - public readonly ?Money $listPrice = null, + public string $itemSequenceNumber, + public ItemQuantity $orderedQuantity, + public bool $isBackOrderAllowed, + public ?string $amazonProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?Money $netCost = null, + public ?Money $listPrice = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderItemAcknowledgement.php b/src/Vendor/OrdersV1/Dto/OrderItemAcknowledgement.php index 066b130bd..941af1dd7 100644 --- a/src/Vendor/OrdersV1/Dto/OrderItemAcknowledgement.php +++ b/src/Vendor/OrdersV1/Dto/OrderItemAcknowledgement.php @@ -22,10 +22,10 @@ final class OrderItemAcknowledgement extends Dto * @param ?string $rejectionReason Indicates the reason for rejection. */ public function __construct( - public readonly string $acknowledgementCode, - public readonly ItemQuantity $acknowledgedQuantity, - public readonly ?\DateTimeInterface $scheduledShipDate = null, - public readonly ?\DateTimeInterface $scheduledDeliveryDate = null, - public readonly ?string $rejectionReason = null, + public string $acknowledgementCode, + public ItemQuantity $acknowledgedQuantity, + public ?\DateTimeInterface $scheduledShipDate = null, + public ?\DateTimeInterface $scheduledDeliveryDate = null, + public ?string $rejectionReason = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderItemStatus.php b/src/Vendor/OrdersV1/Dto/OrderItemStatus.php index b01029d28..342b6518f 100644 --- a/src/Vendor/OrdersV1/Dto/OrderItemStatus.php +++ b/src/Vendor/OrdersV1/Dto/OrderItemStatus.php @@ -25,13 +25,13 @@ final class OrderItemStatus extends Dto * @param ?ReceivingStatus $receivingStatus Item receive status at the buyer's warehouse. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?Money $netCost = null, - public readonly ?Money $listPrice = null, - public readonly ?OrderedQuantity $orderedQuantity = null, - public readonly ?AcknowledgementStatus $acknowledgementStatus = null, - public readonly ?ReceivingStatus $receivingStatus = null, + public string $itemSequenceNumber, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?Money $netCost = null, + public ?Money $listPrice = null, + public ?OrderedQuantity $orderedQuantity = null, + public ?AcknowledgementStatus $acknowledgementStatus = null, + public ?ReceivingStatus $receivingStatus = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderList.php b/src/Vendor/OrdersV1/Dto/OrderList.php index e8d11cf4f..7996a3e3d 100644 --- a/src/Vendor/OrdersV1/Dto/OrderList.php +++ b/src/Vendor/OrdersV1/Dto/OrderList.php @@ -20,7 +20,7 @@ final class OrderList extends Dto * @param Order[]|null $orders */ public function __construct( - public readonly ?Pagination $pagination = null, - public readonly ?array $orders = null, + public ?Pagination $pagination = null, + public ?array $orders = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderListStatus.php b/src/Vendor/OrdersV1/Dto/OrderListStatus.php index a865b28bd..b8f2a28de 100644 --- a/src/Vendor/OrdersV1/Dto/OrderListStatus.php +++ b/src/Vendor/OrdersV1/Dto/OrderListStatus.php @@ -20,7 +20,7 @@ final class OrderListStatus extends Dto * @param OrderStatus[]|null $ordersStatus */ public function __construct( - public readonly ?Pagination $pagination = null, - public readonly ?array $ordersStatus = null, + public ?Pagination $pagination = null, + public ?array $ordersStatus = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderStatus.php b/src/Vendor/OrdersV1/Dto/OrderStatus.php index 4569fb2c7..e45519645 100644 --- a/src/Vendor/OrdersV1/Dto/OrderStatus.php +++ b/src/Vendor/OrdersV1/Dto/OrderStatus.php @@ -24,12 +24,12 @@ final class OrderStatus extends Dto * @param ?\DateTimeInterface $lastUpdatedDate The date when the purchase order was last updated. Must be in ISO-8601 date/time format. */ public function __construct( - public readonly string $purchaseOrderNumber, - public readonly string $purchaseOrderStatus, - public readonly \DateTimeInterface $purchaseOrderDate, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipToParty, - public readonly array $itemStatus, - public readonly ?\DateTimeInterface $lastUpdatedDate = null, + public string $purchaseOrderNumber, + public string $purchaseOrderStatus, + public \DateTimeInterface $purchaseOrderDate, + public PartyIdentification $sellingParty, + public PartyIdentification $shipToParty, + public array $itemStatus, + public ?\DateTimeInterface $lastUpdatedDate = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderedQuantity.php b/src/Vendor/OrdersV1/Dto/OrderedQuantity.php index f9252d6c7..eeca87f49 100644 --- a/src/Vendor/OrdersV1/Dto/OrderedQuantity.php +++ b/src/Vendor/OrdersV1/Dto/OrderedQuantity.php @@ -21,7 +21,7 @@ final class OrderedQuantity extends Dto * @param OrderedQuantityDetails[]|null $orderedQuantityDetails Details of item quantity ordered. */ public function __construct( - public readonly ?ItemQuantity $orderedQuantity = null, - public readonly ?array $orderedQuantityDetails = null, + public ?ItemQuantity $orderedQuantity = null, + public ?array $orderedQuantityDetails = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/OrderedQuantityDetails.php b/src/Vendor/OrdersV1/Dto/OrderedQuantityDetails.php index 81123ff9a..6a2742006 100644 --- a/src/Vendor/OrdersV1/Dto/OrderedQuantityDetails.php +++ b/src/Vendor/OrdersV1/Dto/OrderedQuantityDetails.php @@ -20,8 +20,8 @@ final class OrderedQuantityDetails extends Dto * @param ?ItemQuantity $cancelledQuantity Details of quantity ordered. */ public function __construct( - public readonly ?\DateTimeInterface $updatedDate = null, - public readonly ?ItemQuantity $orderedQuantity = null, - public readonly ?ItemQuantity $cancelledQuantity = null, + public ?\DateTimeInterface $updatedDate = null, + public ?ItemQuantity $orderedQuantity = null, + public ?ItemQuantity $cancelledQuantity = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/Pagination.php b/src/Vendor/OrdersV1/Dto/Pagination.php index 3bb88cace..bba29422a 100644 --- a/src/Vendor/OrdersV1/Dto/Pagination.php +++ b/src/Vendor/OrdersV1/Dto/Pagination.php @@ -18,6 +18,6 @@ final class Pagination extends Dto * @param ?string $nextToken A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more purchase order items to return. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/PartyIdentification.php b/src/Vendor/OrdersV1/Dto/PartyIdentification.php index 35d45f5bb..f10da7dc6 100644 --- a/src/Vendor/OrdersV1/Dto/PartyIdentification.php +++ b/src/Vendor/OrdersV1/Dto/PartyIdentification.php @@ -20,8 +20,8 @@ final class PartyIdentification extends Dto * @param ?TaxRegistrationDetails $taxInfo Tax registration details of the entity. */ public function __construct( - public readonly string $partyId, - public readonly ?Address $address = null, - public readonly ?TaxRegistrationDetails $taxInfo = null, + public string $partyId, + public ?Address $address = null, + public ?TaxRegistrationDetails $taxInfo = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/ReceivingStatus.php b/src/Vendor/OrdersV1/Dto/ReceivingStatus.php index a77b6cfd7..e73be3d5c 100644 --- a/src/Vendor/OrdersV1/Dto/ReceivingStatus.php +++ b/src/Vendor/OrdersV1/Dto/ReceivingStatus.php @@ -20,8 +20,8 @@ final class ReceivingStatus extends Dto * @param ?\DateTimeInterface $lastReceiveDate The date when the most recent item was received at the buyer's warehouse. Must be in ISO-8601 date/time format. */ public function __construct( - public readonly ?string $receiveStatus = null, - public readonly ?ItemQuantity $receivedQuantity = null, - public readonly ?\DateTimeInterface $lastReceiveDate = null, + public ?string $receiveStatus = null, + public ?ItemQuantity $receivedQuantity = null, + public ?\DateTimeInterface $lastReceiveDate = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/SubmitAcknowledgementRequest.php b/src/Vendor/OrdersV1/Dto/SubmitAcknowledgementRequest.php index 0e368a694..dc33dad19 100644 --- a/src/Vendor/OrdersV1/Dto/SubmitAcknowledgementRequest.php +++ b/src/Vendor/OrdersV1/Dto/SubmitAcknowledgementRequest.php @@ -20,6 +20,6 @@ final class SubmitAcknowledgementRequest extends Dto * @param OrderAcknowledgement[]|null $acknowledgements */ public function __construct( - public readonly ?array $acknowledgements = null, + public ?array $acknowledgements = null, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/TaxRegistrationDetails.php b/src/Vendor/OrdersV1/Dto/TaxRegistrationDetails.php index b4151d667..a82930ac4 100644 --- a/src/Vendor/OrdersV1/Dto/TaxRegistrationDetails.php +++ b/src/Vendor/OrdersV1/Dto/TaxRegistrationDetails.php @@ -19,7 +19,7 @@ final class TaxRegistrationDetails extends Dto * @param string $taxRegistrationNumber Tax registration number for the entity. For example, VAT ID. */ public function __construct( - public readonly string $taxRegistrationType, - public readonly string $taxRegistrationNumber, + public string $taxRegistrationType, + public string $taxRegistrationNumber, ) {} } diff --git a/src/Vendor/OrdersV1/Dto/TransactionId.php b/src/Vendor/OrdersV1/Dto/TransactionId.php index 8e79eb96e..866a499c7 100644 --- a/src/Vendor/OrdersV1/Dto/TransactionId.php +++ b/src/Vendor/OrdersV1/Dto/TransactionId.php @@ -18,6 +18,6 @@ final class TransactionId extends Dto * @param ?string $transactionId GUID assigned by Amazon to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction. */ public function __construct( - public readonly ?string $transactionId = null, + public ?string $transactionId = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Address.php b/src/Vendor/ShipmentsV1/Dto/Address.php index d7e9d9dbe..346d36bee 100644 --- a/src/Vendor/ShipmentsV1/Dto/Address.php +++ b/src/Vendor/ShipmentsV1/Dto/Address.php @@ -28,16 +28,16 @@ final class Address extends Dto * @param ?string $phone The phone number of the person, business or institution located at that address. */ public function __construct( - public readonly string $name, - public readonly string $addressLine1, - public readonly string $countryCode, - public readonly ?string $addressLine2 = null, - public readonly ?string $addressLine3 = null, - public readonly ?string $city = null, - public readonly ?string $county = null, - public readonly ?string $district = null, - public readonly ?string $stateOrRegion = null, - public readonly ?string $postalCode = null, - public readonly ?string $phone = null, + public string $name, + public string $addressLine1, + public string $countryCode, + public ?string $addressLine2 = null, + public ?string $addressLine3 = null, + public ?string $city = null, + public ?string $county = null, + public ?string $district = null, + public ?string $stateOrRegion = null, + public ?string $postalCode = null, + public ?string $phone = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/CarrierDetails.php b/src/Vendor/ShipmentsV1/Dto/CarrierDetails.php index 7b532d415..bd4a4ce73 100644 --- a/src/Vendor/ShipmentsV1/Dto/CarrierDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/CarrierDetails.php @@ -22,10 +22,10 @@ final class CarrierDetails extends Dto * @param ?string $shipmentReferenceNumber The field is also known as PRO number is a unique number assigned by the carrier. It is used to identify and track the shipment that goes out for delivery. This field is mandatory for US, CA, MX shipment confirmations. */ public function __construct( - public readonly ?string $name = null, - public readonly ?string $code = null, - public readonly ?string $phone = null, - public readonly ?string $email = null, - public readonly ?string $shipmentReferenceNumber = null, + public ?string $name = null, + public ?string $code = null, + public ?string $phone = null, + public ?string $email = null, + public ?string $shipmentReferenceNumber = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Carton.php b/src/Vendor/ShipmentsV1/Dto/Carton.php index ee4fc14d5..e74394153 100644 --- a/src/Vendor/ShipmentsV1/Dto/Carton.php +++ b/src/Vendor/ShipmentsV1/Dto/Carton.php @@ -28,11 +28,11 @@ final class Carton extends Dto * @param ?string $trackingNumber This is required to be provided for every carton in the small parcel shipments. */ public function __construct( - public readonly string $cartonSequenceNumber, - public readonly array $items, - public readonly ?array $cartonIdentifiers = null, - public readonly ?Dimensions $dimensions = null, - public readonly ?Weight $weight = null, - public readonly ?string $trackingNumber = null, + public string $cartonSequenceNumber, + public array $items, + public ?array $cartonIdentifiers = null, + public ?Dimensions $dimensions = null, + public ?Weight $weight = null, + public ?string $trackingNumber = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/CartonReferenceDetails.php b/src/Vendor/ShipmentsV1/Dto/CartonReferenceDetails.php index 0f2dc9a79..66629b4aa 100644 --- a/src/Vendor/ShipmentsV1/Dto/CartonReferenceDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/CartonReferenceDetails.php @@ -19,7 +19,7 @@ final class CartonReferenceDetails extends Dto * @param ?int $cartonCount Pallet level carton count is mandatory for single item pallet and optional for mixed item pallet. */ public function __construct( - public readonly array $cartonReferenceNumbers, - public readonly ?int $cartonCount = null, + public array $cartonReferenceNumbers, + public ?int $cartonCount = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/CollectFreightPickupDetails.php b/src/Vendor/ShipmentsV1/Dto/CollectFreightPickupDetails.php index a63cf5e5d..c0e7cd41a 100644 --- a/src/Vendor/ShipmentsV1/Dto/CollectFreightPickupDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/CollectFreightPickupDetails.php @@ -20,8 +20,8 @@ final class CollectFreightPickupDetails extends Dto * @param ?\DateTimeInterface $carrierAssignmentDate Date on which the carrier is being scheduled to pickup items from vendor warehouse by Byer used for WePay/Collect vendors. */ public function __construct( - public readonly ?\DateTimeInterface $requestedPickUp = null, - public readonly ?\DateTimeInterface $scheduledPickUp = null, - public readonly ?\DateTimeInterface $carrierAssignmentDate = null, + public ?\DateTimeInterface $requestedPickUp = null, + public ?\DateTimeInterface $scheduledPickUp = null, + public ?\DateTimeInterface $carrierAssignmentDate = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ContainerIdentification.php b/src/Vendor/ShipmentsV1/Dto/ContainerIdentification.php index 017d9fadb..5e0ecf4e9 100644 --- a/src/Vendor/ShipmentsV1/Dto/ContainerIdentification.php +++ b/src/Vendor/ShipmentsV1/Dto/ContainerIdentification.php @@ -19,7 +19,7 @@ final class ContainerIdentification extends Dto * @param string $containerIdentificationNumber Container identification number that adheres to the definition of the container identification type. */ public function __construct( - public readonly string $containerIdentificationType, - public readonly string $containerIdentificationNumber, + public string $containerIdentificationType, + public string $containerIdentificationNumber, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ContainerItem.php b/src/Vendor/ShipmentsV1/Dto/ContainerItem.php index 525c5ff37..7b82152c5 100644 --- a/src/Vendor/ShipmentsV1/Dto/ContainerItem.php +++ b/src/Vendor/ShipmentsV1/Dto/ContainerItem.php @@ -20,8 +20,8 @@ final class ContainerItem extends Dto * @param ?ItemDetails $itemDetails Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate. */ public function __construct( - public readonly string $itemReference, - public readonly ItemQuantity $shippedQuantity, - public readonly ?ItemDetails $itemDetails = null, + public string $itemReference, + public ItemQuantity $shippedQuantity, + public ?ItemDetails $itemDetails = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ContainerSequenceNumbers.php b/src/Vendor/ShipmentsV1/Dto/ContainerSequenceNumbers.php index 3fb98d44f..e121ab567 100644 --- a/src/Vendor/ShipmentsV1/Dto/ContainerSequenceNumbers.php +++ b/src/Vendor/ShipmentsV1/Dto/ContainerSequenceNumbers.php @@ -18,6 +18,6 @@ final class ContainerSequenceNumbers extends Dto * @param ?string $containerSequenceNumber A list of containers shipped */ public function __construct( - public readonly ?string $containerSequenceNumber = null, + public ?string $containerSequenceNumber = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Containers.php b/src/Vendor/ShipmentsV1/Dto/Containers.php index 8e0d4370d..9c1c919bb 100644 --- a/src/Vendor/ShipmentsV1/Dto/Containers.php +++ b/src/Vendor/ShipmentsV1/Dto/Containers.php @@ -32,15 +32,15 @@ final class Containers extends Dto * @param PackedItems[]|null $packedItems A list of packed items. */ public function __construct( - public readonly string $containerType, - public readonly array $containerIdentifiers, - public readonly ?string $containerSequenceNumber = null, - public readonly ?string $trackingNumber = null, - public readonly ?Dimensions $dimensions = null, - public readonly ?Weight $weight = null, - public readonly ?int $tier = null, - public readonly ?int $block = null, - public readonly ?InnerContainersDetails $innerContainersDetails = null, - public readonly ?array $packedItems = null, + public string $containerType, + public array $containerIdentifiers, + public ?string $containerSequenceNumber = null, + public ?string $trackingNumber = null, + public ?Dimensions $dimensions = null, + public ?Weight $weight = null, + public ?int $tier = null, + public ?int $block = null, + public ?InnerContainersDetails $innerContainersDetails = null, + public ?array $packedItems = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Dimensions.php b/src/Vendor/ShipmentsV1/Dto/Dimensions.php index 8ef8f97bb..9f7cbdb14 100644 --- a/src/Vendor/ShipmentsV1/Dto/Dimensions.php +++ b/src/Vendor/ShipmentsV1/Dto/Dimensions.php @@ -21,9 +21,9 @@ final class Dimensions extends Dto * @param string $unitOfMeasure The unit of measure for dimensions. */ public function __construct( - public readonly string $length, - public readonly string $width, - public readonly string $height, - public readonly string $unitOfMeasure, + public string $length, + public string $width, + public string $height, + public string $unitOfMeasure, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Duration.php b/src/Vendor/ShipmentsV1/Dto/Duration.php index 07327c018..267825eda 100644 --- a/src/Vendor/ShipmentsV1/Dto/Duration.php +++ b/src/Vendor/ShipmentsV1/Dto/Duration.php @@ -19,7 +19,7 @@ final class Duration extends Dto * @param int $durationValue Value for the duration in terms of the durationUnit. */ public function __construct( - public readonly string $durationUnit, - public readonly int $durationValue, + public string $durationUnit, + public int $durationValue, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Error.php b/src/Vendor/ShipmentsV1/Dto/Error.php index 474df53a8..972d78f35 100644 --- a/src/Vendor/ShipmentsV1/Dto/Error.php +++ b/src/Vendor/ShipmentsV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ErrorList.php b/src/Vendor/ShipmentsV1/Dto/ErrorList.php index 76ff0de9a..15145159f 100644 --- a/src/Vendor/ShipmentsV1/Dto/ErrorList.php +++ b/src/Vendor/ShipmentsV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Expiry.php b/src/Vendor/ShipmentsV1/Dto/Expiry.php index 58d535840..3841497ef 100644 --- a/src/Vendor/ShipmentsV1/Dto/Expiry.php +++ b/src/Vendor/ShipmentsV1/Dto/Expiry.php @@ -20,8 +20,8 @@ final class Expiry extends Dto * @param ?Duration $expiryAfterDuration Duration after manufacturing date during which the product is valid for consumption. */ public function __construct( - public readonly ?\DateTimeInterface $manufacturerDate = null, - public readonly ?\DateTimeInterface $expiryDate = null, - public readonly ?Duration $expiryAfterDuration = null, + public ?\DateTimeInterface $manufacturerDate = null, + public ?\DateTimeInterface $expiryDate = null, + public ?Duration $expiryAfterDuration = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ImportDetails.php b/src/Vendor/ShipmentsV1/Dto/ImportDetails.php index f9266107a..4ba6ae5d9 100644 --- a/src/Vendor/ShipmentsV1/Dto/ImportDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/ImportDetails.php @@ -24,12 +24,12 @@ final class ImportDetails extends Dto * @param ?string $handlingInstructions Identification of the instructions on how specified item/carton/pallet should be handled. */ public function __construct( - public readonly ?string $methodOfPayment = null, - public readonly ?string $sealNumber = null, - public readonly ?Route $route = null, - public readonly ?string $importContainers = null, - public readonly ?Weight $billableWeight = null, - public readonly ?\DateTimeInterface $estimatedShipByDate = null, - public readonly ?string $handlingInstructions = null, + public ?string $methodOfPayment = null, + public ?string $sealNumber = null, + public ?Route $route = null, + public ?string $importContainers = null, + public ?Weight $billableWeight = null, + public ?\DateTimeInterface $estimatedShipByDate = null, + public ?string $handlingInstructions = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/InnerContainersDetails.php b/src/Vendor/ShipmentsV1/Dto/InnerContainersDetails.php index a43bf5f6b..34fe7696b 100644 --- a/src/Vendor/ShipmentsV1/Dto/InnerContainersDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/InnerContainersDetails.php @@ -21,7 +21,7 @@ final class InnerContainersDetails extends Dto * @param ContainerSequenceNumbers[]|null $containerSequenceNumbers Container sequence numbers that are involved in this shipment. */ public function __construct( - public readonly ?int $containerCount = null, - public readonly ?array $containerSequenceNumbers = null, + public ?int $containerCount = null, + public ?array $containerSequenceNumbers = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Item.php b/src/Vendor/ShipmentsV1/Dto/Item.php index 034bd8590..44148f7fe 100644 --- a/src/Vendor/ShipmentsV1/Dto/Item.php +++ b/src/Vendor/ShipmentsV1/Dto/Item.php @@ -22,10 +22,10 @@ final class Item extends Dto * @param ?ItemDetails $itemDetails Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ItemQuantity $shippedQuantity, - public readonly ?string $amazonProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?ItemDetails $itemDetails = null, + public string $itemSequenceNumber, + public ItemQuantity $shippedQuantity, + public ?string $amazonProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?ItemDetails $itemDetails = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ItemDetails.php b/src/Vendor/ShipmentsV1/Dto/ItemDetails.php index 42f77e941..82650ec46 100644 --- a/src/Vendor/ShipmentsV1/Dto/ItemDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/ItemDetails.php @@ -22,10 +22,10 @@ final class ItemDetails extends Dto * @param ?string $handlingCode Identification of the instructions on how specified item/carton/pallet should be handled. */ public function __construct( - public readonly ?string $purchaseOrderNumber = null, - public readonly ?string $lotNumber = null, - public readonly ?Expiry $expiry = null, - public readonly ?Money $maximumRetailPrice = null, - public readonly ?string $handlingCode = null, + public ?string $purchaseOrderNumber = null, + public ?string $lotNumber = null, + public ?Expiry $expiry = null, + public ?Money $maximumRetailPrice = null, + public ?string $handlingCode = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ItemQuantity.php b/src/Vendor/ShipmentsV1/Dto/ItemQuantity.php index 440d651ae..f6062729f 100644 --- a/src/Vendor/ShipmentsV1/Dto/ItemQuantity.php +++ b/src/Vendor/ShipmentsV1/Dto/ItemQuantity.php @@ -20,8 +20,8 @@ final class ItemQuantity extends Dto * @param ?int $unitSize The case size, in the event that we ordered using cases. Otherwise, 1. */ public function __construct( - public readonly int $amount, - public readonly string $unitOfMeasure, - public readonly ?int $unitSize = null, + public int $amount, + public string $unitOfMeasure, + public ?int $unitSize = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Location.php b/src/Vendor/ShipmentsV1/Dto/Location.php index 7802805ca..6381ca0a7 100644 --- a/src/Vendor/ShipmentsV1/Dto/Location.php +++ b/src/Vendor/ShipmentsV1/Dto/Location.php @@ -20,8 +20,8 @@ final class Location extends Dto * @param ?string $countryCode The two digit country code. In ISO 3166-1 alpha-2 format. */ public function __construct( - public readonly ?string $type = null, - public readonly ?string $locationCode = null, - public readonly ?string $countryCode = null, + public ?string $type = null, + public ?string $locationCode = null, + public ?string $countryCode = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Money.php b/src/Vendor/ShipmentsV1/Dto/Money.php index 0c44407ae..9abbfd78e 100644 --- a/src/Vendor/ShipmentsV1/Dto/Money.php +++ b/src/Vendor/ShipmentsV1/Dto/Money.php @@ -19,7 +19,7 @@ final class Money extends Dto * @param string $amount A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
**Pattern** : `^-?(0|([1-9]\d*))(\.\d+)?([eE][+-]?\d+)?$`. */ public function __construct( - public readonly string $currencyCode, - public readonly string $amount, + public string $currencyCode, + public string $amount, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/PackageItemDetails.php b/src/Vendor/ShipmentsV1/Dto/PackageItemDetails.php index 41f39aead..aaf45d12f 100644 --- a/src/Vendor/ShipmentsV1/Dto/PackageItemDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/PackageItemDetails.php @@ -20,8 +20,8 @@ final class PackageItemDetails extends Dto * @param ?Expiry $expiry Expiry refers to the collection of dates required for certain items. These could be either expiryDate or mfgDate and expiryAfterDuration. These are mandatory for perishable items. */ public function __construct( - public readonly ?string $purchaseOrderNumber = null, - public readonly ?string $lotNumber = null, - public readonly ?Expiry $expiry = null, + public ?string $purchaseOrderNumber = null, + public ?string $lotNumber = null, + public ?Expiry $expiry = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/PackedItems.php b/src/Vendor/ShipmentsV1/Dto/PackedItems.php index a051a9485..0e435fa0a 100644 --- a/src/Vendor/ShipmentsV1/Dto/PackedItems.php +++ b/src/Vendor/ShipmentsV1/Dto/PackedItems.php @@ -22,10 +22,10 @@ final class PackedItems extends Dto * @param ?PackageItemDetails $itemDetails Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate. */ public function __construct( - public readonly ?string $itemSequenceNumber = null, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?ItemQuantity $packedQuantity = null, - public readonly ?PackageItemDetails $itemDetails = null, + public ?string $itemSequenceNumber = null, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?ItemQuantity $packedQuantity = null, + public ?PackageItemDetails $itemDetails = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Pagination.php b/src/Vendor/ShipmentsV1/Dto/Pagination.php index f7f6bab79..628d1bebd 100644 --- a/src/Vendor/ShipmentsV1/Dto/Pagination.php +++ b/src/Vendor/ShipmentsV1/Dto/Pagination.php @@ -18,6 +18,6 @@ final class Pagination extends Dto * @param ?string $nextToken A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more shipment items to return. */ public function __construct( - public readonly ?string $nextToken = null, + public ?string $nextToken = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Pallet.php b/src/Vendor/ShipmentsV1/Dto/Pallet.php index 25d88ddfb..7b59774cf 100644 --- a/src/Vendor/ShipmentsV1/Dto/Pallet.php +++ b/src/Vendor/ShipmentsV1/Dto/Pallet.php @@ -29,12 +29,12 @@ final class Pallet extends Dto * @param ContainerItem[]|null $items A list of container item details. */ public function __construct( - public readonly array $palletIdentifiers, - public readonly ?int $tier = null, - public readonly ?int $block = null, - public readonly ?Dimensions $dimensions = null, - public readonly ?Weight $weight = null, - public readonly ?CartonReferenceDetails $cartonReferenceDetails = null, - public readonly ?array $items = null, + public array $palletIdentifiers, + public ?int $tier = null, + public ?int $block = null, + public ?Dimensions $dimensions = null, + public ?Weight $weight = null, + public ?CartonReferenceDetails $cartonReferenceDetails = null, + public ?array $items = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/PartyIdentification.php b/src/Vendor/ShipmentsV1/Dto/PartyIdentification.php index ba97d4545..8e4acc7b0 100644 --- a/src/Vendor/ShipmentsV1/Dto/PartyIdentification.php +++ b/src/Vendor/ShipmentsV1/Dto/PartyIdentification.php @@ -22,8 +22,8 @@ final class PartyIdentification extends Dto * @param TaxRegistrationDetails[]|null $taxRegistrationDetails Tax registration details of the entity. */ public function __construct( - public readonly string $partyId, - public readonly ?Address $address = null, - public readonly ?array $taxRegistrationDetails = null, + public string $partyId, + public ?Address $address = null, + public ?array $taxRegistrationDetails = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/PurchaseOrderItems.php b/src/Vendor/ShipmentsV1/Dto/PurchaseOrderItems.php index 116fa7e79..ae20ffa4f 100644 --- a/src/Vendor/ShipmentsV1/Dto/PurchaseOrderItems.php +++ b/src/Vendor/ShipmentsV1/Dto/PurchaseOrderItems.php @@ -22,10 +22,10 @@ final class PurchaseOrderItems extends Dto * @param ?Money $maximumRetailPrice An amount of money, including units in the form of currency. */ public function __construct( - public readonly string $itemSequenceNumber, - public readonly ItemQuantity $shippedQuantity, - public readonly ?string $buyerProductIdentifier = null, - public readonly ?string $vendorProductIdentifier = null, - public readonly ?Money $maximumRetailPrice = null, + public string $itemSequenceNumber, + public ItemQuantity $shippedQuantity, + public ?string $buyerProductIdentifier = null, + public ?string $vendorProductIdentifier = null, + public ?Money $maximumRetailPrice = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/PurchaseOrders.php b/src/Vendor/ShipmentsV1/Dto/PurchaseOrders.php index 3c53446d3..c1e61ebd6 100644 --- a/src/Vendor/ShipmentsV1/Dto/PurchaseOrders.php +++ b/src/Vendor/ShipmentsV1/Dto/PurchaseOrders.php @@ -23,9 +23,9 @@ final class PurchaseOrders extends Dto * @param PurchaseOrderItems[]|null $items A list of the items that are associated to the PO in this transport and their associated details. */ public function __construct( - public readonly ?string $purchaseOrderNumber = null, - public readonly ?\DateTimeInterface $purchaseOrderDate = null, - public readonly ?string $shipWindow = null, - public readonly ?array $items = null, + public ?string $purchaseOrderNumber = null, + public ?\DateTimeInterface $purchaseOrderDate = null, + public ?string $shipWindow = null, + public ?array $items = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Route.php b/src/Vendor/ShipmentsV1/Dto/Route.php index c045940bf..8d8cc07e7 100644 --- a/src/Vendor/ShipmentsV1/Dto/Route.php +++ b/src/Vendor/ShipmentsV1/Dto/Route.php @@ -20,6 +20,6 @@ final class Route extends Dto * @param Stop[] $stops The port or location involved in transporting the cargo, as specified in transportation contracts or operational plans. */ public function __construct( - public readonly array $stops, + public array $stops, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Shipment.php b/src/Vendor/ShipmentsV1/Dto/Shipment.php index b05a5d441..012f5a2a9 100644 --- a/src/Vendor/ShipmentsV1/Dto/Shipment.php +++ b/src/Vendor/ShipmentsV1/Dto/Shipment.php @@ -43,25 +43,25 @@ final class Shipment extends Dto * @param ?TransportationDetails $transportationDetails Transportation details for this shipment. */ public function __construct( - public readonly string $vendorShipmentIdentifier, - public readonly string $transactionType, - public readonly \DateTimeInterface $transactionDate, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly PartyIdentification $shipToParty, - public readonly ?string $buyerReferenceNumber = null, - public readonly ?string $currentShipmentStatus = null, - public readonly ?\DateTimeInterface $currentshipmentStatusDate = null, - public readonly ?array $shipmentStatusDetails = null, - public readonly ?\DateTimeInterface $shipmentCreateDate = null, - public readonly ?\DateTimeInterface $shipmentConfirmDate = null, - public readonly ?\DateTimeInterface $packageLabelCreateDate = null, - public readonly ?string $shipmentFreightTerm = null, - public readonly ?TransportShipmentMeasurements $shipmentMeasurements = null, - public readonly ?CollectFreightPickupDetails $collectFreightPickupDetails = null, - public readonly ?array $purchaseOrders = null, - public readonly ?ImportDetails $importDetails = null, - public readonly ?array $containers = null, - public readonly ?TransportationDetails $transportationDetails = null, + public string $vendorShipmentIdentifier, + public string $transactionType, + public \DateTimeInterface $transactionDate, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public PartyIdentification $shipToParty, + public ?string $buyerReferenceNumber = null, + public ?string $currentShipmentStatus = null, + public ?\DateTimeInterface $currentshipmentStatusDate = null, + public ?array $shipmentStatusDetails = null, + public ?\DateTimeInterface $shipmentCreateDate = null, + public ?\DateTimeInterface $shipmentConfirmDate = null, + public ?\DateTimeInterface $packageLabelCreateDate = null, + public ?string $shipmentFreightTerm = null, + public ?TransportShipmentMeasurements $shipmentMeasurements = null, + public ?CollectFreightPickupDetails $collectFreightPickupDetails = null, + public ?array $purchaseOrders = null, + public ?ImportDetails $importDetails = null, + public ?array $containers = null, + public ?TransportationDetails $transportationDetails = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ShipmentConfirmation.php b/src/Vendor/ShipmentsV1/Dto/ShipmentConfirmation.php index e5cbd567b..0c3280771 100644 --- a/src/Vendor/ShipmentsV1/Dto/ShipmentConfirmation.php +++ b/src/Vendor/ShipmentsV1/Dto/ShipmentConfirmation.php @@ -40,22 +40,22 @@ final class ShipmentConfirmation extends Dto * @param Pallet[]|null $pallets A list of the pallets in this shipment. */ public function __construct( - public readonly string $shipmentIdentifier, - public readonly string $shipmentConfirmationType, - public readonly \DateTimeInterface $shipmentConfirmationDate, - public readonly PartyIdentification $sellingParty, - public readonly PartyIdentification $shipFromParty, - public readonly PartyIdentification $shipToParty, - public readonly array $shippedItems, - public readonly ?string $shipmentType = null, - public readonly ?string $shipmentStructure = null, - public readonly ?TransportationDetailsForShipmentConfirmation $transportationDetails = null, - public readonly ?string $amazonReferenceNumber = null, - public readonly ?\DateTimeInterface $shippedDate = null, - public readonly ?\DateTimeInterface $estimatedDeliveryDate = null, - public readonly ?ShipmentMeasurements $shipmentMeasurements = null, - public readonly ?ImportDetails $importDetails = null, - public readonly ?array $cartons = null, - public readonly ?array $pallets = null, + public string $shipmentIdentifier, + public string $shipmentConfirmationType, + public \DateTimeInterface $shipmentConfirmationDate, + public PartyIdentification $sellingParty, + public PartyIdentification $shipFromParty, + public PartyIdentification $shipToParty, + public array $shippedItems, + public ?string $shipmentType = null, + public ?string $shipmentStructure = null, + public ?TransportationDetailsForShipmentConfirmation $transportationDetails = null, + public ?string $amazonReferenceNumber = null, + public ?\DateTimeInterface $shippedDate = null, + public ?\DateTimeInterface $estimatedDeliveryDate = null, + public ?ShipmentMeasurements $shipmentMeasurements = null, + public ?ImportDetails $importDetails = null, + public ?array $cartons = null, + public ?array $pallets = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ShipmentDetails.php b/src/Vendor/ShipmentsV1/Dto/ShipmentDetails.php index 455414b27..6edd8b943 100644 --- a/src/Vendor/ShipmentsV1/Dto/ShipmentDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/ShipmentDetails.php @@ -21,7 +21,7 @@ final class ShipmentDetails extends Dto * @param Shipment[]|null $shipments A list of one or more shipments with underlying details. */ public function __construct( - public readonly ?Pagination $pagination = null, - public readonly ?array $shipments = null, + public ?Pagination $pagination = null, + public ?array $shipments = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ShipmentMeasurements.php b/src/Vendor/ShipmentsV1/Dto/ShipmentMeasurements.php index 86d05d46f..73f6f9cbc 100644 --- a/src/Vendor/ShipmentsV1/Dto/ShipmentMeasurements.php +++ b/src/Vendor/ShipmentsV1/Dto/ShipmentMeasurements.php @@ -21,9 +21,9 @@ final class ShipmentMeasurements extends Dto * @param ?int $palletCount Number of pallets present in the shipment. Provide the palletCount only for palletized shipments. */ public function __construct( - public readonly ?Weight $grossShipmentWeight = null, - public readonly ?Volume $shipmentVolume = null, - public readonly ?int $cartonCount = null, - public readonly ?int $palletCount = null, + public ?Weight $grossShipmentWeight = null, + public ?Volume $shipmentVolume = null, + public ?int $cartonCount = null, + public ?int $palletCount = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/ShipmentStatusDetails.php b/src/Vendor/ShipmentsV1/Dto/ShipmentStatusDetails.php index 7e44f40bd..4a5d9d143 100644 --- a/src/Vendor/ShipmentsV1/Dto/ShipmentStatusDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/ShipmentStatusDetails.php @@ -19,7 +19,7 @@ final class ShipmentStatusDetails extends Dto * @param ?\DateTimeInterface $shipmentStatusDate Date and time on last status update received for the shipment */ public function __construct( - public readonly ?string $shipmentStatus = null, - public readonly ?\DateTimeInterface $shipmentStatusDate = null, + public ?string $shipmentStatus = null, + public ?\DateTimeInterface $shipmentStatusDate = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Stop.php b/src/Vendor/ShipmentsV1/Dto/Stop.php index f7f886f7e..b1e6fb16b 100644 --- a/src/Vendor/ShipmentsV1/Dto/Stop.php +++ b/src/Vendor/ShipmentsV1/Dto/Stop.php @@ -21,9 +21,9 @@ final class Stop extends Dto * @param ?\DateTimeInterface $departureTime Date and time of the departure of the cargo. */ public function __construct( - public readonly string $functionCode, - public readonly ?Location $locationIdentification = null, - public readonly ?\DateTimeInterface $arrivalTime = null, - public readonly ?\DateTimeInterface $departureTime = null, + public string $functionCode, + public ?Location $locationIdentification = null, + public ?\DateTimeInterface $arrivalTime = null, + public ?\DateTimeInterface $departureTime = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/SubmitShipmentConfirmationsRequest.php b/src/Vendor/ShipmentsV1/Dto/SubmitShipmentConfirmationsRequest.php index 5ad02f859..219fa5ff7 100644 --- a/src/Vendor/ShipmentsV1/Dto/SubmitShipmentConfirmationsRequest.php +++ b/src/Vendor/ShipmentsV1/Dto/SubmitShipmentConfirmationsRequest.php @@ -20,6 +20,6 @@ final class SubmitShipmentConfirmationsRequest extends Dto * @param ShipmentConfirmation[]|null $shipmentConfirmations A list of one or more shipment confirmations. */ public function __construct( - public readonly ?array $shipmentConfirmations = null, + public ?array $shipmentConfirmations = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/SubmitShipments.php b/src/Vendor/ShipmentsV1/Dto/SubmitShipments.php index 70214eed2..84ef05221 100644 --- a/src/Vendor/ShipmentsV1/Dto/SubmitShipments.php +++ b/src/Vendor/ShipmentsV1/Dto/SubmitShipments.php @@ -20,6 +20,6 @@ final class SubmitShipments extends Dto * @param Shipment[]|null $shipments A list of one or more shipments with underlying details. */ public function __construct( - public readonly ?array $shipments = null, + public ?array $shipments = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/TaxRegistrationDetails.php b/src/Vendor/ShipmentsV1/Dto/TaxRegistrationDetails.php index a150a440d..959eae089 100644 --- a/src/Vendor/ShipmentsV1/Dto/TaxRegistrationDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/TaxRegistrationDetails.php @@ -19,7 +19,7 @@ final class TaxRegistrationDetails extends Dto * @param string $taxRegistrationNumber Tax registration number for the entity. For example, VAT ID. */ public function __construct( - public readonly string $taxRegistrationType, - public readonly string $taxRegistrationNumber, + public string $taxRegistrationType, + public string $taxRegistrationNumber, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/TransactionReference.php b/src/Vendor/ShipmentsV1/Dto/TransactionReference.php index 062b72cea..884a02418 100644 --- a/src/Vendor/ShipmentsV1/Dto/TransactionReference.php +++ b/src/Vendor/ShipmentsV1/Dto/TransactionReference.php @@ -18,6 +18,6 @@ final class TransactionReference extends Dto * @param ?string $transactionId GUID assigned by Buyer to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction. */ public function __construct( - public readonly ?string $transactionId = null, + public ?string $transactionId = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/TransportShipmentMeasurements.php b/src/Vendor/ShipmentsV1/Dto/TransportShipmentMeasurements.php index 8fa9ae518..9f8ae529c 100644 --- a/src/Vendor/ShipmentsV1/Dto/TransportShipmentMeasurements.php +++ b/src/Vendor/ShipmentsV1/Dto/TransportShipmentMeasurements.php @@ -22,10 +22,10 @@ final class TransportShipmentMeasurements extends Dto * @param ?Volume $shipmentVolume The volume of the shipment. */ public function __construct( - public readonly ?int $totalCartonCount = null, - public readonly ?int $totalPalletStackable = null, - public readonly ?int $totalPalletNonStackable = null, - public readonly ?Weight $shipmentWeight = null, - public readonly ?Volume $shipmentVolume = null, + public ?int $totalCartonCount = null, + public ?int $totalPalletStackable = null, + public ?int $totalPalletNonStackable = null, + public ?Weight $shipmentWeight = null, + public ?Volume $shipmentVolume = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/TransportationDetails.php b/src/Vendor/ShipmentsV1/Dto/TransportationDetails.php index fe198a77a..322571edd 100644 --- a/src/Vendor/ShipmentsV1/Dto/TransportationDetails.php +++ b/src/Vendor/ShipmentsV1/Dto/TransportationDetails.php @@ -24,12 +24,12 @@ final class TransportationDetails extends Dto * @param ?string $billOfLadingNumber The Bill of Lading (BOL) number is a unique number assigned to each shipment of goods by the vendor or shipper during the creation of the Bill of Lading. This number must be unique for every shipment and cannot be a date/time or single character. The BOL numer is mandatory in Shipment Confirmation message for FTL and LTL shipments, and must match the paper BOL provided with the shipment. Instead of BOL, an alternative reference number (like Delivery Note Number) for the shipment can also be sent in this field. */ public function __construct( - public readonly ?string $shipMode = null, - public readonly ?string $transportationMode = null, - public readonly ?\DateTimeInterface $shippedDate = null, - public readonly ?\DateTimeInterface $estimatedDeliveryDate = null, - public readonly ?\DateTimeInterface $shipmentDeliveryDate = null, - public readonly ?CarrierDetails $carrierDetails = null, - public readonly ?string $billOfLadingNumber = null, + public ?string $shipMode = null, + public ?string $transportationMode = null, + public ?\DateTimeInterface $shippedDate = null, + public ?\DateTimeInterface $estimatedDeliveryDate = null, + public ?\DateTimeInterface $shipmentDeliveryDate = null, + public ?CarrierDetails $carrierDetails = null, + public ?string $billOfLadingNumber = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/TransportationDetailsForShipmentConfirmation.php b/src/Vendor/ShipmentsV1/Dto/TransportationDetailsForShipmentConfirmation.php index 473f9805b..d5eb0a69d 100644 --- a/src/Vendor/ShipmentsV1/Dto/TransportationDetailsForShipmentConfirmation.php +++ b/src/Vendor/ShipmentsV1/Dto/TransportationDetailsForShipmentConfirmation.php @@ -21,9 +21,9 @@ final class TransportationDetailsForShipmentConfirmation extends Dto * @param ?string $billOfLadingNumber The Bill of Lading (BOL) number is a unique number assigned to each shipment of goods by the vendor or shipper during the creation of the Bill of Lading. This number must be unique for every shipment and cannot be a date/time or single character. The BOL numer is mandatory in Shipment Confirmation message for FTL and LTL shipments, and must match the paper BOL provided with the shipment. Instead of BOL, an alternative reference number (like Delivery Note Number) for the shipment can also be sent in this field. */ public function __construct( - public readonly ?string $carrierScac = null, - public readonly ?string $carrierShipmentReferenceNumber = null, - public readonly ?string $transportationMode = null, - public readonly ?string $billOfLadingNumber = null, + public ?string $carrierScac = null, + public ?string $carrierShipmentReferenceNumber = null, + public ?string $transportationMode = null, + public ?string $billOfLadingNumber = null, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Volume.php b/src/Vendor/ShipmentsV1/Dto/Volume.php index 97d81b25a..8482abc1b 100644 --- a/src/Vendor/ShipmentsV1/Dto/Volume.php +++ b/src/Vendor/ShipmentsV1/Dto/Volume.php @@ -19,7 +19,7 @@ final class Volume extends Dto * @param string $value A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
**Pattern** : `^-?(0|([1-9]\d*))(\.\d+)?([eE][+-]?\d+)?$`. */ public function __construct( - public readonly string $unitOfMeasure, - public readonly string $value, + public string $unitOfMeasure, + public string $value, ) {} } diff --git a/src/Vendor/ShipmentsV1/Dto/Weight.php b/src/Vendor/ShipmentsV1/Dto/Weight.php index 8d13aacd5..24528cc6a 100644 --- a/src/Vendor/ShipmentsV1/Dto/Weight.php +++ b/src/Vendor/ShipmentsV1/Dto/Weight.php @@ -19,7 +19,7 @@ final class Weight extends Dto * @param string $value A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
**Pattern** : `^-?(0|([1-9]\d*))(\.\d+)?([eE][+-]?\d+)?$`. */ public function __construct( - public readonly string $unitOfMeasure, - public readonly string $value, + public string $unitOfMeasure, + public string $value, ) {} } diff --git a/src/Vendor/TransactionStatusV1/Dto/Error.php b/src/Vendor/TransactionStatusV1/Dto/Error.php index 94bd39afd..8468a083d 100644 --- a/src/Vendor/TransactionStatusV1/Dto/Error.php +++ b/src/Vendor/TransactionStatusV1/Dto/Error.php @@ -20,8 +20,8 @@ final class Error extends Dto * @param ?string $details Additional details that can help the caller understand or fix the issue. */ public function __construct( - public readonly string $code, - public readonly string $message, - public readonly ?string $details = null, + public string $code, + public string $message, + public ?string $details = null, ) {} } diff --git a/src/Vendor/TransactionStatusV1/Dto/ErrorList.php b/src/Vendor/TransactionStatusV1/Dto/ErrorList.php index fb1299daf..437f96e1b 100644 --- a/src/Vendor/TransactionStatusV1/Dto/ErrorList.php +++ b/src/Vendor/TransactionStatusV1/Dto/ErrorList.php @@ -20,6 +20,6 @@ final class ErrorList extends Dto * @param Error[] $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly array $errors, + public array $errors, ) {} } diff --git a/src/Vendor/TransactionStatusV1/Dto/Transaction.php b/src/Vendor/TransactionStatusV1/Dto/Transaction.php index 37e581e63..716fa81e6 100644 --- a/src/Vendor/TransactionStatusV1/Dto/Transaction.php +++ b/src/Vendor/TransactionStatusV1/Dto/Transaction.php @@ -20,8 +20,8 @@ final class Transaction extends Dto * @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful. */ public function __construct( - public readonly string $transactionId, - public readonly string $status, - public readonly ?ErrorList $errors = null, + public string $transactionId, + public string $status, + public ?ErrorList $errors = null, ) {} } diff --git a/src/Vendor/TransactionStatusV1/Dto/TransactionStatus.php b/src/Vendor/TransactionStatusV1/Dto/TransactionStatus.php index fb007a79f..99842d2b4 100644 --- a/src/Vendor/TransactionStatusV1/Dto/TransactionStatus.php +++ b/src/Vendor/TransactionStatusV1/Dto/TransactionStatus.php @@ -18,6 +18,6 @@ final class TransactionStatus extends Dto * @param ?Transaction $transactionStatus The transaction status. */ public function __construct( - public readonly ?Transaction $transactionStatus = null, + public ?Transaction $transactionStatus = null, ) {} }