コード例 #1
0
 /// <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 &amp;lt;FederalTaxId&amp;gt; element</param>
 ///
 public FederalTaxId( FederalTaxIdCode code, string value )
     : base(HrfinDTD.FEDERALTAXID)
 {
     this.SetCode( code );
     this.Value = value;
 }
コード例 #2
0
 /// <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 );
 }
コード例 #3
0
ファイル: VendorInfo.cs プロジェクト: pgodwin/OpenADK-csharp
 ///<summary>Sets the value of the <c>&lt;FederalTaxId&gt;</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 &amp;lt;FederalTaxId&amp;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 ) );
 }
コード例 #4
0
ファイル: VendorInfo.cs プロジェクト: rubitek/OpenADK-csharp
 ///<summary>Sets the value of the <c>&lt;FederalTaxId&gt;</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 &amp;lt;FederalTaxId&amp;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));
 }
コード例 #5
0
 /// <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 &amp;lt;FederalTaxId&amp;gt; element</param>
 ///
 public FederalTaxId(FederalTaxIdCode code, string value) : base(HrfinDTD.FEDERALTAXID)
 {
     this.SetCode(code);
     this.Value = value;
 }
コード例 #6
0
 /// <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);
 }