CartData constructor
CartData({
- String? totalDiscount,
- double? totalDiscountPercentage,
- double? totalSellingPrice,
- double? totalNetPrice,
- double? totalPriceWithoutWHT,
- String? totalPriceWithoutTax,
- double? totalWHT,
- double? overallTax,
- double? overallSaleTax,
- double? overallTaxPercentage,
- double? overallSaleTaxPercentage,
- double? totalPriceWithoutTaxAndDiscount,
- double? totalPriceWithOutTaxAndWithDiscount,
- double? totalRetailPrice,
- String? grandTotal,
- GrandTotalInLocalCurrency? grandTotalInLocalCurrency,
- String? cartId,
- ContextParameters? contextParameters,
- List<
SelectedCartoffers> ? selectedCartoffers, - List<
Products> ? products, - CreditLimitDetails? creditLimitDetails,
- String? rechargeInfo,
- String? evcInfo,
- List<
Taxes> ? taxes, - List<
SaleTaxes> ? saleTaxes, - String? resellerDiscount,
- String? billingOrShippingAddressId,
- String? category,
- List<
Payment> ? payment, - String? aggregatedDiscountsList,
- List<
AdhocTax> ? adhocTax, - List<
CartDiscountsList> ? cartDiscountsList, - String? adhocDiscountsList,
- String? cartOverviewList,
- double? withHeldTaxPercentage,
- String? cartDiscountId,
- double? cartDiscountValue,
- String? paymentCollect,
- String? currency,
- bool? paymentCollected,
- double? netPriceWithOutTaxAndDiscountWithOutTax,
- String? invoiceAttachmentNumber,
- ValidationDetails? validationDetails,
- String? parentOrderId,
- String? externalParentTransactionId,
- String? taxClassificationKey,
- 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});