import { FieldAgentClient, WebTrackUser, ProductPrice, Per, ManualOrderLine, TaxCalculationResult, BisTrackSettings, KitProductPrice } from 'ep-bt-field-agent-proxy'; import { BistrackConfig } from 'ep-bt-controls'; import { EpbtFieldAgentService } from '../services/epbt-field-agent.service'; import { QuickOrderModel } from '../models/quick-order.model'; import { QuickOrderLineModel } from '../models/quick-order-line.model'; import { EpbtFaProductService } from '../services/epbt-fa-product.service'; import { Observable } from 'rxjs'; import { Router } from '@angular/router'; export declare class EpbtFaQuickOrderService { private client; private config; private faService; private router; private productService; wizardStep: number; fromDashbard: boolean; submutButtonLabel: string; submitButton: boolean; emailButton: boolean; payNowButton: boolean; paymentAmountField: boolean; summaryView: boolean; emailView: boolean; shift4EnterCardDetailsView: boolean; shift4EnterAVSView: boolean; i4GoErrorView: boolean; successView: boolean; wizardView: boolean; creCardEntryView: boolean; errorMessage: string; cardHolderNameDiv: boolean; streetAddressDiv: boolean; postalCodeDiv: boolean; useAVS: boolean; quickOrder: QuickOrderModel; quickOrderLine: QuickOrderLineModel; selectedBranchId: number; selectedTextAreaId: number; selectedTransactionType: number; isOrderDisable: boolean; private taxAreas; bisTrackSettings: BisTrackSettings; webTrackUser: WebTrackUser; AddOrEdit: boolean; customerFormFlag: boolean; productSelectFlag: boolean; selectedRelatedproduct: any; kits: any; private _allowCardEntry; readonly allowCardEntry: boolean; private _i4GoVersion; readonly i4GoVersion: string; private _showShift4EnterAVSView; readonly showShift4EnterAVSView: boolean; customerForDesktop: any; productForDesktop: any; contactForDesktop: any; addressForDesktop: any; isNewOrder: boolean; completeOrderFlag: boolean; currency: string; searchString: string; constructor(client: FieldAgentClient, config: BistrackConfig, faService: EpbtFieldAgentService, router: Router, productService: EpbtFaProductService); setCustomer(selectedCustomer: any, subscribe: (contacts: any) => void): void; setAddress(selectedAddress: any, subscribe: (address: any) => void): void; bindValuesBasedOnConditions(): void; SetOrGetContacts(searchString: string, defaultOnly: boolean, subscribe: (contacts: any) => void): void; SetOrGetDeliveryAddressDetails(searchString: string, defaultOnly: boolean, subscribe: (addresses: any) => void): void; SetDefaultTaxArea(): void; createQuickOrderLine(product: any, quantityType: any, quantity: number, subscribe: (orderline: any) => void): void; prepareTallyEntryLines(product: any, quantity: number, subscribe: (tallyEntryLines: any) => void): void; isParentTally(): boolean; getOrderLinePrice(useManualPrice: boolean, productId: number, subscribe: (productPrice: ProductPrice) => void): void; quantityFromTally(inputPer: Per, productId: number, subscribe: (newQuantity: number) => void): void; getNewQuantity(inputPer: Per, productId: number, subscribe: (newQuantity: number) => void): void; prepareProductPriceRequest(productId: number, useManualPrice: boolean, subscribe: (result: any) => void): void; prepareProductPriceRequests(productId: number, useManualPrice: boolean, childProducts: any[], subscribe: (result: any) => void): void; getReservedDocumentID(subscribe: (orderId: number) => void): void; getReservedOrderNumber(subscribe: (orderNumber: string) => void): void; getPerConversion(fromPerID: number, toPerID: number, productId: number, imperial: boolean, thickness: number, width: number, length: number, weight: number, subscribe: (perConversion: number) => void): void; updateLineTotals(subscribe: (flag: boolean) => void): void; updateTaxes(subscribe: (flag: boolean) => void): void; updateNewModeTaxesForCart(newModeTaxesForCartResult: TaxCalculationResult[]): void; updateManualLineTaxes(manualLineTaxesResult: ManualOrderLine[]): void; clearData(): void; createRelatedProductOrderLine(count: any, subscribe: (flag: boolean) => void): void; addRelatedProducts(data: any, count: any, subscribe: (flag: boolean) => void): void; checkMaxQuantityLimitForRelatedProducts(): boolean; getKitPrice(kit: any): Observable; /** * Save kit selection to quick order service */ saveKitChoices(lineNumber: number, kit: any, selection: any, quantity: number): void; }