Voucher Class |
Namespace: Dynamicweb.Ecommerce.Orders.SalesDiscounts
The Voucher type exposes the following members.
| Name | Description | |
|---|---|---|
| Voucher(IDataReader) | Initializes a new instance of the Voucher class | |
| Voucher(String, Int32) | Initializes a new instance of the Voucher class |
| Name | Description | |
|---|---|---|
| Code | ||
| Connection | (Inherited from DbObject.) | |
| DateUsed | ||
| ID | (Inherited from DbObject.) | |
| IsNew | (Inherited from DbObject.) | |
| ListId | ||
| Status | ||
| Transaction | (Inherited from DbObject.) | |
| UsedOrderId | ||
| VoucherAccessUserId |
| Name | Description | |
|---|---|---|
| CheckVouchers | ||
| Delete | (Inherited from DbObject.) | |
| Delete(Int32) | (Inherited from DbObject.) | |
| Fill | (Overrides DbObjectFill(IDataReader).) | |
| FillRow | (Overrides DbObjectFillRow(DataRow).) | |
| GenerateVoucher | ||
| GenerateVouchers | ||
| GetAllVouchers | ||
| GetAllVouchersForList | ||
| GetDiscountForVoucher | ||
| GetDiscountForVoucher(Int32) | Obsolete. | |
| GetDiscountForVoucher(String) | ||
| GetVoucherByCode(String) | ||
| GetVoucherByCode(String, Int32) | ||
| IsValid | ||
| Load | (Inherited from DbObject.) | |
| RenderVoucherMail | ||
| Save | (Inherited from DbObject.) | |
| UpdateVouchersOrderId |
| Name | Description | |
|---|---|---|
| _id | (Inherited from DbObject.) | |
| _keyField | (Inherited from DbObject.) | |
| _tableName | (Inherited from DbObject.) | |
| StatusSent | ||
| StatusUsed |