ShoppingCartService.SetShippingMethod Method
Sets the shipping method to be used for shippable items within the shopping cart. Replaces any and all previously set shipping methods. To add an additional shipping method, without replacing existing ones, use
AddShippingMethod(ShippingMethod).
Namespace: Ignition.Commerce.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public void SetShippingMethod(
ShippingMethod shippingMethod
)
Public Sub SetShippingMethod (
shippingMethod As ShippingMethod
)
public:
virtual void SetShippingMethod(
ShippingMethod^ shippingMethod
) sealed
abstract SetShippingMethod :
shippingMethod : ShippingMethod -> unit
override SetShippingMethod :
shippingMethod : ShippingMethod -> unit
Parameters
- shippingMethod ShippingMethod
- The shipping method to use
If a shipping method has already been set, this will replace it.