Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderCoupon Class / OrderCoupon Constructor / OrderCoupon Constructor(Int32,String)
Value of OrderId.
Value of CouponCode.
In This Topic
    OrderCoupon Constructor(Int32,String)
    In This Topic
    Initializes a new instance of the OrderCoupon class.
    Syntax
    public OrderCoupon( 
       int orderId,
       string couponCode
    )

    Parameters

    orderId
    Value of OrderId.
    couponCode
    Value of CouponCode.
    Remarks
    Constructor with primary key
    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