Dynamicweb 8 Documentation
Voucher Class Members
Properties  Methods 


The following tables list the members exposed by Voucher.

Public Constructors
 NameDescription
Public ConstructorVoucher ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCodeVoucher Code  
Public PropertyDateUsedDate when the voucher was used  
Public PropertyListIDID Of The list  
Public PropertyStatusVoucher Status  
Public PropertyUsedOrderIDOrderID on which the voucher was used  
Public PropertyVoucherAccessUserIDID of the user who used the voucher  
Top
Public Methods
 NameDescription
Public MethodFillOverridden.   
Public Methodstatic (Shared in Visual Basic)GenerateVouchersGenerate Vouchers  
Public Methodstatic (Shared in Visual Basic)GetAllVouchersGet all vouchers  
Public Methodstatic (Shared in Visual Basic)GetAllVouchersForListGet the collection of vouchers for specific List  
Public MethodGetDiscountForVoucherOverloaded. Get discount for current voucher  
Public Methodstatic (Shared in Visual Basic)GetVoucherByCodeGet Voucher by Voucher Code  
Public Methodstatic (Shared in Visual Basic)isValid  
Public Methodstatic (Shared in Visual Basic)MarkAsUsedMark voucher as Used  
Public Methodstatic (Shared in Visual Basic)RenderVoucherMailRenders the mail tamplate for thr vouchers  
Public Methodstatic (Shared in Visual Basic)UpdateVouchersOrderIDUpdate Voucher Code with Order  
Top
Protected Methods
 NameDescription
Protected MethodFillRowOverridden.   
Top
See Also

Reference

Voucher Class
Dynamicweb.eCommerce.Orders.SalesDiscounts Namespace

Send Feedback