TransactionDetail
Contains transaction-specific data.
Description
This object is used with several transaction methods and contains important transaction-specific data, such as invoice number, originating terminal, total amount of transaction, portions of total allotted for tip, tax and shipping, and currency code.
Properties
Type | Name | Description |
---|---|---|
string | Invoice | Transaction invoice number. Will be truncated to 10 characters. If this field is not provided, the system will submit the RefNum in its place. (Required for Level 2 and 3). |
string | PONum | Purchase order number for commercial card transactions. 25 characters. (Required for Level 2 and 3). |
string | OrderID | Transaction order ID. This field should be used to assign a unique order ID to the transaction. The order ID can support 64 characters. (Required for Level 2 and 3). |
string | SessionID | Optional session ID used for customer analytics and fraud prevention. Must be generated using the getSession method. See the profiling guide for more information. |
string | Clerk | Sales clerk. Optional value indicating the clerk/person who processed the transaction (for reporting purposes). |
string | Terminal | Terminal name. Optional value indicating the terminal used to process the transaction (for reporting purposes). |
string | Table | Restaurant table number. Optional value indicating the restaurant table (for reporting purposes). |
string | Description | Transaction description. (optional) |
string | Comments | Comments. Free-form text. (optional) |
boolean | AllowPartialAuth | Allow a partial authorization if full amount is not available (defaults to False). (required) |
double | Amount | Total billing amount. (Subtotal + tax + tip + shipping - discount = amount). (required) |
double | Tax | Portion of total amount that is tax. (Required for Level 2 and 3). |
double | Tip | Portion of total amount that is tip. (optional) |
boolean | NonTax | Determines whether a transaction is non-taxable. (required) |
double | Shipping | Portion of total amount that is shipping charges. (Required for Level 2 and 3). |
double | ShipFromZip | Zip code that the order is shipping from. (Required for Level 3). |
double | Discount | Amount of discount. (optional) |
double | Duty | Amount of duty charged. (Required for Level 3). |
double | Subtotal | The amount of the transaction before tax, tip, shipping, and discount have been applied. (required) |
Examples
eBizCharge.TransactionDetail details = new eBizCharge.TransactionDetail();
details.Amount = 34.50;
details.AmountSpecified = true;
details.Description = "Example QuickSale";
details.Invoice = "123456";
Updated over 1 year ago