LineItem constructor
LineItem({
- List<
Tax> ? taxes, - List? discounts,
- BasePricePerUnitExclVat? totalTax,
- BasePricePerUnit? totalDiscounts,
- BasePricePerUnitExclVat? totalExciseAmount,
- BasePricePerUnitExclVat? totalVatAmount,
- BasePricePerUnitExclVat? totalInvoiceAmount,
- BasePricePerUnitExclVat? totalPriceWithTax,
- BasePricePerUnit? totalPriceExclTax,
- BasePricePerUnit? 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,
- dynamic assetName,
- String? materialCode,
- bool? taxable,
- BasePricePerUnit? basePricePerUnit,
- BasePricePerUnit? basePricePerUnitExclTax,
- BasePricePerUnitExclVat? basePricePerUnitExclVat,
- BasePricePerUnit? basePricePerUnitExclExcise,
- BasePricePerUnitExclVat? basePricePerUnitWithTax,
- BasePricePerUnit? netPricePerUnit,
- BasePricePerUnit? discountAmountPerUnit,
- double? discountPercentage,
- BasePricePerUnitExclVat? exciseAmountPerUnit,
- double? excisePercentage,
- BasePricePerUnitExclVat? 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,
});