Data constructor

Data({
  1. String? totalDiscount,
  2. int? totalDiscountPercentage,
  3. int? totalSellingPrice,
  4. double? totalNetPrice,
  5. double? totalPriceWithoutWHT,
  6. String? totalPriceWithoutTax,
  7. double? totalWHT,
  8. double? overallTax,
  9. double? overallSaleTax,
  10. double? overallTaxPercentage,
  11. int? overallSaleTaxPercentage,
  12. double? totalPriceWithoutTaxAndDiscount,
  13. double? totalPriceWithOutTaxAndWithDiscount,
  14. int? totalRetailPrice,
  15. double? grandTotal,
  16. GrandTotalInLocalCurrency? grandTotalInLocalCurrency,
  17. String? cartId,
  18. ContextParameters? contextParameters,
  19. List<SelectedCartoffers>? selectedCartoffers,
  20. List<Products>? products,
  21. CreditLimitDetails? creditLimitDetails,
  22. String? rechargeInfo,
  23. String? evcInfo,
  24. List<Taxes>? taxes,
  25. List<SaleTaxes>? saleTaxes,
  26. String? resellerDiscount,
  27. String? billingOrShippingAddressId,
  28. String? category,
  29. List<RelatedParty>? relatedParty,
  30. List<Payment>? payment,
  31. String? aggregatedDiscountsList,
  32. List<AdhocTax>? adhocTax,
  33. List<CartDiscountsList>? cartDiscountsList,
  34. String? adhocDiscountsList,
  35. String? cartOverviewList,
  36. int? withHeldTaxPercentage,
  37. String? cartDiscountId,
  38. int? cartDiscountValue,
  39. String? paymentCollect,
  40. String? currency,
  41. bool? paymentCollected,
  42. double? netPriceWithOutTaxAndDiscountWithOutTax,
  43. String? invoiceAttachmentNumber,
  44. ValidationDetails? validationDetails,
  45. String? parentOrderId,
  46. String? externalParentTransactionId,
  47. String? taxClassificationKey,
  48. String? taxClassificationName,
})

Implementation

Data(
    {this.totalDiscount,
      this.totalDiscountPercentage,
      this.totalSellingPrice,
      this.totalNetPrice,
      this.totalPriceWithoutWHT,
      this.totalPriceWithoutTax,
      this.totalWHT,
      this.overallTax,
      this.overallSaleTax,
      this.overallTaxPercentage,
      this.overallSaleTaxPercentage,
      this.totalPriceWithoutTaxAndDiscount,
      this.totalPriceWithOutTaxAndWithDiscount,
      this.totalRetailPrice,
      this.grandTotal,
      this.grandTotalInLocalCurrency,
      this.cartId,
      this.contextParameters,
      this.selectedCartoffers,
      this.products,
      this.creditLimitDetails,
      this.rechargeInfo,
      this.evcInfo,
      this.taxes,
      this.saleTaxes,
      this.resellerDiscount,
      this.billingOrShippingAddressId,
      this.category,
      this.relatedParty,
      this.payment,
      this.aggregatedDiscountsList,
      this.adhocTax,
      this.cartDiscountsList,
      this.adhocDiscountsList,
      this.cartOverviewList,
      this.withHeldTaxPercentage,
      this.cartDiscountId,
      this.cartDiscountValue,
      this.paymentCollect,
      this.currency,
      this.paymentCollected,
      this.netPriceWithOutTaxAndDiscountWithOutTax,
      this.invoiceAttachmentNumber,
      this.validationDetails,
      this.parentOrderId,
      this.externalParentTransactionId,
      this.taxClassificationKey,
      this.taxClassificationName});