@vendasta/store
Version:
Components and data for Store
31 lines (30 loc) • 983 B
TypeScript
import { EventEmitter } from '@angular/core';
import { Product } from '../shared/product';
import { Price } from '../pricing/pricing';
import { Addon } from '@vendasta/core/shared';
import { BilledProduct } from '@vendasta/core/billing';
export declare class VaProductDetailsComponent {
product: Product;
billedProduct: BilledProduct;
hasVerifiedContract: boolean;
canAccessContractPricing: boolean;
showActionButton: boolean;
showPricing: boolean;
pricingActionLabel: string;
showPricingAction: boolean;
loaded: boolean;
partnerID: string;
enableClicked: EventEmitter<{}>;
addonSelected: EventEmitter<string>;
pricingActionSelected: EventEmitter<{}>;
private _addons;
emitEnableButtonClicked(): void;
getAddons(): Addon[];
getActionLabel(): string;
readonly price: {
currency: string;
prices: Price[];
};
onAddonSelected(addonId: string): void;
emitPricingActionSelected(): void;
}