/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">The ID (GUID) that uniquely identifies a particular MealStatus reference</param> ///<param name="schoolInfoRefId">The ID (GUID) of the school to which this MealStatus applies.</param> ///<param name="schoolMealStatusDate">The status of the school on a particular date; e.g., Status for staff; Y/N, Status for pupils Y/N</param> ///<param name="schoolMealStatusDateSession">AM or PM</param> ///<param name="schoolMealStatusTier">A SchoolMealStatusTier</param> /// public SchoolMealStatus( string refId, string schoolInfoRefId, DateTime? schoolMealStatusDate, SchoolMealStatusDateSession schoolMealStatusDateSession, SchoolMealStatusTier schoolMealStatusTier ) : base(Adk.SifVersion, CateringDTD.SCHOOLMEALSTATUS) { this.RefId = refId; this.SchoolInfoRefId = schoolInfoRefId; this.SchoolMealStatusDate = schoolMealStatusDate; this.SetSchoolMealStatusDateSession( schoolMealStatusDateSession ); this.SchoolMealStatusTier = schoolMealStatusTier; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">The ID (GUID) that uniquely identifies a particular MealStatus reference</param> ///<param name="schoolInfoRefId">The ID (GUID) of the school to which this MealStatus applies.</param> ///<param name="schoolMealStatusDate">The status of the school on a particular date; e.g., Status for staff; Y/N, Status for pupils Y/N</param> ///<param name="schoolMealStatusDateSession">AM or PM</param> ///<param name="schoolMealStatusTier">A SchoolMealStatusTier</param> /// public SchoolMealStatus(string refId, string schoolInfoRefId, DateTime?schoolMealStatusDate, SchoolMealStatusDateSession schoolMealStatusDateSession, SchoolMealStatusTier schoolMealStatusTier) : base(Adk.SifVersion, CateringDTD.SCHOOLMEALSTATUS) { this.RefId = refId; this.SchoolInfoRefId = schoolInfoRefId; this.SchoolMealStatusDate = schoolMealStatusDate; this.SetSchoolMealStatusDateSession(schoolMealStatusDateSession); this.SchoolMealStatusTier = schoolMealStatusTier; }
/// <summary> /// Sets the value of the <c><SchoolMealStatusDateSession></c> element. /// </summary> /// <param name="val">A SchoolMealStatusDateSession object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "AM or PM"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetSchoolMealStatusDateSession( SchoolMealStatusDateSession val ) { SetField( CateringDTD.SCHOOLMEALSTATUS_SCHOOLMEALSTATUSDATESESSION, val ); }
/// <summary> /// Sets the value of the <c><SchoolMealStatusDateSession></c> element. /// </summary> /// <param name="val">A SchoolMealStatusDateSession object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "AM or PM"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetSchoolMealStatusDateSession(SchoolMealStatusDateSession val) { SetField(CateringDTD.SCHOOLMEALSTATUS_SCHOOLMEALSTATUSDATESESSION, val); }