Try our conversational search powered by Generative AI!

Interface IShippingPlugin

Provides the methods necessary for the shipping plugin.

Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public interface IShippingPlugin

Methods

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