Generate() public method

public Generate ( Payment payment ) : void
payment Payment
return void
Esempio n. 1
0
        public void GeneratePaymentInstruction()
        {
            Dictionary <Account, double> allocatedAmounts = GetAllocation();

            allocations.ForEach(al =>
                                paymentInstructionService.Generate(new Payment(al.GetAccountNumber().ToString(),
                                                                               new decimal(allocatedAmounts[al.GetAccount()]),
                                                                               DateTime.Now))
                                );
        }