LineItem constructor
LineItem({
- List<
Tax> ? taxes, - List? discounts,
- TotalExciseAmount? totalTax,
- TotalDiscounts? totalDiscounts,
- TotalExciseAmount? totalExciseAmount,
- TotalExciseAmount? totalVatAmount,
- TotalExciseAmount? totalInvoiceAmount,
- TotalExciseAmount? totalPriceWithTax,
- TotalDiscounts? totalPriceExclTax,
- TotalDiscounts? totalInvoiceAmountExclTax,
- dynamic lineItemId,
- String? id,
- String? name,
- String? description,
- String? pogId,
- String? pogName,
- String? subTypeId,
- String? subTypeName,
- dynamic productImage,
- int? quantity,
- dynamic priceCurrency,
- int? conversionRate,
- dynamic assetId,
- List<
AssetIds> ? assetIds, - dynamic assetName,
- String? materialCode,
- bool? taxable,
- TotalDiscounts? basePricePerUnit,
- TotalDiscounts? basePricePerUnitExclTax,
- TotalExciseAmount? basePricePerUnitExclVat,
- TotalDiscounts? basePricePerUnitExclExcise,
- TotalExciseAmount? basePricePerUnitWithTax,
- TotalDiscounts? netPricePerUnit,
- TotalDiscounts? discountAmountPerUnit,
- double? discountPercentage,
- TotalExciseAmount? exciseAmountPerUnit,
- double? excisePercentage,
- TotalExciseAmount? vatAmountPerUnit,
- double? vatPercentage,
- dynamic backEndLineItemId,
- bool? taxInclusive,
- bool? discountInclusive,
Implementation
LineItem({
this.taxes,
this.discounts,
this.totalTax,
this.totalDiscounts,
this.totalExciseAmount,
this.totalVatAmount,
this.totalInvoiceAmount,
this.totalPriceWithTax,
this.totalPriceExclTax,
this.totalInvoiceAmountExclTax,
this.lineItemId,
this.id,
this.name,
this.description,
this.pogId,
this.pogName,
this.subTypeId,
this.subTypeName,
this.productImage,
this.quantity,
this.priceCurrency,
this.conversionRate,
this.assetId,
this.assetIds,
this.assetName,
this.materialCode,
this.taxable,
this.basePricePerUnit,
this.basePricePerUnitExclTax,
this.basePricePerUnitExclVat,
this.basePricePerUnitExclExcise,
this.basePricePerUnitWithTax,
this.netPricePerUnit,
this.discountAmountPerUnit,
this.discountPercentage,
this.exciseAmountPerUnit,
this.excisePercentage,
this.vatAmountPerUnit,
this.vatPercentage,
this.backEndLineItemId,
this.taxInclusive,
this.discountInclusive,
});