Class WeightJurisdictionGateway

Represents the gateway for a shipping of type weight jurisdiction.

Inheritance
System.Object
WeightJurisdictionGateway
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Plugins.Shipping
Assembly: Mediachase.Commerce.Plugins.Shipping.dll
Version: 10.8.0
Syntax
public class WeightJurisdictionGateway : IShippingPlugin, IShippingGateway

Constructors

WeightJurisdictionGateway()

Initializes a new instance of the WeightJurisdictionGateway class.

Declaration
public WeightJurisdictionGateway()

WeightJurisdictionGateway(IMarket)

Initializes a new instance of the WeightJurisdictionGateway class.

Declaration
public WeightJurisdictionGateway(IMarket market)
Parameters
Type Name Description
IMarket market

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

Implements