/// <summary> /// Sets the value of the <c><Value></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 &lt;TransactionType&gt; element"</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetValue(TransactionTypeValue val) { SetField(FoodDTD.TRANSACTIONTYPE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="value">Gets or sets the content value of the &lt;TransactionType&gt; element</param> /// public TransactionType(TransactionTypeValue value) : base(FoodDTD.TRANSACTIONTYPE) { this.SetValue(value); }
/// <summary> /// Sets the value of the <c><Value></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 &lt;TransactionType&gt; element"</para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetValue( TransactionTypeValue val ) { SetField( FoodDTD.TRANSACTIONTYPE, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="value">Gets or sets the content value of the &lt;TransactionType&gt; element</param> /// public TransactionType( TransactionTypeValue value ) : base(FoodDTD.TRANSACTIONTYPE) { this.SetValue( value ); }
///<summary>Adds the value of the <c><TransactionType></c> element.</summary> /// <param name="Value">Gets or sets the content value of the &lt;TransactionType&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)); }