ShippingMethodManager Class (PIA)
Use this object to manage shipping methods that will be available on the site. The ShippingMethodManager object lets you add and remove methods, and set their description, availability, and configuration.
Methods
Method | Description |
---|---|
CreateMethodInstance | Creates an empty instance of a shipping method. |
DeleteMethodInstance | Deletes the current shipping method instance. |
GetComponentConfig | Retrieves the Configuration dictionary for the shipping component, which implements the current shipping method. |
GetInstalledMethodList | Returns a Recordset containing the current shipping methods. |
GetMethodInfo | Returns a Recordset containing information about the loaded shipping method. |
Initialize | Initializes the ShippingMethodManager object and connects it to a database. |
LoadMethodInstance | Loads a given shipping method to be manipulated by other methods. |
SaveMethodConfig | Saves information about the current method. |
SetCachableComponentConfig | Saves configuration and other component information for a component. |
SetMethodConfig | Sets pairs of names and values for the current method. |
Remarks
The shipping architecture in Microsoft Commerce Server 2002 is designed so that shipping methods can be changed through the Shipping Methods module in Commerce Server Business Desk without programming or editing pipelines. To do this, Commerce Server maintains a database table, ShippingConfig, of shipping methods and the information required to configure shipping components to implement those methods.
The ShippingMethodManager object is used by Business Desk to manage the ShippingConfig database table.
For more information about shipping objects, see Overview of the Multiple-shipment Shipping Architecture.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: cs_shipmgr (in cs_shipmgr.dll)
Copyright © 2005 Microsoft Corporation.
All rights reserved.