/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="libraryType">A library-defined language-independent value that refers to a specific patron type.</param> ///<param name="sifRefId">The SIF wide unique identifier of a student or teacher.</param> ///<param name="sifRefObject">The type of patron mapped to a SIF supported object. Library automation products work with patrons who could be students or teachers.</param> ///<param name="electronicIdList">This is an open list with no primary key.</param> ///<param name="numberOfCheckouts">The total number of items that this patron currently has checked out including overdue items.</param> ///<param name="numberOfOverdues">The total number of checkouts that are currently overdue.</param> ///<param name="numberOfFines">The total number of fines currently assessed to this patron.</param> ///<param name="fineAmount">The total monetary amount of the fines that this patron currently owes the library expressed as a positive number.</param> /// public LibraryPatronStatus( string libraryType, string sifRefId, PatronType sifRefObject, ElectronicIdList electronicIdList, int? numberOfCheckouts, int? numberOfOverdues, int? numberOfFines, MonetaryAmount fineAmount ) : base(Adk.SifVersion, LibraryDTD.LIBRARYPATRONSTATUS) { this.LibraryType = libraryType; this.SIF_RefId = sifRefId; this.SetSIF_RefObject( sifRefObject ); this.ElectronicIdList = electronicIdList; this.NumberOfCheckouts = numberOfCheckouts; this.NumberOfOverdues = numberOfOverdues; this.NumberOfFines = numberOfFines; this.FineAmount = fineAmount; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="libraryType">A library-defined language-independent value that refers to a specific patron type.</param> ///<param name="sifRefId">The SIF wide unique identifier of a student or teacher.</param> ///<param name="sifRefObject">The type of patron mapped to a SIF supported object. Library automation products work with patrons who could be students or teachers.</param> ///<param name="electronicIdList">This is an open list with no primary key.</param> ///<param name="numberOfCheckouts">The total number of items that this patron currently has checked out including overdue items.</param> ///<param name="numberOfOverdues">The total number of checkouts that are currently overdue.</param> ///<param name="numberOfFines">The total number of fines currently assessed to this patron.</param> ///<param name="fineAmount">The total monetary amount of the fines that this patron currently owes the library expressed as a positive number.</param> /// public LibraryPatronStatus(string libraryType, string sifRefId, PatronType sifRefObject, ElectronicIdList electronicIdList, int?numberOfCheckouts, int?numberOfOverdues, int?numberOfFines, MonetaryAmount fineAmount) : base(Adk.SifVersion, LibraryDTD.LIBRARYPATRONSTATUS) { this.LibraryType = libraryType; this.SIF_RefId = sifRefId; this.SetSIF_RefObject(sifRefObject); this.ElectronicIdList = electronicIdList; this.NumberOfCheckouts = numberOfCheckouts; this.NumberOfOverdues = numberOfOverdues; this.NumberOfFines = numberOfFines; this.FineAmount = fineAmount; }