@paydock/client-sdk
Version:
Paydock client sdk
26 lines • 1 kB
TypeScript
import type { Container } from '../../components/container';
import { type IWalletService, type IWalletServiceUpdate, WalletService } from './wallet-service';
declare global {
interface Window {
paypal: any;
}
}
export declare class PaypalWalletService extends WalletService implements IWalletService {
protected paypal: any;
protected latestShippingChangePromiseResolve: (value: unknown) => void;
protected latestShippingChangePromiseReject: () => void;
protected latestShippingData?: {
address_city?: string;
address_state?: string;
address_postcode?: string;
address_country?: string;
};
protected pendingApprovalPromise?: Promise<any>;
load(container: Container): Promise<void>;
update(data: IWalletServiceUpdate): void;
private renderPaypalCommonComponent;
private renderPaypalStandaloneComponent;
private paypalSharedProps;
private parseUpdateData;
}
//# sourceMappingURL=paypal.wallet-service.d.ts.map