import { OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { CreatePaymentRequest } from '../models/create-payment.model'; import { ExecutePaymentRequest } from '../models/execute-payment.model'; import { PayPalApiService } from '../services/paypal.api.service'; export declare class PayPalComponent implements OnInit, OnDestroy { private route; private router; private payPalApiService; accessToken: string; vkUrlApi: string; debugLog: boolean; storeId: string; idVen: number; data: string; title: string; amount: string; currency: string; returnUrl: string; successUrl: string; failureUrl: string; paymentRequest: CreatePaymentRequest; executePaymentRequest: ExecutePaymentRequest; errorsMessage: any; showMessage: boolean; loading: boolean; status: string; linkToPay: string; linkExecutePay: string; constructor(route: ActivatedRoute, router: Router, payPalApiService: PayPalApiService); ngOnInit(): void; ngOnDestroy(): void; private initialize; private createPayment; private paymentResponseHandler; goToPayPal(): void; executePay(): void; getPaymentState(): string | null; setPaymentState(state: string): void; private logger; }