protected static BasketShipment GetShipment( Basket basket, Warehouse warehouse, Address address, bool shipSeparately )
Parameters
- basket
- The basket to look in.
- warehouse
- The origin warehouse.
- address
- The destination address.
- shipSeparately
- Indicate if this basket item need to be shipped separately
Return Value
The shipment that matches the given origin and destination. If no match is found, a new shipment is added and returned.