Class WeightJurisdictionGateway
Represents the gateway for a shipping of type weight jurisdiction.
Inheritance
Inherited Members
Namespace: Mediachase.Commerce.Plugins.Shipping
Assembly: Mediachase.Commerce.Plugins.Shipping.dll
Version: 13.30.0Syntax
public class WeightJurisdictionGateway : IShippingPlugin, IShippingGateway
Constructors
WeightJurisdictionGateway()
Declaration
public WeightJurisdictionGateway()
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
public ShippingRate GetRate(IMarket market, Guid shippingMethodId, IShipment shipment, ref string message)
Parameters
Type | Name | Description |
---|---|---|
IMarket | market | The market. |
System.Guid | shippingMethodId | The shipping method id. |
IShipment | shipment | The shipment. |
System.String | message | The message. |
Returns
Type | Description |
---|---|
ShippingRate | Empty array if no results found. |
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
public 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. |