import { SdPlatformChargebeeHostedPage, SdPlatformChargebeePortalSession } from "../commons/SdPlatformChargebee"; import { SdPlatformResponseFeatures } from "./SdPlatformResponseFeatures"; export declare enum SdPlatformResponseChargebeeCurrencyCode { USD = "USD", AUD = "AUD", EUR = "EUR", GBP = "GBP" } export declare enum SdPlatformResponseChargebeePeriodUnit { /** * Charge based on day(s). */ Day = "day", /** * Charge based on week(s). */ Week = "week", /** * Charge based on month(s). */ Month = "month", /** * Charge based on year(s). */ Year = "year" } /** * The [Chargebee Plan](https://apidocs.chargebee.com/docs/api/plans?prod_cat_ver=1#plan_attributes) */ export interface SdPlatformResponseChargebeePlan { /** * A unique ID for your system to identify the plan. */ readonly id: string; /** * The display name used in web interface for identifying the plan. */ readonly name: string; /** * The price of the plan. The unit depends on the type of currency. * {@link SdPlatformResponseChargebeeCurrencyCode} */ readonly price: number; /** * Description about the plan to show in the hosted pages & customer portal. */ readonly description: string; /** * The currency code (ISO 4217 format) of the plan */ readonly currency_code: SdPlatformResponseChargebeeCurrencyCode; /** * Display name used in invoice. If it is not configured then name is used in invoice. */ readonly invoice_name: string; /** * If true, allow checkout through plan specific hosted page URL for this plan. */ readonly enabled_in_hosted_pages: boolean; /** * Is free plan? */ readonly cf_free_plan?: boolean; /** * When has or will be active */ readonly cf_active_from?: string; /** * Until when is active. */ readonly cf_active_to?: string; /** * The custom field dropdown name. */ readonly cf_dropdown_name?: string; /** * Defines billing frequency in association with billing period. * {@link SdPlatformResponseChargebeePeriodUnit} */ readonly period: number; /** * Defines billing frequency in association with billing period. */ readonly period_unit: string; /** * The free time window for your customer to try your product+ */ readonly trial_period?: number; /** * Time unit for the trial period. */ readonly trial_period_unit?: string; /** * The features. * {@link SdPlatformResponseFeatures} */ readonly features?: SdPlatformResponseFeatures; } /** * The configuration for chargebee. */ export interface SdPlatformResponseChargebeeConfig { /** * Gets the chargebee side. */ readonly site: string; } /** * [Hosted Page](https://apidocs.chargebee.com/docs/api/hosted_pages?prod_cat_ver=1#hosted_page_attributes) response. */ export interface SdPlatformResponseChargebeeHostedPage extends SdPlatformChargebeeHostedPage { } /** * [Portal session](https://apidocs.chargebee.com/docs/api/portal_sessions?prod_cat_ver=1#portal_session_attributes) response. */ export interface SdPlatformResponseChargebeePortalSession extends SdPlatformChargebeePortalSession { } //# sourceMappingURL=SdPlatformResponseChargebee.d.ts.map