Data constructor

Data({
  1. String? id,
  2. String? saleOrderId,
  3. String? invoiceId,
  4. String? orderUpdationId,
  5. String? paymentTransactionId,
  6. String? cartId,
  7. String? saleType,
  8. int? saleDate,
  9. dynamic sellerDetails,
  10. BuyerDetails? buyerDetails,
  11. String? partnerId,
  12. String? promos,
  13. String? saleOrderTpe,
  14. List<OrderItems>? orderItems,
  15. String? attachments,
  16. String? approvalTaskIds,
  17. UnitPrice? wHT,
  18. UnitPrice? absoluteTotal,
  19. UnitPrice? totalDiscount,
  20. UnitPrice? totalTax,
  21. UnitPrice? totalPriceWithoutWHT,
  22. UnitPrice? totalWithoutTaxAndDiscount,
  23. String? totalPriceWithoutTaxAndWithDiscount,
  24. String? overAllTaxPercentage,
  25. String? totalPriceWithoutTax,
  26. UnitPrice? totalWHT,
  27. String? totalPaymentCollected,
  28. String? orderTotal,
  29. UnitPrice? grandTotal,
  30. String? remarks,
  31. String? poReferenceNo,
  32. UnitPrice? totalNetPrice,
  33. UnitPrice? overallSaleTax,
  34. String? taxClassification,
  35. String? taxClassificationName,
  36. double? withHeldTaxPercentage,
  37. double? salesTaxPercentage,
  38. String? netPriceWithOutTaxAndDiscountWithOutTax,
  39. UnitPrice? totalDiscountPercentage,
  40. UnitPrice? totalNetExcludedWithHeldTax,
  41. UnitPrice? totalVATableSalesVATAmount,
  42. UnitPrice? totalNetTaxVATableSalesDiscount,
  43. UnitPrice? totalConversionRate,
  44. UnitPrice? totalNetTaxVATExemptSalesDiscount,
  45. UnitPrice? totalNetTaxZeroRatedSalesDiscount,
  46. UnitPrice? totalZeroRatedSale,
  47. UnitPrice? totalVATExemptSale,
  48. UnitPrice? totalFixed,
  49. String? saleTransactionId,
  50. String? totalInitialPaymentCollected,
  51. String? promoCode,
  52. String? billingOrShippingAddressId,
  53. UnitPrice? overAllTax,
  54. BuyerDetailInfo? buyerDetailInfo,
  55. dynamic sellerDetailInfo,
  56. List<ModeOfPaymentList>? modeOfPaymentList,
  57. List<HeaderDetailsList>? headerDetailsList,
  58. UnitPrice? wht,
})

Implementation

Data(
    {this.id,
    this.saleOrderId,
    this.invoiceId,
    this.orderUpdationId,
    this.paymentTransactionId,
    this.cartId,
    this.saleType,
    this.saleDate,
    this.sellerDetails,
    this.buyerDetails,
    this.partnerId,
    this.promos,
    this.saleOrderTpe,
    this.orderItems,
    this.attachments,
    this.approvalTaskIds,
    this.wHT,
    this.absoluteTotal,
    this.totalDiscount,
    this.totalTax,
    this.totalPriceWithoutWHT,
    this.totalWithoutTaxAndDiscount,
    this.totalPriceWithoutTaxAndWithDiscount,
    this.overAllTaxPercentage,
    this.totalPriceWithoutTax,
    this.totalWHT,
    this.totalPaymentCollected,
    this.orderTotal,
    this.grandTotal,
    this.remarks,
    this.poReferenceNo,
    this.totalNetPrice,
    this.overallSaleTax,
    this.taxClassification,
    this.taxClassificationName,
    this.withHeldTaxPercentage,
    this.salesTaxPercentage,
    this.netPriceWithOutTaxAndDiscountWithOutTax,
    this.totalDiscountPercentage,
    this.totalNetExcludedWithHeldTax,
    this.totalVATableSalesVATAmount,
    this.totalNetTaxVATableSalesDiscount,
    this.totalConversionRate,
    this.totalNetTaxVATExemptSalesDiscount,
    this.totalNetTaxZeroRatedSalesDiscount,
    this.totalZeroRatedSale,
    this.totalVATExemptSale,
    this.totalFixed,
    this.saleTransactionId,
    this.totalInitialPaymentCollected,
    this.promoCode,
    this.billingOrShippingAddressId,
    this.overAllTax,
    this.buyerDetailInfo,
    this.sellerDetailInfo,
    this.modeOfPaymentList,
    this.headerDetailsList,
    this.wht});