November Happy Hour will be moved to Thursday December 5th.

Interface IShippingGateway

Provides the methods necessary for the shipping gateway.

Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public interface IShippingGateway

Methods

GetRate(IMarket, 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(IMarket market, Guid methodId, Shipment shipment, ref string message)
Parameters
Type Name Description
IMarket market

The market.

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.