@unchainedshop/plugins
Version:
Official plugin collection for the Unchained Engine with payment, delivery, and pricing adapters
11 lines (10 loc) • 374 B
TypeScript
import { type IProductPricingAdapter } from '@unchainedshop/core';
interface PriceRoundSettings {
defaultPrecision: number;
roundTo: (value: number, precision: number, currencyCode: string) => number;
}
export declare const ProductRound: IProductPricingAdapter & {
configure: (params: PriceRoundSettings) => void;
settings: PriceRoundSettings;
};
export {};