Q!Ìn~ß3¤*A¢n· ÍH]¤ÛS¶]Ý0AÐ ÓQ®MÇ{"dealDetails":1,"globalIdentifiers":2,"keyDates":3,"__cls":"class DealSC {\r\n constructor(\r\n owners = [],\r\n name = '',\r\n dealCurrency = '',\r\n dealCommitmentAmount = 0,\r\n creditOfficer = '',\r\n agentId = '',\r\n dealCode = '',\r\n borrowerName = '',\r\n ANSIID = '',\r\n ISIN = '',\r\n CUSIP = '',\r\n creditAgreementDate = '',\r\n approvalDate = '',\r\n closeDate = '',\r\n createdBy = '',\r\n uploaded = '',\r\n lastModified = '',\r\n imported = false\r\n ) {\r\n this._owners = owners;\r\n\r\n this.dealDetails = {\r\n name,\r\n dealCurrency,\r\n dealCommitmentAmount,\r\n creditOfficer,\r\n agentId,\r\n dealCode,\r\n borrowerName,\r\n facilityIds: [],\r\n };\r\n\r\n this.globalIdentifiers = {\r\n ANSIID,\r\n ISIN,\r\n CUSIP,\r\n };\r\n\r\n this.keyDates = {\r\n creditAgreementDate,\r\n approvalDate,\r\n closeDate,\r\n };\r\n\r\n this.creditAgreements = [];\r\n this.createdBy = createdBy;\r\n this.uploaded = uploaded;\r\n this.lastModified = lastModified;\r\n this.imported = imported;\r\n }\r\n\r\n addOwner(id) {\r\n this._owners.push(id);\r\n }\r\n\r\n removeOwner(id) {\r\n const index = this._owners.indexOf(id);\r\n this._owners.splice(index, 1);\r\n }\r\n\r\n addFacility(id) {\r\n this.dealDetails.facilityIds.push(id);\r\n }\r\n\r\n removeFacility(id) {\r\n const index = this.dealDetails.facilityIds.indexOf(id);\r\n this.dealDetails.facilityIds.splice(index, 1);\r\n }\r\n\r\n addCreditAgreement(creditAgreement) {\r\n this.creditAgreements.push(creditAgreement);\r\n }\r\n\r\n setCreditAgreements(creditAgreements) {\r\n this.creditAgreements = creditAgreements;\r\n }\r\n\r\n setLastModified(lastModified) {\r\n this.lastModified = lastModified;\r\n }\r\n\r\n setImported(imported) {\r\n this.imported = imported;\r\n }\r\n\r\n edit(\r\n name,\r\n dealCurrency,\r\n dealCommitmentAmount,\r\n creditOfficer,\r\n dealCode,\r\n borrowerName,\r\n ANSIID,\r\n ISIN,\r\n CUSIP,\r\n creditAgreementDate,\r\n approvalDate,\r\n closeDate\r\n ) {\r\n this.dealDetails.name = name;\r\n this.dealDetails.dealCurrency = dealCurrency;\r\n this.dealDetails.dealCommitmentAmount = dealCommitmentAmount;\r\n this.dealDetails.creditOfficer = creditOfficer;\r\n this.dealDetails.dealCode = dealCode;\r\n this.dealDetails.borrowerName = borrowerName;\r\n this.globalIdentifiers.ANSIID = ANSIID;\r\n this.globalIdentifiers.ISIN = ISIN;\r\n this.globalIdentifiers.CUSIP = CUSIP;\r\n this.keyDates.creditAgreementDate = creditAgreementDate;\r\n this.keyDates.approvalDate = approvalDate;\r\n this.keyDates.closeDate = closeDate;\r\n }\r\n}","__index":{"obj":0},"__func":"constructor","__args":[["02cc6e7e830fdf8e33a42a410fa26eb7a0111dcd485da4db53b65ddd3041d009d3"],"1","USD","2123123123","1","5056201a2186319c5ba6687a316d722acf03d0124e5d8cf7c0efb4a8b2faaf72:0","1","1","EX123123","1","1","02/03/2021","02/10/2021","02/11/2021","5056201a2186319c5ba6687a316d722acf03d0124e5d8cf7c0efb4a8b2faaf72:0","Mon Feb 15 2021 16:55:23 GMT+0100","Mon Feb 15 2021 16:55:23 GMT+0100",false]}u
https://whatsonchain.com/tx/undefined