public Statement() { this.date = null; this.statement_consolidated = false; this.price_of_statement = 0; this.payPeriod = null; }
public Statement(String date, Boolean statement_consolidated, double price_of_statement, PayPeriod.PayPeriod payPeriod) { this.date = date; this.statement_consolidated = statement_consolidated; this.price_of_statement = price_of_statement; this.payPeriod = payPeriod; }
public Statement(SerializationInfo info, StreamingContext context) { Date = (String)info.GetValue("Date", typeof(String)); Is_Consolidated = (Boolean)info.GetValue("Statement Consolidated", typeof(Boolean)); this.PayPeriod = (PayPeriod.PayPeriod)info.GetValue("Pay Period", typeof(PayPeriod.PayPeriod)); // This is a shorthand for calculating the amount of money Price_Of_Statement = Price_Of_Statement; }