UNPKG

@secrethub/ngx-stripe

Version:

The core package for ngx-stripe, for using stripe.js in your application

13 lines (12 loc) 617 B
import { ModuleWithProviders } from '@angular/core'; import { SupportedVersions } from './model/SupportedVersions'; import { StripeConfigOptions } from 'stripejs'; export declare class NgxStripeModule { /** * Creates a new instance of the NgxStripeModule * @param key - The public key that should be used to communicate with Stripe * @param options - Any options to configure StripeJS * @param [version=SupportedVersions.V3] - The version of Stripe that should be used */ static forRoot(key: string, options?: StripeConfigOptions, version?: SupportedVersions): ModuleWithProviders; }