Interface IShippingGateway
Provides the methods necessary for the shipping gateway.
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public interface IShippingGateway
Methods
GetRate(Guid, Shipment, 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(Guid methodId, Shipment shipment, ref string message)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | methodId | The method id. |
Shipment | shipment | The shipment. |
System.String | message | The message. |
Returns
Type | Description |
---|---|
ShippingRate | Empty array if no results found. |