import { BasketEntry } from '../_models'; import { CurrencyService } from './currency.service'; import * as i0 from "@angular/core"; export declare enum DiscountType { Undiscounted = "undiscounted", Unsupported = "unsupported", StrikethroughPrice = "strikethrough_price", StrikethroughPricePerc = "strikethrough_price_perc", LoyaltyFund = "loyalty_fund", LoyaltyFundPerc = "loyalty_fund_perc", LoyaltyDiscount = "loyalty_discount", LoyaltyDiscountPerc = "loyalty_discount_perc", DiscountedProduct = "discounted_product", DiscountedProductPerc = "discounted_product_perc" } export interface ItemPrice { 'discount-amount'?: number; 'discount-type'?: DiscountType; 'discounted-price'?: number; price: number; 'price-per-unit': number; 'unit-of-measurement': string; } export interface ProductPrice { unit: number; total?: number; pricePerUnit: number; unitOfMeasurement: string; discountAmount?: number; discountType?: string; discountedPrice?: number; } export declare class PriceService { private currencyService; constructor(currencyService: CurrencyService); getPriceAmountSuffix(price: ProductPrice): string; getPriceFromBasketEntry(basketEntry: BasketEntry): ProductPrice; getCurrentPrice(price: ProductPrice): number; getOldPrice(price: ProductPrice): number; static ɵfac: i0.ɵɵFactoryDef; static ɵprov: i0.ɵɵInjectableDef; } //# sourceMappingURL=price.service.d.ts.map