Click or drag to resize

VoucherGetDiscountForVoucher Method (Int32)

Note: This API is now obsolete.

Namespace:  Dynamicweb.Ecommerce.Orders.SalesDiscounts
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use GetDiscountForVoucher(voucherCode As string) instead")]
public static SalesDiscount GetDiscountForVoucher(
	int voucherCode
)

Parameters

voucherCode
Type: SystemInt32

Return Value

Type: SalesDiscount
See Also