@kadconsulting/dry
Version:
KAD Reusable Component Library
21 lines (20 loc) • 547 B
TypeScript
declare const getPrice: ({ product }: {
product: any | null;
}) => {
amountOff?: number | undefined;
discountPrice: number | undefined;
originalPrice: any;
amount: any;
percent: any;
};
export declare const getServicePrice: ({ price, promotionalPricingAttributes, }: {
price: number | null;
promotionalPricingAttributes: Partial<any> | null;
}) => {
amountOff?: number | undefined;
discountPrice: number | undefined;
originalPrice: number;
amount: any;
percent: any;
};
export default getPrice;