Click or drag to resize

TransactionItemExtensionsAddItem Method

Namespace:  CSharpAnalytics.Activities
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static void AddItem(
	this TransactionActivity transaction,
	string code,
	string name,
	decimal price,
	int quantity,
	string variation = null
)

Parameters

transaction
Type: CSharpAnalytics.ActivitiesTransactionActivity
code
Type: SystemString
name
Type: SystemString
price
Type: SystemDecimal
quantity
Type: SystemInt32
variation (Optional)
Type: SystemString

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TransactionActivity. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also