DefaultShippingLineAssignmentStrategy
This is the default ShippingLineAssignmentStrategy which simply assigns all OrderLines to the ShippingLine, and is suitable for the most common scenario of a single shipping method per Order.
- Implements:
ShippingLineAssignmentStrategy
assignShippingLineToOrderLines
method
(ctx: RequestContext, shippingLine: ShippingLine, order: Order) => OrderLine[] | Promise<OrderLine[]>Was this chapter helpful?