You are here: Ektron Namespace > Providers API > Ektron.Cms.Commerce.Shipment Namespace > Ektron.Cms.Commerce.Shipment.Provider Namespace > ShipmentProvider Class > ShipmentProvider Methods > GetRates
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ShipmentProvider.GetRates Method

Returns a list of shipping rates for the specified shipping methods.

C#
public abstract List<ShippingOptionData> GetRates(IEnumerable<ShippingMethodData> expectedOptions, AddressData origin, AddressData destination, Weight weight, Dimensions dimensions);
Visual Basic
Public abstract Function GetRates(expectedOptions As IEnumerable<ShippingMethodData>, origin As AddressData, destination As AddressData, weight As Weight, dimensions As Dimensions) As List<ShippingOptionData>
Parameters 
Description 
origin 
The address from which the package will be shipped. 
destination 
The address to which the package will be shipped. 
weight 
The weight of the package being shipped. 
dimensions 
The dimensions of the package being shipped. 
shippingMethods 
The shipping methods for which to retrieve rates. 

Returns a list of shipping rates.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!