contract/lib/ResponseModel.js
/**
     * Creates a new prototype of ResponseModel receiving parameters.
     * @param {ResponseModel} response A kind of ResponseModel configured with values.
     */
Creates a new prototype of ResponseModel receiving parameters.
@param {ResponseModel} response A kind of ResponseModel configured with values.
Creates a new prototype of ResponseModel receiving parameters . @param { ResponseModel } response A kind of ResponseModel configured with values .
static createResponseModel(response){
        let newInstance = new ResponseModel();
        newInstance.setTxMessage(response.txMessage);
        newInstance.setTxStatus(response.txStatus);
        newInstance.setTxContent(response.txContent);
        return newInstance;
    }
static createResponseModel ( response ) { let newInstance = new ResponseModel ( ) ; newInstance . setTxMessage ( response . txMessage ) ; newInstance . setTxStatus ( response . txStatus ) ; newInstance . setTxContent ( response . txContent ) ; return newInstance ; }
Creates a new prototype of ResponseModel receiving parameters.
Creates a new prototype of ResponseModel receiving parameters .