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