[This is preliminary documentation and is subject to change.]
Adds the value of the <Amount> element.
| C# | Visual Basic | Visual C++ |
public void AddAmount( FSAmountType Type, Nullable<decimal> Credits, string Value )
Public Sub AddAmount ( _ Type As FSAmountType, _ Credits As Nullable(Of Decimal), _ Value As String _ )
public: void AddAmount ( FSAmountType^ Type, Nullable<Decimal> Credits, String^ Value )
- Type (FSAmountType)
- Type of amount. The currency unit is implied; namely USD. Note that when this common element is used not all of the following values apply. There are notes to indicate values that are applicable.
- Credits (Nullable<(Of <Decimal>)>)
- Number of credits. This attribute does not apply to Cash or Value and hence has a value 0. It only applies to types BreakfastCredit and LunchCredit.
- Value (String)
- Gets or sets the content value of the <FSAmount> element
This form of setAmount is provided as a convenience method that is functionally equivalent to the method AddAmount
Version: 2.0
Since: 1.5r1