Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Marketing Namespace / Coupon Class / Coupon Constructor / Coupon Constructor(Store,Nullable<Byte>,String,String,Decimal,Boolean,Decimal,Decimal,Int32,Int32,Int32,Int32,Int32,Nullable<DateTime>,Nullable<DateTime>,Byte,Boolean)
The value of store
The value of coupontypeid
The value of name
The value of couponcode
The value of discountamount
The value of ispercent
The value of maxvalue
The value of minpurchase
The value of minquantity
The value of maxquantity
The value of quantityinterval
The value of maxuses
The value of maxusespercustomer
The value of startdate
The value of enddate
The value of productruleid
The value of allowcombine
In This Topic
    Coupon Constructor(Store,Nullable<Byte>,String,String,Decimal,Boolean,Decimal,Decimal,Int32,Int32,Int32,Int32,Int32,Nullable<DateTime>,Nullable<DateTime>,Byte,Boolean)
    In This Topic
    Initializes a new instance of the Coupon class.
    Syntax

    Parameters

    store
    The value of store
    coupontypeid
    The value of coupontypeid
    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
    startdate
    The value of startdate
    enddate
    The value of enddate
    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