Skip to main content

Interface: PriceSourceUpdate

Associates a price payload with the source that set it. Engine and custom prices use the same PriceData fields and currency. Custom overrides come from utils.setPrice().

Example​

const update = window.mimeeqApp.observers.pricing.priceSource.getValue();
if (update?.source === 'engine') console.log(update.prices.price, update.prices.currency);

Properties​

prices​

prices: PriceData


source​

source: "custom" | "engine"