public EeeOutputReturnVersion CreateEeeOutputReturnVersion() { var eeeOutputReturnVersion = new EeeOutputReturnVersion(); eeeOutputReturnVersion.Id = IntegerToGuid(GetNextId()); eeeOutputReturnVersion.EeeOutputReturnVersionAmounts = new List <EeeOutputReturnVersionAmount>(); return(eeeOutputReturnVersion); }
public void AddEeeOutputAmount(EeeOutputReturnVersion eeeOutputReturnVersion, EeeOutputAmount eeeOutputAmount) { if (eeeOutputReturnVersion.EeeOutputReturnVersionAmounts == null) { eeeOutputReturnVersion.EeeOutputReturnVersionAmounts = new List <EeeOutputReturnVersionAmount>(); } eeeOutputReturnVersion .EeeOutputReturnVersionAmounts .Add(new EeeOutputReturnVersionAmount { EeeOuputAmountId = eeeOutputAmount.Id, EeeOutputAmount = eeeOutputAmount, EeeOutputReturnVersionId = eeeOutputReturnVersion.Id, EeeOutputReturnVersion = eeeOutputReturnVersion }); }
public void AddEeeOutputAmount(EeeOutputReturnVersion eeeOutputReturnVersion, EeeOutputAmount eeeOutputAmount) { if (eeeOutputReturnVersion.EeeOutputReturnVersionAmounts == null) { eeeOutputReturnVersion.EeeOutputReturnVersionAmounts = new List<EeeOutputReturnVersionAmount>(); } eeeOutputReturnVersion .EeeOutputReturnVersionAmounts .Add(new EeeOutputReturnVersionAmount { EeeOuputAmountId = eeeOutputAmount.Id, EeeOutputAmount = eeeOutputAmount, EeeOutputReturnVersionId = eeeOutputReturnVersion.Id, EeeOutputReturnVersion = eeeOutputReturnVersion }); }
public EeeOutputReturnVersion CreateEeeOutputReturnVersion() { var eeeOutputReturnVersion = new EeeOutputReturnVersion(); eeeOutputReturnVersion.Id = IntegerToGuid(GetNextId()); eeeOutputReturnVersion.EeeOutputReturnVersionAmounts = new List<EeeOutputReturnVersionAmount>(); return eeeOutputReturnVersion; }