Method | Description | |
---|---|---|
AddItem ( this transaction, string code, string name, decimal price, int quantity, string variation = null ) : void |
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 |