public hubConfirm AddHubConfirm(hubConfirm newHubConfirm) { hubConfirmList.Add(newHubConfirm); hubConfirm = hubConfirmList.ToArray(); messageCount = hubConfirm.Length.ToString(); return(newHubConfirm); }
public hubConfirm AddHubConfirm(string partnerTrxID, string partnerTrxDt, string poNumber, string vendorsInvoiceNumber = null) { hubConfirm newHubConfirm = new hubConfirm(this) { partnerTrxID = partnerTrxID, partnerTrxDate = partnerTrxDt, poNumber = poNumber }; if ((vendorsInvoiceNumber != null) && (vendorsInvoiceNumber != partnerTrxID)) { newHubConfirm.trxData = new trxData { vendorsInvoiceNumber = vendorsInvoiceNumber }; } return(AddHubConfirm(newHubConfirm)); }
public hubConfirm AddHubConfirm(hubConfirm newHubConfirm) { hubConfirmList.Add(newHubConfirm); hubConfirm = hubConfirmList.ToArray(); messageCount = hubConfirm.Length.ToString(); return newHubConfirm; }
public hubConfirm AddHubConfirm(string partnerTrxID, string partnerTrxDt, string poNumber, string vendorsInvoiceNumber=null) { hubConfirm newHubConfirm = new hubConfirm(this) { partnerTrxID = partnerTrxID, partnerTrxDate = partnerTrxDt, poNumber = poNumber }; if ((vendorsInvoiceNumber != null) && (vendorsInvoiceNumber != partnerTrxID)) { newHubConfirm.trxData = new trxData { vendorsInvoiceNumber = vendorsInvoiceNumber }; } return AddHubConfirm(newHubConfirm); }
//public hubConfirm MakeHubConfirm() //{ // return new hubConfirm(this); //} public hubConfirm AddHubConfirm() { hubConfirm newHubConfirm = new hubConfirm(this); return AddHubConfirm(newHubConfirm); }
//public hubConfirm MakeHubConfirm() //{ // return new hubConfirm(this); //} public hubConfirm AddHubConfirm() { hubConfirm newHubConfirm = new hubConfirm(this); return(AddHubConfirm(newHubConfirm)); }