import { EventEmitter } from '../../stencil-public-runtime'; import { ModalSize } from '../../store/store'; import { BatchApprovalResponse, BatchData, PaymentOptionsInterface, PaymentMethod, TransactionI, BatchApproveData, CreateTransactionResponse } from "../../api/transactions/interface"; import { BusinessRulesInterface } from "../../api/businessRules/interface"; import { VendorDetailsInterface } from "../../api/vendors/interface"; import { BankDetailsCurrencyInterface, RegionInterface, UiCultureInterface } from "../../api/countries/interface"; import { BatchFeesGrandTotalDataI } from './interface'; import { ThirdParty } from "../../api/externalSystems/interface"; import { UserDataInterface } from "../cart/interface"; import { CreditcardData } from "../../utils/stored-cards/index"; import { CloseEvent } from "../paycargo-checkout/interface"; import { PermissionExceptions } from "../../api/permissions/interface"; export declare class PayCargoBatchCartComponent { el: HTMLPaycargoBatchCartElement; private pcCCWidgetEl; private toast; private payerClientInfo; private today; private _defaultFields; private creditcardLimit; private transRefs; private touchedSharedFields; private isEllipsed; private setTooltipIfEllipsed; /** * Array of transaction objections * either a string or TransactionI */ pcTransactions: TransactionI[] | string; /** * visible - property to make modal show or hide. * */ visible: boolean; /** * size - property to size the Modal **/ size: ModalSize | string; isLoading: boolean; isFeesFetching: boolean; isCompletingPayment: boolean; hideForLoginIframe: boolean; ccInNewCardMode: boolean; validCcn: boolean; validExp: boolean; validCvv: boolean; validTransactions: boolean; bluesnapToken: string; batchTransTotal: number; availablePaymentOptions: PaymentOptionsInterface[] | null; _businessRules: { [uuid: string]: BusinessRulesInterface | null; }; paymentMethod: PaymentMethod; isPrepaid: boolean; osraConfirm: boolean; private _batchFees; isQuickPayUser: boolean; fileErrorMsg: string; get batchFees_1(): any; set batchFees_1(value: any); get batchFees(): any; set batchFees(value: any); batchFeesGrandTotalData: BatchFeesGrandTotalDataI; approvedMsgType: 'success'; vendorDetails: VendorDetailsInterface | null; userData: UserDataInterface; regions: RegionInterface[]; selectedRegion: string; selectedCountry: string; setCcType: string; uiCulture: UiCultureInterface; paymentResponse: BatchData | null; numberOfInvalidTransactions: number; _pcTransactions: TransactionI[]; dropDownList: { [uuid: string]: boolean; }; _thirdParty: ThirdParty | null; files: { [key: number]: File[]; }; fileLabels: { [key: number]: string[]; }; cardIssuingCountry: string | null; exceptionAmount: number | null; exceedsPermissionException: boolean | null; permissionExceptions: PermissionExceptions | null; hasPermission: boolean | null; permissionToDispute: boolean; allPaymentMethodsInsufficient: boolean; hasTransactionDisputes: boolean; _transactionDisputes: { [uuid: string]: TransactionI; } | null; disputeCheckboxes: { [uuid: string]: boolean; }; showDisputeModal: boolean; emptyCart: string; isSameRegion: boolean; isPayerAssociated: boolean; shouldDisputeButtonShow: boolean; vendorExternalSystemCode: Set; currencyOptions: BankDetailsCurrencyInterface[]; /** * Event called when modal is closed. */ modalClose: EventEmitter>; /** * Event that is triggered after payment response * has been received. */ paymentResponseEventModal: EventEmitter; componentWillLoad(): void; componentDidRender(): void; dataDidChangeHandler(newValue: TransactionI[] | string): Promise; handleLoginResponse(event: CustomEvent): Promise<[void, void]>; handleDisputeClose(event: CustomEvent>): Promise; handleShowingLoginIframe(event: Event): Promise; handlePaycargoCcUpdate(event: CustomEvent<{ success: boolean; data: { cardIssuingCountry: string; }; }>): Promise; handleCCAttempt(event: CustomEvent<{ success: boolean; data: CreditcardData; }>): Promise; handleCcIFrameLoaded(event: Event): Promise; handleCcNewCardModeChange(event: CustomEvent<{ enterNewCard: boolean; }>): void; private handleInputChange; private resetQuickPayUser; private closeModal; private findBillToParty; private getVendorDetails; private hasRequiredDropdownFields; private initDropdownDefaults; private getBusinessRules; private paymentOptionTooltip; private paymentOptionInfo; private getPaymentOptions; private getBatchFees; private hasApprovalExceptionExceeded; private updateApprovalExceptionState; private getApprovalLimitMessage; private getPermissionDisabledState; private getRegionDisabledState; private getCarrierCreditDisabledState; private checkCarrierCreditAssociation; private getDisclaimerDisabledState; private getCreditCardIframeDisabledState; private loadUserPermissionState; private getUserPermissions; private getPermissionExceptions; private paymentBtnTooltip; private updatePaymentMethod; private openDropdown; private oneTimePayment; private formatDate; private clearCcForm; private clearPayerFields; private completePayment; private showPaymentMethods; private checkForProperty; private renderSharedField; private validatePayerFields; private isPayBtnDisabled; private userLogout; private termsAndConditions; private topRowLoggedIn; private topBackBtn; private toggleHasTransactionDisputes; private handleDisputeCheckboxes; private handleDisputeSelection; private cancelDisputes; private BodyOptions; render(): any; }