/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">GUID that identifies this financial class.</param> ///<param name="name">Name of the financial class.</param> ///<param name="classType">Values: Asset, Liability, Revenue, Expense</param> /// public FinancialClass( string refId, string name, FinancialClassType classType ) : base(Adk.SifVersion, HrfinDTD.FINANCIALCLASS) { this.RefId = refId; this.Name = name; this.SetClassType( classType ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">GUID that identifies this financial class.</param> ///<param name="name">Name of the financial class.</param> ///<param name="classType">Values: Asset, Liability, Revenue, Expense</param> /// public FinancialClass(string refId, string name, FinancialClassType classType) : base(Adk.SifVersion, HrfinDTD.FINANCIALCLASS) { this.RefId = refId; this.Name = name; this.SetClassType(classType); }
/// <summary> /// Sets the value of the <c><ClassType></c> element. /// </summary> /// <param name="val">A FinancialClassType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Values: Asset, Liability, Revenue, Expense"</para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetClassType( FinancialClassType val ) { SetField( HrfinDTD.FINANCIALCLASS_CLASSTYPE, val ); }
/// <summary> /// Sets the value of the <c><ClassType></c> element. /// </summary> /// <param name="val">A FinancialClassType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Values: Asset, Liability, Revenue, Expense"</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetClassType(FinancialClassType val) { SetField(HrfinDTD.FINANCIALCLASS_CLASSTYPE, val); }