CartData constructor

CartData({
  1. String? totalDiscount,
  2. double? totalDiscountPercentage,
  3. double? totalSellingPrice,
  4. double? totalNetPrice,
  5. double? totalPriceWithoutWHT,
  6. String? totalPriceWithoutTax,
  7. double? totalWHT,
  8. double? overallTax,
  9. double? overallSaleTax,
  10. double? overallTaxPercentage,
  11. double? overallSaleTaxPercentage,
  12. double? totalPriceWithoutTaxAndDiscount,
  13. double? totalPriceWithOutTaxAndWithDiscount,
  14. double? 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. double? withHeldTaxPercentage,
  37. String? cartDiscountId,
  38. double? 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

CartData(
    {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});