author Javen
 *  copyright description import { OutMsg } from './OutMsg' ; import { TransInfo } from './TransInfo' ; import { InMsg } from '../in/InMsg' ; export class OutCustomMsg extends OutMsg { private transInfo : TransInfo ; constructor ( inMsg ) { super ( inMsg ) ; this . msgType = 'transfer_customer_service' ; } public toXml ( ) { let str = super . toXml ( ) ; if ( null != this . transInfo && this . transInfo . getKfAccount ) { str += '<TransInfo>\n' ; str += '<KfAccount><![CDATA[' + this . transInfo . getKfAccount + ']]></KfAccount>\n' ; str += '</TransInfo>\n' ; } str += '</xml>\n' ; return str ; } public getTransInfo ( ) { return this . transInfo ; } public setTransInfo ( transInfo ) { this . transInfo = transInfo ; } }