UNPKG

@paydock/client-sdk

Version:

Paydock client sdk

21 lines 852 B
import { CheckoutButton } from '../checkout-button'; /** * Class PaypalCheckoutButton is wrapper of CheckoutButton transform usual button into checkout * * @extends CheckoutButton * * @constructor * * @param {string} selector - Selector of html element. * @param {string} publicKey - PayDock users public key * @param {string} [gatewayId=default] - PayDock's gatewayId. By default or if put 'default', it will use the selected default gateway * @example * var widget = new PaypalCheckoutButton('#button', 'publicKey','gatewayId'); */ declare class PaypalCheckoutButton extends CheckoutButton { protected publicKey: string; protected gatewayId: string; /** @constructs */ constructor(selector: string, publicKey: string, gatewayId?: string); } export { PaypalCheckoutButton }; //# sourceMappingURL=paypal-checkout-button.d.ts.map