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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public 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.

Implements

ICarrierProviderGetPrice(Delivery, String)
See Also