/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID that identifies food service transaction</param>
 ///<param name="schoolInfoRefId">GUID that identifies the school/site of account transaction</param>
 ///<param name="program">Program. For a description of this element, see 5.1.23 Program.</param>
 ///<param name="transactionDate">Date of transaction</param>
 ///<param name="transactionTime">Time of transaction.</param>
 ///<param name="customer">The customer doing the transaction. The customer can be student, staff or any other person.</param>
 ///<param name="fsAmount">Amount.</param>
 ///<param name="voided">This flag tells us if the transaction is voided.</param>
 ///
 public FoodserviceTransaction( string refId, string schoolInfoRefId, Program program, DateTime? transactionDate, DateTime? transactionTime, Customer customer, FSAmount fsAmount, YesNo voided )
     : base(Adk.SifVersion, FoodDTD.FOODSERVICETRANSACTION)
 {
     this.RefId = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.Program = program;
     this.TransactionDate = transactionDate;
     this.TransactionTime = transactionTime;
     this.Customer = customer;
     this.FSAmount = fsAmount;
     this.SetVoided( voided );
 }
Пример #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID that identifies food service transaction</param>
 ///<param name="schoolInfoRefId">GUID that identifies the school/site of account transaction</param>
 ///<param name="program">Program. For a description of this element, see 5.1.23 Program.</param>
 ///<param name="transactionDate">Date of transaction</param>
 ///<param name="transactionTime">Time of transaction.</param>
 ///<param name="customer">The customer doing the transaction. The customer can be student, staff or any other person.</param>
 ///<param name="fsAmount">Amount.</param>
 ///<param name="voided">This flag tells us if the transaction is voided.</param>
 ///
 public FoodserviceTransaction(string refId, string schoolInfoRefId, Program program, DateTime?transactionDate, DateTime?transactionTime, Customer customer, FSAmount fsAmount, YesNo voided) : base(Adk.SifVersion, FoodDTD.FOODSERVICETRANSACTION)
 {
     this.RefId           = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.Program         = program;
     this.TransactionDate = transactionDate;
     this.TransactionTime = transactionTime;
     this.Customer        = customer;
     this.FSAmount        = fsAmount;
     this.SetVoided(voided);
 }