UNPKG

@vendasta/store

Version:

Components and data for Store

54 lines (53 loc) 1.56 kB
import { File } from '../files/shared/file.model'; import { Faq } from '../faqs/shared/faqs.model'; import { Sellable } from './sellable'; import { Addon } from '@vendasta/core/shared'; import { Restrictions } from '../restrictions/shared/restrictions.model'; export declare class Product extends Sellable { partnerId: string; productId: string; editionId: string; editionName: string; name: string; description: string; tagline: string; iconUrl: string; headerImageUrl: string; entryUrl: string; screenshotUrls: string[]; pdfUploadUrls: string[]; lmiCategories: string[]; keySellingPoints: string[]; faqs: Faq[]; needHelp: string; wholesalePrice: number; setupFee: number; usesCustomPricing: boolean; currency: string; billingFrequency: string; billingId: string; isArchived: boolean; isSuspended: boolean; addons: Addon[]; files: File[]; restrictions: Restrictions; trialConfiguration: TrialConfigurationInterface; videos: string[]; static fromApi(data: any): Product; constructor(data?: any); get iconStyle(): string; get iconColor(): string; getLmiCategoryNames(): string[]; } export declare class ProductWithParent extends Product { parentId: string; parentName: string; parentIconUrl: string; multipleActivations: boolean; static fromApi(data: any): ProductWithParent; constructor(data?: any); } export interface TrialConfigurationInterface { trialEnabled: boolean; trialDuration: number; }