xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
91 lines (90 loc) • 2.38 kB
JavaScript
;
/**
* Accounting API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
var LineItem = /** @class */ (function () {
function LineItem() {
}
LineItem.getAttributeTypeMap = function () {
return LineItem.attributeTypeMap;
};
LineItem.discriminator = undefined;
LineItem.attributeTypeMap = [
{
"name": "lineItemID",
"baseName": "LineItemID",
"type": "string"
},
{
"name": "description",
"baseName": "Description",
"type": "string"
},
{
"name": "quantity",
"baseName": "Quantity",
"type": "number"
},
{
"name": "unitAmount",
"baseName": "UnitAmount",
"type": "number"
},
{
"name": "itemCode",
"baseName": "ItemCode",
"type": "string"
},
{
"name": "accountCode",
"baseName": "AccountCode",
"type": "string"
},
{
"name": "taxType",
"baseName": "TaxType",
"type": "string"
},
{
"name": "taxAmount",
"baseName": "TaxAmount",
"type": "number"
},
{
"name": "lineAmount",
"baseName": "LineAmount",
"type": "number"
},
{
"name": "tracking",
"baseName": "Tracking",
"type": "Array<LineItemTracking>"
},
{
"name": "discountRate",
"baseName": "DiscountRate",
"type": "string"
},
{
"name": "discountAmount",
"baseName": "DiscountAmount",
"type": "number"
},
{
"name": "repeatingInvoiceID",
"baseName": "RepeatingInvoiceID",
"type": "string"
}
];
return LineItem;
}());
exports.LineItem = LineItem;