Exemplo n.º 1
0
        public static PLB_ProviderAdjustment Make()
        {
            var count = ExternalRandomGenerator.Instance.NextScaledRandomInteger(2, 10);
            var temp  = new PLB_ProviderAdjustment
            {
                Reference_Identification = NaturalTextGenerator.GenerateWord(),
                Date = DateTime.Now.ToShortDateString(),
                MonetaryAmountAdjustment  = MonetaryAmountAdjustment.Make(),
                MonetaryAmountAdjustments = new List <MonetaryAmountAdjustment>()
            };

            for (var i = 0; i < count; i++)
            {
                temp.MonetaryAmountAdjustments.Add(MonetaryAmountAdjustment.Make());
            }
            return(temp);
        }
Exemplo n.º 2
0
 public static EDI_X12_835 Generate()
 {
     return(new EDI_X12_835
     {
         BPR_FinancialInformation = BPR_FinancialInformation.Make(),
         TRN_ReassociationTraceNumber = TRN_ReassociationTraceNumber.Make(),
         CUR_ForeignCurrencyInformation = CUR_ForeignCurrencyInformation.Make(),
         REF_SubLoops = new List <REF_SubLoop> {
             REF_SubLoop.Make(), REF_SubLoop.Make(), REF_SubLoop.Make()
         },
         DTM_ProductionDate = DTM_Date.Make(),
         N1_SubLoop = N1_SubLoop.Make(),
         TS835_2000_Loop = TS835_2000_Loop.Make(),
         PLB_ProviderAdjustmentList = new List <PLB_ProviderAdjustment>
         {
             PLB_ProviderAdjustment.Make(),
             PLB_ProviderAdjustment.Make(),
             PLB_ProviderAdjustment.Make(),
             PLB_ProviderAdjustment.Make()
         }
     });
 }
 public static PLB_ProviderAdjustment Make()
 {
     var count = ExternalRandomGenerator.Instance.NextScaledRandomInteger(2, 10);
     var temp = new PLB_ProviderAdjustment
     {
         Reference_Identification = NaturalTextGenerator.GenerateWord(),
         Date = DateTime.Now.ToShortDateString(),
         MonetaryAmountAdjustment = MonetaryAmountAdjustment.Make(),
         MonetaryAmountAdjustments = new List<MonetaryAmountAdjustment>()
     };
     for (var i = 0; i < count; i++)
         temp.MonetaryAmountAdjustments.Add(MonetaryAmountAdjustment.Make());
     return temp;
 }