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

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

Parameters

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

Return Value

Type: Decimal
Price in currency specified by currencyCode.
See Also