UNPKG

@chargebee/atomicpricing

Version:

JS wrapper for your Atomic Pricing hosted page

23 lines (22 loc) 1.39 kB
declare const Pricify: { init: () => void; setVisitor: (visitor: import("./types").Visitor, options?: import("./pricify/events/defn").EventOptions | undefined) => void; setQuantity: (quantity: number, options?: import("./pricify/events/defn").EventOptions | undefined) => void; setBillingAddress: (billingAddress: import("./types").Address, options?: import("./pricify/events/defn").EventOptions | undefined) => void; setShippingAddress: (shippingAddress: import("./types").Address, options?: import("./pricify/events/defn").EventOptions | undefined) => void; setBusinessEntity: (id: string, options?: import("./pricify/events/defn").EventOptions | undefined) => void; setPriceVariant: (id: string, options?: import("./pricify/events/defn").EventOptions | undefined) => void; openPricingPage: ({ pricingPage, }: { pricingPage: () => Promise<import("./pricify/events/defn").PricingPageSession>; }) => Promise<void>; open: ({ pricingTable, }: { pricingTable: () => Promise<import("./pricify/events/defn").PricingPageSession>; }) => Promise<void>; setSubscriptionAttributes: (subscriptionAttributes: import("./types").SubscriptionAttributes, options?: import("./pricify/events/defn").EventOptions | undefined) => void; }; declare global { interface Window { Pricify: typeof Pricify; } } export default Pricify;