question: public ChallanInfo ( final ReceiptHeader receiptHeader , final EgovCommon egovCommon , final ReceiptHeader receiptHeaderRefObj , final ChartOfAccountsHibernateDAO chartOfAccountsHibernateDAO , final PersistenceService persistenceService ) { this . receiptHeader = receiptHeader ; if ( receiptHeaderRefObj != null && receiptHeaderRefObj . getChallan ( ) != null ) receipHeaderReferenceObj = receiptHeaderRefObj ; for ( final ReceiptDetail receiptDetail : receiptHeader . getReceiptDetails ( ) ) { accountDetails . add ( new ReceiptAccountInfoImpl ( receiptDetail , chartOfAccountsHibernateDAO , persistenceService ) ) ; for ( final AccountPayeeDetail accountPayeeDetail : receiptDetail . getAccountPayeeDetails ( ) ) accountPayeeDetails . add ( new AccountPayeeDetailInfo ( accountPayeeDetail , egovCommon ) ) ; } for ( final InstrumentHeader instrumentHeader : receiptHeader . getReceiptInstrument ( ) ) instrumentDetails . add ( new ReceiptInstrumentInfoImpl ( instrumentHeader ) ) ; }
target:  Creates challan information object for given receipt header