Click or drag to resize
DefaultCarrierProvider.GetPrice Method
Calculates shipping costs of delivering given delivery.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public decimal GetPrice(
	Delivery delivery,
	string currencyCode
)

Parameters

delivery
Type: CMS.Ecommerce.Delivery
Delivery to be checked.
currencyCode
Type: System.String
Code of currency to return shipping price in (e.g. USD or EUR).

Return Value

Type: Decimal
Price in currency specified by currencyCode.

Implements

IShippingPriceCalculator.GetPrice(Delivery, String)
See Also