示例#1
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A TransactionTypeValue object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;TransactionType&amp;gt; element"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetValue(TransactionTypeValue val)
 {
     SetField(FoodDTD.TRANSACTIONTYPE, val);
 }
示例#2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;TransactionType&amp;gt; element</param>
 ///
 public TransactionType(TransactionTypeValue value) : base(FoodDTD.TRANSACTIONTYPE)
 {
     this.SetValue(value);
 }
示例#3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A TransactionTypeValue object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;TransactionType&amp;gt; element"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetValue( TransactionTypeValue val )
 {
     SetField( FoodDTD.TRANSACTIONTYPE, val );
 }
示例#4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;TransactionType&amp;gt; element</param>
 ///
 public TransactionType( TransactionTypeValue value )
     : base(FoodDTD.TRANSACTIONTYPE)
 {
     this.SetValue( value );
 }
示例#5
0
 ///<summary>Adds the value of the <c>&lt;TransactionType&gt;</c> element.</summary>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;TransactionType&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setTransactionType</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddTransactionType</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void AddTransactionType(TransactionTypeValue Value)
 {
     AddChild(FoodDTD.TRANSACTIONTYPES_TRANSACTIONTYPE, new TransactionType(Value));
 }