Interface IShippingPlugin
Provides the methods necessary for the shipping plugin.
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public interface IShippingPlugin
Methods
GetRate(IMarket, Guid, IShipment, ref String)
Returns the package option array when method id and package that needs to be send is passed. Use passed message string to pass errors back to the application if any occurred.
Declaration
ShippingRate GetRate(IMarket market, Guid methodId, IShipment shipment, ref string message)
Parameters
| Type | Name | Description |
|---|---|---|
| IMarket | market | The market. |
| System.Guid | methodId | The shipping method id. |
| IShipment | shipment | The shipment. |
| System.String | message | The message. |
Returns
| Type | Description |
|---|---|
| ShippingRate | Empty array if no results found. |