virtual CartExtension.SplitShipmentService

Entry point for Split Shipment Extensibility. To implement custom Item Arrangement logic, extend this class and override the arrangeItems method.

Default constructor

Constructs Split Shipment Service with a mock service for Apex testing.

ParamDescription
mockServiceMock service which is used to call the default Split Shipment logic.

Any class that extends this class can call the default Split Shipment Service by calling this method via super.arrangeItems(request). It can also be overridden with custom logic.

ParamDescription
request