articleCost property

num get articleCost

Implementation

num get articleCost {
  A article = articleCreator();
  if (isUncountable) {
    return (article as ArticleUncountableOnTicket).cost;
  }
  // no basket purchase today 2024 April
  // if (article.toMap()['proxies'] != null) {
  // return proxiesWorth?.baskeTotalCost(0, 0) ?? 0;
  // * not applying any discount in purchase, discount& markup ar for sales only
  //(article as ArticleBasketOnBasket).discountAmountSalesOnly,
  //(article as ArticleBasketOnBasket).markupAmountSalesOnly)
  // } else {
  return (article as ArticleRetailOnTicket).cost;
  // }
}