UNPKG

@vendasta/store

Version:

Components and data for Store

26 lines (25 loc) 1.44 kB
import { TranslateService } from '@ngx-translate/core'; import { DurationInterface, RevenueComponent, RevenuePeriod } from '@vendasta/sales-orders'; import { Observable } from 'rxjs'; import { DurationTotal, TaxOption, UILineItem } from '../../order-form/order-item-list/interface'; import * as i0 from "@angular/core"; export declare class ContractEstimatedTotalComponent { private translateService; set orderItems(orderItems: UILineItem[]); taxOptions: TaxOption[]; duration: DurationInterface; private summaryItems; includesUndefinedPricing: boolean; constructor(translateService: TranslateService); getDailyTotal(revenueComponent: RevenueComponent): number; getWeeklyTotal(revenueComponent: RevenueComponent): number; getMonthlyTotal(revenueComponent: RevenueComponent): number; getYearlyTotal(revenueComponent: RevenueComponent): number; getRevenuePeriod(period: RevenuePeriod): string; getDurationDescription(): Observable<string>; calculatePriceForDuration(): DurationTotal[]; calculateTotalPrice(revenueComponent: RevenueComponent): number; isFree(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<ContractEstimatedTotalComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ContractEstimatedTotalComponent, "app-contract-estimated-total", never, { "orderItems": "orderItems"; "taxOptions": "taxOptions"; "duration": "duration"; }, {}, never, never>; }