SIFWorks ADK 2.0
AddAmount Method (Type, Credits, Value)
NamespacesEdustructures.SifWorks.FoodFSAmountsAddAmount(FSAmountType, Nullable<(Of <Decimal>)>, String)

[This is preliminary documentation and is subject to change.]

Adds the value of the <Amount> element.
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
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 &lt;FSAmount&gt; element
Remarks

This form of setAmount is provided as a convenience method that is functionally equivalent to the method AddAmount

Version: 2.0

Since: 1.5r1

Assembly: Edustructures.SifWorks.SdoAll (Module: Edustructures.SifWorks.SdoAll) Version: 2.0.0.10