Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class InterestAdjustMessageData : IMailObject
- {
- // Static properties
- public List<InterestAdjustMessageItemData> Items { get; private set; }
- public InterestAdjustMessageData(string interestID, string company, string referencePerson, DateTime messageTime, string loanName, string ticker, DateTime periodFrom, DateTime periodTo, int day, double percent, string interestAgent, string agentCountry)
- {
- // Items that are static
- this.Items = new List<InterestAdjustMessageItemData>();
- this.Items.Add(new InterestAdjustMessageItemData(loanName, ticker, periodFrom, periodTo, day, percent));
- }
- }
- public class InterestAdjustMessageItemData
- {
- public string LoanName { get; private set; }
- public string Ticker { get; private set; }
- public string PeriodFrom { get; private set; }
- public string PeriodTo { get; private set; }
- public int Day { get; private set; }
- public double Percent { get; private set; }
- public InterestAdjustMessageItemData( string loanName, string ticker, DateTime periodFrom, DateTime periodTo, int day, double percent)
- {
- this.LoanName = loanName;
- this.Ticker = ticker;
- this.PeriodFrom = periodFrom.ToShortDateString();
- this.PeriodTo = periodTo.ToShortDateString();
- this.Day = day;
- this.Percent = percent;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement