Coupon Constructor(Store,String,String,Decimal,Boolean,Decimal,Decimal,Int32,Int32,Int32,Int32,Int32,Byte,Boolean)
In This Topic
Initializes a new instance of the Coupon class.
Syntax
public Coupon(
Store ,
string ,
string ,
decimal ,
bool ,
decimal ,
decimal ,
int ,
int ,
int ,
int ,
int ,
byte ,
bool
)
Parameters
- store
- The value of store
- name
- The value of name
- couponcode
- The value of couponcode
- discountamount
- The value of discountamount
- ispercent
- The value of ispercent
- maxvalue
- The value of maxvalue
- minpurchase
- The value of minpurchase
- minquantity
- The value of minquantity
- maxquantity
- The value of maxquantity
- quantityinterval
- The value of quantityinterval
- maxuses
- The value of maxuses
- maxusespercustomer
- The value of maxusespercustomer
- productruleid
- The value of productruleid
- allowcombine
- The value of allowcombine
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also