Design Pattern Framework 3.5
SetShippingMethod Method (shippingMethod)
Patterns-In-Action! Application ► ASPNETWebApplication.Controllers ► CartController ► SetShippingMethod(String)
Sets shipping method used to compute shipping charges.
Declaration Syntax
C# | Visual Basic |
public ShoppingCart SetShippingMethod( string shippingMethod )
Public Function SetShippingMethod ( _ shippingMethod As String _ ) As ShoppingCart
Parameters
- shippingMethod (String)
- The name of the shipper.
Return Value
Updated shopping cart.