다음을 통해 공유


ShippingCostCalculator Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the name of the component used to calculate shipping costs for the current shipping method.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public Property ShippingCostCalculator As String
'Usage
Dim instance As ShippingMethod
Dim value As String

value = instance.ShippingCostCalculator

instance.ShippingCostCalculator = value
public string ShippingCostCalculator { get; set; }
public:
property String^ ShippingCostCalculator {
    String^ get ();
    void set (String^ value);
}
public function get ShippingCostCalculator () : String
public function set ShippingCostCalculator (value : String)

Property Value

Type: System..::.String
The name of the component used to calculate shipping costs for the current shipping method.

Remarks

The ShippingCostCalculator is the component that is used to calculate the shipping cost for this ShippingMethod.

ShippingCostCalculator is provided for use by custom payment components. Commerce Server is not supplied with any components that use this property.

Permissions

See Also

Reference

ShippingMethod Class

ShippingMethod Members

Microsoft.CommerceServer.Orders Namespace