Пример #1
0
        public EeeOutputReturnVersion CreateEeeOutputReturnVersion()
        {
            var eeeOutputReturnVersion = new EeeOutputReturnVersion();

            eeeOutputReturnVersion.Id = IntegerToGuid(GetNextId());
            eeeOutputReturnVersion.EeeOutputReturnVersionAmounts = new List <EeeOutputReturnVersionAmount>();

            return(eeeOutputReturnVersion);
        }
Пример #2
0
        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
            });
        }
Пример #3
0
        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
                });
        }
Пример #4
0
        public EeeOutputReturnVersion CreateEeeOutputReturnVersion()
        {
            var eeeOutputReturnVersion = new EeeOutputReturnVersion();
            eeeOutputReturnVersion.Id = IntegerToGuid(GetNextId());
            eeeOutputReturnVersion.EeeOutputReturnVersionAmounts = new List<EeeOutputReturnVersionAmount>();

            return eeeOutputReturnVersion;
        }