コード例 #1
0
ファイル: W4.cs プロジェクト: rubitek/OpenADK-csharp
 /// <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
ファイル: W4.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <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
ファイル: W4.cs プロジェクト: rubitek/OpenADK-csharp
 /// <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
ファイル: W4.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <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 );
 }