LineItem constructor

LineItem({
  1. List<Tax>? taxes,
  2. List? discounts,
  3. BasePricePerUnitExclVat? totalTax,
  4. BasePricePerUnit? totalDiscounts,
  5. BasePricePerUnitExclVat? totalExciseAmount,
  6. BasePricePerUnitExclVat? totalVatAmount,
  7. BasePricePerUnitExclVat? totalInvoiceAmount,
  8. BasePricePerUnitExclVat? totalPriceWithTax,
  9. BasePricePerUnit? totalPriceExclTax,
  10. BasePricePerUnit? 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,
  25. dynamic assetName,
  26. String? materialCode,
  27. bool? taxable,
  28. BasePricePerUnit? basePricePerUnit,
  29. BasePricePerUnit? basePricePerUnitExclTax,
  30. BasePricePerUnitExclVat? basePricePerUnitExclVat,
  31. BasePricePerUnit? basePricePerUnitExclExcise,
  32. BasePricePerUnitExclVat? basePricePerUnitWithTax,
  33. BasePricePerUnit? netPricePerUnit,
  34. BasePricePerUnit? discountAmountPerUnit,
  35. double? discountPercentage,
  36. BasePricePerUnitExclVat? exciseAmountPerUnit,
  37. double? excisePercentage,
  38. BasePricePerUnitExclVat? 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,
});