2525use Magento \Sales \Model \OrderRepository as SalesOrderRepository ;
2626use Magento \Sales \Model \ResourceModel \Metadata ;
2727use Magento \Tax \Api \OrderTaxManagementInterface ;
28+ use Magento \Sales \Model \Order \ShippingAssignmentBuilder ;
2829
2930class OrderRepository extends SalesOrderRepository
3031{
@@ -41,21 +42,21 @@ public function __construct(
4142 Metadata $ metadata ,
4243 SearchResultFactory $ searchResultFactory ,
4344 CollectionProcessorInterface $ collectionProcessor = null ,
44- OrderExtensionFactory $ orderExtensionFactory = null ,
4545 OrderTaxManagementInterface $ orderTaxManagement = null ,
4646 PaymentAdditionalInfoInterfaceFactory $ paymentAdditionalInfoFactory = null ,
4747 JsonSerializer $ serializer = null ,
48- JoinProcessorInterface $ extensionAttributesJoinProcessor = null
48+ JoinProcessorInterface $ extensionAttributesJoinProcessor = null ,
49+ ShippingAssignmentBuilder $ shippingAssignmentBuilder = null
4950 ) {
5051 parent ::__construct (
5152 $ metadata ,
5253 $ searchResultFactory ,
5354 $ collectionProcessor ,
54- $ orderExtensionFactory ,
5555 $ orderTaxManagement ,
5656 $ paymentAdditionalInfoFactory ,
5757 $ serializer ,
58- $ extensionAttributesJoinProcessor
58+ $ extensionAttributesJoinProcessor ,
59+ $ shippingAssignmentBuilder
5960 );
6061
6162 $ this ->searchCriteriaBuilder = $ searchCriteriaBuilder ;
0 commit comments