Пример #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="employeePersonalRefId">This is the GUID that points to the employee represented in the EmployeePersonal object.</param>
 ///<param name="w4Date">Date W4 was completed.</param>
 ///<param name="maritalStatusRate">This denotes the current martial status of the employee</param>
 ///<param name="federalAllowancesNumber">Number of federal allowances.</param>
 ///<param name="stateProvince">State of residence.</param>
 ///<param name="exempt">Is this employee exempt from federal and state exemptions?</param>
 ///
 public W4(string employeePersonalRefId, DateTime?w4Date, MaritalStatusRate maritalStatusRate, int?federalAllowancesNumber, StatePrCode stateProvince, bool?exempt) : base(Adk.SifVersion, HrfinDTD.W4)
 {
     this.EmployeePersonalRefId = employeePersonalRefId;
     this.W4Date = w4Date;
     this.SetMaritalStatusRate(maritalStatusRate);
     this.FederalAllowancesNumber = federalAllowancesNumber;
     this.SetStateProvince(stateProvince);
     this.Exempt = exempt;
 }
Пример #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="employeePersonalRefId">This is the GUID that points to the employee represented in the EmployeePersonal object.</param>
 ///<param name="w4Date">Date W4 was completed.</param>
 ///<param name="maritalStatusRate">This denotes the current martial status of the employee</param>
 ///<param name="federalAllowancesNumber">Number of federal allowances.</param>
 ///<param name="stateProvince">State of residence.</param>
 ///<param name="exempt">Is this employee exempt from federal and state exemptions?</param>
 ///
 public W4( string employeePersonalRefId, DateTime? w4Date, MaritalStatusRate maritalStatusRate, int? federalAllowancesNumber, StatePrCode stateProvince, bool? exempt )
     : base(Adk.SifVersion, HrfinDTD.W4)
 {
     this.EmployeePersonalRefId = employeePersonalRefId;
     this.W4Date = w4Date;
     this.SetMaritalStatusRate( maritalStatusRate );
     this.FederalAllowancesNumber = federalAllowancesNumber;
     this.SetStateProvince( stateProvince );
     this.Exempt = exempt;
 }
Пример #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;MaritalStatusRate&gt;</c> element.
 /// </summary>
 /// <param name="val">A MaritalStatusRate object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "This denotes the current martial status of the employee"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetMaritalStatusRate(MaritalStatusRate val)
 {
     SetField(HrfinDTD.W4_MARITALSTATUSRATE, val);
 }
Пример #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;MaritalStatusRate&gt;</c> element.
 /// </summary>
 /// <param name="val">A MaritalStatusRate object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "This denotes the current martial status of the employee"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetMaritalStatusRate( MaritalStatusRate val )
 {
     SetField( HrfinDTD.W4_MARITALSTATUSRATE, val );
 }