{"_id":"5632a5ea49e16d0d00122491","version":{"_id":"5632a5e549e16d0d00122443","__v":6,"project":"55b933b3146ef121002158d3","createdAt":"2015-10-29T23:04:05.701Z","releaseDate":"2015-10-29T23:04:05.701Z","categories":["5632a5e749e16d0d00122444","5632a5e749e16d0d00122445","5632a5e749e16d0d00122446","5632a5e749e16d0d00122447","5632a5e749e16d0d00122448","5632a5e749e16d0d00122449","5632a5e749e16d0d0012244a","5632a5e749e16d0d0012244b","5632a5e749e16d0d0012244c","5632a5e749e16d0d0012244d","5632a5e749e16d0d0012244e","5632a5e749e16d0d0012244f","5632a5e749e16d0d00122450","5632b179df556c0d00cd095b","564e13053b2b4a19000cd69b","59caa9df65accc001a489c95","59cab50965accc001a489d28","59cadd464ab7b70024378e74"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"__v":0,"githubsync":"","user":"55b932ba8fd1a02b00f496c8","category":{"_id":"5632a5e749e16d0d0012244d","__v":1,"pages":["5632a5ea49e16d0d00122481","5632a5ea49e16d0d00122482","5632a5ea49e16d0d00122483","5632a5ea49e16d0d00122484","5632a5ea49e16d0d00122485","5632a5ea49e16d0d00122486","5632a5ea49e16d0d00122487","5632a5ea49e16d0d00122488","5632a5ea49e16d0d00122489","5632a5ea49e16d0d0012248a","5632a5ea49e16d0d0012248b","5632a5ea49e16d0d0012248c","5632a5ea49e16d0d0012248d","5632a5ea49e16d0d0012248e","5632a5ea49e16d0d0012248f","5632a5ea49e16d0d00122490","5632a5ea49e16d0d00122491","5632a5ea49e16d0d00122492","5632a5ea49e16d0d00122493","5632a5ea49e16d0d00122494","5632a5ea49e16d0d00122495","5632a5ea49e16d0d00122496","5632a5ea49e16d0d00122497","5632a5ea49e16d0d00122498","5632a5ea49e16d0d00122499","5632a5ea49e16d0d0012249a","5632a5ea49e16d0d0012249b","5632a5ea49e16d0d0012249c","5632a5ea49e16d0d0012249d","5632a5ea49e16d0d0012249e","5632a5ea49e16d0d0012249f","5632a5ea49e16d0d001224a0","5632a5ea49e16d0d001224a1","5632a5ea49e16d0d001224a2","5632a5ea49e16d0d001224a3","5632a5ea49e16d0d001224a4","5632a5ea49e16d0d001224a5","5632a5ea49e16d0d001224a6","5632a5ea49e16d0d001224a7"],"project":"55b933b3146ef121002158d3","version":"5632a5e549e16d0d00122443","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-04T17:34:02.800Z","from_sync":false,"order":12,"slug":"objects","title":"Objects"},"project":"55b933b3146ef121002158d3","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-04T17:55:56.653Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":15,"body":"Contains elements needed for line item data.\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Description\"\n}\n[/block]\nMerchants can pass information about the individual line items that make up an order. This data is visible on the transaction details page. Up to 100 lines may be stored per transaction.\nAll fields must be passed, but may be left blank if not applicable.\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Properties\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Type\",\n    \"h-1\": \"Name\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"string\",\n    \"0-1\": \"ProductRefNum\",\n    \"0-2\": \"Unique ID of the product assigned by the gateway (Optional)\",\n    \"1-0\": \"string\",\n    \"1-1\": \"SKU\",\n    \"1-2\": \"A stock-keeping unit is a unique identifier for each distinct product and service that can be purchased\",\n    \"2-0\": \"string\",\n    \"2-1\": \"ProductName\",\n    \"2-2\": \"Name of the product\",\n    \"3-0\": \"string\",\n    \"3-1\": \"Description\",\n    \"3-2\": \"Description of product or purchase\",\n    \"4-0\": \"string\",\n    \"4-1\": \"UnitPrice\",\n    \"4-2\": \"Individual price of the unit\",\n    \"5-0\": \"string\",\n    \"5-1\": \"Qty\",\n    \"5-2\": \"Total number of items\",\n    \"6-0\": \"boolean\",\n    \"6-1\": \"Taxable\",\n    \"6-2\": \"Taxable good flag\",\n    \"7-0\": \"string\",\n    \"7-1\": \"CommodityCode\",\n    \"7-2\": \"Numeric code used to classify the good or service. See the [UNSPSC](http://www.unspsc.org/) for codes. (Level 3)\",\n    \"8-0\": \"string\",\n    \"8-1\": \"UnitOfMeasure\",\n    \"8-2\": \"Unit that quantity is measuring. Defaults to “EA”. See list of valid Unit of Measure Codes (Level 3)\",\n    \"9-0\": \"string\",\n    \"9-1\": \"DiscountAmount\",\n    \"9-2\": \"Amount line item was discounted (Level 3)\",\n    \"10-0\": \"string\",\n    \"10-1\": \"DiscountRate\",\n    \"10-2\": \"The rate used to calculate discount (Level 3)\",\n    \"11-0\": \"string\",\n    \"11-1\": \"TaxAmount\",\n    \"11-2\": \"Tax charged for this line item (Level 3)\",\n    \"12-0\": \"string\",\n    \"12-1\": \"TaxRate\",\n    \"12-2\": \"The tax rate used for this line item (Level 3)\"\n  },\n  \"cols\": 3,\n  \"rows\": 13\n}\n[/block]\nThe properties noted as “Level 3” are only necessary if merchant is processing level 3 data for business or corporate purchasing cards.\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Examples\"\n}\n[/block]\n## Visual Basic (.Net)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Dim line as eBizCharge.LineItem = new eBizCharge.Lineitem\\n              line.SKU = \\\"123456\\\"\\n              line.ProductRefNum = \\\"90476\\\"        \\n              line.ProductName = \\\"QuickBook\\\"        \\n              line.Description = \\\"test\\\"        \\n              line.UnitPrice = \\\"100\\\"\\n              line.Qty = \\\"5\\\"\",\n      \"language\": \"asp\"\n    }\n  ]\n}\n[/block]\n## C Sharp (.Net)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"eBizCharge.LineItem line = new eBizCharge.Lineitem();\\n              line.SKU = \\\"123456\\\";\\n              line.ProductRefNum = \\\"90476\\\";        \\n              line.ProductName = \\\"QuickBook\\\";        \\n              line.Description = \\\"test\\\";        \\n              line.UnitPrice = \\\"100\\\";\\n              line.Qty = \\\"5\\\";        \",\n      \"language\": \"csharp\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"lineitem","type":"basic","title":"LineItem"}
Contains elements needed for line item data. [block:api-header] { "type": "basic", "title": "Description" } [/block] Merchants can pass information about the individual line items that make up an order. This data is visible on the transaction details page. Up to 100 lines may be stored per transaction. All fields must be passed, but may be left blank if not applicable. [block:api-header] { "type": "basic", "title": "Properties" } [/block] [block:parameters] { "data": { "h-0": "Type", "h-1": "Name", "h-2": "Description", "0-0": "string", "0-1": "ProductRefNum", "0-2": "Unique ID of the product assigned by the gateway (Optional)", "1-0": "string", "1-1": "SKU", "1-2": "A stock-keeping unit is a unique identifier for each distinct product and service that can be purchased", "2-0": "string", "2-1": "ProductName", "2-2": "Name of the product", "3-0": "string", "3-1": "Description", "3-2": "Description of product or purchase", "4-0": "string", "4-1": "UnitPrice", "4-2": "Individual price of the unit", "5-0": "string", "5-1": "Qty", "5-2": "Total number of items", "6-0": "boolean", "6-1": "Taxable", "6-2": "Taxable good flag", "7-0": "string", "7-1": "CommodityCode", "7-2": "Numeric code used to classify the good or service. See the [UNSPSC](http://www.unspsc.org/) for codes. (Level 3)", "8-0": "string", "8-1": "UnitOfMeasure", "8-2": "Unit that quantity is measuring. Defaults to “EA”. See list of valid Unit of Measure Codes (Level 3)", "9-0": "string", "9-1": "DiscountAmount", "9-2": "Amount line item was discounted (Level 3)", "10-0": "string", "10-1": "DiscountRate", "10-2": "The rate used to calculate discount (Level 3)", "11-0": "string", "11-1": "TaxAmount", "11-2": "Tax charged for this line item (Level 3)", "12-0": "string", "12-1": "TaxRate", "12-2": "The tax rate used for this line item (Level 3)" }, "cols": 3, "rows": 13 } [/block] The properties noted as “Level 3” are only necessary if merchant is processing level 3 data for business or corporate purchasing cards. [block:api-header] { "type": "basic", "title": "Examples" } [/block] ## Visual Basic (.Net) [block:code] { "codes": [ { "code": "Dim line as eBizCharge.LineItem = new eBizCharge.Lineitem\n line.SKU = \"123456\"\n line.ProductRefNum = \"90476\" \n line.ProductName = \"QuickBook\" \n line.Description = \"test\" \n line.UnitPrice = \"100\"\n line.Qty = \"5\"", "language": "asp" } ] } [/block] ## C Sharp (.Net) [block:code] { "codes": [ { "code": "eBizCharge.LineItem line = new eBizCharge.Lineitem();\n line.SKU = \"123456\";\n line.ProductRefNum = \"90476\"; \n line.ProductName = \"QuickBook\"; \n line.Description = \"test\"; \n line.UnitPrice = \"100\";\n line.Qty = \"5\"; ", "language": "csharp" } ] } [/block]