@duffel/components
Version:
Component library to build your travel product with Duffel.
5 lines (4 loc) • 443 B
TypeScript
import { CreateOrder, Offer, SeatMap } from "@duffel/api/types";
import { ServicePriceMapById } from "./getServicePriceMapById";
export declare const getTotalAmountForServices: (offer: Offer, selectedServices: CreateOrder["services"], seatMaps?: SeatMap[]) => number;
export declare const getTotalAmountForServicesWithPriceMap: (servicePriceMap: ServicePriceMapById, selectedServices: CreateOrder["services"], seatMaps?: SeatMap[]) => number;