C# Class CSharpAnalytics.Activities.TransactionItemExtensions

显示文件 Open project: TechSmith/CSharpAnalytics

Public Methods

Method Description
AddItem ( this transaction, string code, string name, decimal price, int quantity, string variation = null ) : void

Add an item to a transaction.

Method Details

AddItem() public static method

Add an item to a transaction.
public static AddItem ( this transaction, string code, string name, decimal price, int quantity, string variation = null ) : void
transaction this Transaction to add an item to.
code string Product code or SKU.
name string Product name.
price decimal Unit price.
quantity int Quantity.
variation string Variation or category.
return void