| 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
)
<ObsoleteAttribute("Use GetDiscountForVoucher(voucherCode As string) instead")>
Public Shared Function GetDiscountForVoucher (
voucherCode As Integer
) As SalesDiscount
Parameters
- voucherCode
- Type: SystemInt32
Return Value
Type:
SalesDiscountSee Also