﻿var NetSuiteItemPricePromotion = (function() {
    function fnNetSuiteItemPricePromotionConstructor(iNewId) {
        /****************************************************/
        /*                                                  */
        /*                                                  */
        /*           Class Level Private Variables          */
        /*                                                  */
        /*                                                  */
        /****************************************************/
        
        var oInstance;

        var iId;

        /****************************************************/
        /*                                                  */
        /*                                                  */
        /*                Accessors/Mutators                */
        /*                                                  */
        /*                                                  */
        /****************************************************/
        
        this.getId = function() {
            return iId;
        }
        
        this.setId = function(iNewId) {
            iId = iNewId;
        }
        
        /****************************************************/
        /*                                                  */
        /*                                                  */
        /*                Cloneable Interface               */
        /*                                                  */
        /*                                                  */
        /****************************************************/
        
        this.clone = function() {
            return new NetSuiteItemPricePromotion(this.getId());
        }
        
        /****************************************************/
        /*                                                  */
        /*                                                  */
        /*                 Initialize Class                 */
        /*                                                  */
        /*                                                  */
        /****************************************************/

        oInstance = this;
        
        this.setId(iNewId);
    }
    
    return fnNetSuiteItemPricePromotionConstructor;
})();