virtual CartExtension.SplitShipmentService

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

Constructors 

global SplitShipmentService() 

Default constructor

global SplitShipmentService(CartExtension mockService) 

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

Parameters 

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

Methods 

global virtual void arrangeItems(ItemArrangementRequest request) 

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.

Parameters 

ParamDescription
request

Newer Version Available

This content describes an older version of this product. View Latest