/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">The type tax ID that this is. TIN based on IRS Publication 1915 [IRSTIN].</param> ///<param name="value">Gets or sets the content value of the &lt;FederalTaxId&gt; element</param> /// public FederalTaxId( FederalTaxIdCode code, string value ) : base(HrfinDTD.FEDERALTAXID) { this.SetCode( code ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A FederalTaxIdCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The type tax ID that this is. TIN based on IRS Publication 1915 [IRSTIN]."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetCode( FederalTaxIdCode val ) { SetField( HrfinDTD.FEDERALTAXID_CODE, val ); }
///<summary>Sets the value of the <c><FederalTaxId></c> element.</summary> /// <param name="Code">The type tax ID that this is. TIN based on IRS Publication 1915 [IRSTIN].</param> /// <param name="Value">Gets or sets the content value of the &lt;FederalTaxId&gt; element</param> ///<remarks> /// <para>This form of <c>setFederalTaxId</c> is provided as a convenience method /// that is functionally equivalent to the <c>FederalTaxId</c></para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetFederalTaxId( FederalTaxIdCode Code, string Value ) { RemoveChild( HrfinDTD.VENDORINFO_FEDERALTAXID); AddChild( HrfinDTD.VENDORINFO_FEDERALTAXID, new FederalTaxId( Code, Value ) ); }
///<summary>Sets the value of the <c><FederalTaxId></c> element.</summary> /// <param name="Code">The type tax ID that this is. TIN based on IRS Publication 1915 [IRSTIN].</param> /// <param name="Value">Gets or sets the content value of the &lt;FederalTaxId&gt; element</param> ///<remarks> /// <para>This form of <c>setFederalTaxId</c> is provided as a convenience method /// that is functionally equivalent to the <c>FederalTaxId</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetFederalTaxId(FederalTaxIdCode Code, string Value) { RemoveChild(HrfinDTD.VENDORINFO_FEDERALTAXID); AddChild(HrfinDTD.VENDORINFO_FEDERALTAXID, new FederalTaxId(Code, Value)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">The type tax ID that this is. TIN based on IRS Publication 1915 [IRSTIN].</param> ///<param name="value">Gets or sets the content value of the &lt;FederalTaxId&gt; element</param> /// public FederalTaxId(FederalTaxIdCode code, string value) : base(HrfinDTD.FEDERALTAXID) { this.SetCode(code); this.Value = value; }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A FederalTaxIdCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The type tax ID that this is. TIN based on IRS Publication 1915 [IRSTIN]."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetCode(FederalTaxIdCode val) { SetField(HrfinDTD.FEDERALTAXID_CODE, val); }