Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / IOrderCouponRepository Interface / Delete Method
Value of OrderId of the object to delete.
Value of CouponCode of the object to delete.
In This Topic
    Delete Method (IOrderCouponRepository)
    In This Topic
    Deletes a OrderCoupon object with given id from the database
    Syntax
    [DataObjectMethod(DataObjectMethodType.Delete)]
    void Delete( 
       int orderId,
       string couponCode
    )

    Parameters

    orderId
    Value of OrderId of the object to delete.
    couponCode
    Value of CouponCode of the object to delete.
    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