LineItem constructor

LineItem({
  1. List<Tax>? taxes,
  2. List? discounts,
  3. TotalExciseAmount? totalTax,
  4. TotalDiscounts? totalDiscounts,
  5. TotalExciseAmount? totalExciseAmount,
  6. TotalExciseAmount? totalVatAmount,
  7. TotalExciseAmount? totalInvoiceAmount,
  8. TotalExciseAmount? totalPriceWithTax,
  9. TotalDiscounts? totalPriceExclTax,
  10. TotalDiscounts? totalInvoiceAmountExclTax,
  11. dynamic lineItemId,
  12. String? id,
  13. String? name,
  14. String? description,
  15. String? pogId,
  16. String? pogName,
  17. String? subTypeId,
  18. String? subTypeName,
  19. dynamic productImage,
  20. int? quantity,
  21. dynamic priceCurrency,
  22. int? conversionRate,
  23. dynamic assetId,
  24. List<AssetIds>? assetIds,
  25. dynamic assetName,
  26. String? materialCode,
  27. bool? taxable,
  28. TotalDiscounts? basePricePerUnit,
  29. TotalDiscounts? basePricePerUnitExclTax,
  30. TotalExciseAmount? basePricePerUnitExclVat,
  31. TotalDiscounts? basePricePerUnitExclExcise,
  32. TotalExciseAmount? basePricePerUnitWithTax,
  33. TotalDiscounts? netPricePerUnit,
  34. TotalDiscounts? discountAmountPerUnit,
  35. double? discountPercentage,
  36. TotalExciseAmount? exciseAmountPerUnit,
  37. double? excisePercentage,
  38. TotalExciseAmount? vatAmountPerUnit,
  39. double? vatPercentage,
  40. dynamic backEndLineItemId,
  41. bool? taxInclusive,
  42. 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,
});