public InvoiceDto(string transactionType, string layout)
 {
     Layout = layout;
     TransactionType = transactionType;
     TradingTerms = new TradingTermsDto();
     QuickPayment = new QuickPaymentDto();
 }
        public TradingTermsDto GetPurchaseTradingTermsDto1()
        {
            TradingTermsDto dto = new TradingTermsDto();

            dto.Type         = 2;
            dto.Interval     = 30;
            dto.IntervalType = 0;

            return(dto);
        }
        public TradingTermsDto GetSaleTradingTermsDto3()
        {
            TradingTermsDto dto = new TradingTermsDto();

            dto.Type         = 3;
            dto.Interval     = 14;
            dto.IntervalType = 0;

            return(dto);
        }
        public TradingTermsDto GetSaleTradingTermsDto1()
        {
            TradingTermsDto dto = new TradingTermsDto();

            dto.Type         = 1;
            dto.Interval     = 2;
            dto.IntervalType = 2;

            return(dto);
        }
        public TradingTermsDto GetSaleTradingTermsDto3()
        {
            TradingTermsDto dto = new TradingTermsDto();
            dto.Type = 3;
            dto.Interval = 14;
            dto.IntervalType = 0;

            return dto;
        }
        public TradingTermsDto GetSaleTradingTermsDto1()
        {
            TradingTermsDto dto = new TradingTermsDto();
            dto.Type = 1;
            dto.Interval = 2;
            dto.IntervalType = 2;

            return dto;
        }
        public TradingTermsDto GetPurchaseTradingTermsDto1()
        {
            TradingTermsDto dto = new TradingTermsDto();
            dto.Type = 2;
            dto.Interval = 30;
            dto.IntervalType = 0;

            return dto;
        }
 public InvoiceDto()
 {
     TradingTerms = new TradingTermsDto();
     QuickPayment = new QuickPaymentDto();
 }