@paydock/client-sdk
Version:
Paydock client sdk
26 lines • 989 B
TypeScript
import { IWalletService, IWalletServiceUpdate, WalletService } from "./wallet-service";
import { Container } from "../../components/container";
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