ngx-stripe
Version:
Collect Payments with Stripe: The Angular Way
36 lines (35 loc) • 4.24 kB
TypeScript
import { Observable } from 'rxjs';
import { PaymentRequest, PaymentRequestOptions, StripeCardElementOptions, StripeAuBankAccountElementOptions, StripeCardNumberElementOptions, StripeCardExpiryElementOptions, StripeElements, StripeFpxBankElementOptions, StripeIbanElementOptions, StripeIdealBankElementOptions, StripePaymentRequestButtonElementOptions, StripePaymentElementOptions, StripeAffirmMessageElementOptions, StripeAfterpayClearpayMessageElementOptions, StripeEpsBankElementOptions, StripeP24BankElementOptions, StripeAddressElementOptions, StripeLinkAuthenticationElementOptions, StripeIssuingCardNumberDisplayElementOptions, StripeIssuingCardCvcDisplayElementOptions, StripeIssuingCardExpiryDisplayElementOptions, StripeIssuingCardPinDisplayElementOptions, StripeElementsOptionsClientSecret, StripeElementsOptionsMode, StripeElementsOptions, StripePaymentMethodMessagingElementOptions, StripeExpressCheckoutElementOptions } from '@stripe/stripe-js';
import { StripeService } from './stripe.service';
import * as i0 from "@angular/core";
export declare class StripeElementsService {
private stripeService;
constructor(stripeService: StripeService);
elements(stripe: any, options?: StripeElementsOptionsClientSecret): Observable<StripeElements>;
elements(stripe: any, options?: StripeElementsOptionsMode): Observable<StripeElements>;
elements(stripe: any, options?: StripeElementsOptions): Observable<StripeElements>;
paymentRequest(stripe: any, options: PaymentRequestOptions): PaymentRequest;
mergeOptions(options: StripeCardElementOptions, containerClass: string): StripeCardElementOptions;
mergeOptions(options: StripeCardNumberElementOptions, containerClass: string): StripeCardNumberElementOptions;
mergeOptions(options: StripeCardExpiryElementOptions, containerClass: string): StripeCardExpiryElementOptions;
mergeOptions(options: StripeFpxBankElementOptions, containerClass: string): StripeFpxBankElementOptions;
mergeOptions(options: StripeIbanElementOptions, containerClass: string): StripeIbanElementOptions;
mergeOptions(options: StripeIdealBankElementOptions, containerClass: string): StripeIdealBankElementOptions;
mergeOptions(options: StripeAuBankAccountElementOptions, containerClass: string): StripeAuBankAccountElementOptions;
mergeOptions(options: StripeAffirmMessageElementOptions, containerClass: string): StripeAffirmMessageElementOptions;
mergeOptions(options: StripeAfterpayClearpayMessageElementOptions, containerClass: string): StripeAfterpayClearpayMessageElementOptions;
mergeOptions(options: StripeEpsBankElementOptions, containerClass: string): StripeEpsBankElementOptions;
mergeOptions(options: StripeP24BankElementOptions, containerClass: string): StripeP24BankElementOptions;
mergeOptions(options: StripeAddressElementOptions, containerClass: string): StripeAddressElementOptions;
mergeOptions(options: StripeLinkAuthenticationElementOptions, containerClass: string): StripeLinkAuthenticationElementOptions;
mergeOptions(options: StripeIssuingCardNumberDisplayElementOptions, containerClass: string): StripeIssuingCardNumberDisplayElementOptions;
mergeOptions(options: StripeIssuingCardCvcDisplayElementOptions, containerClass: string): StripeIssuingCardCvcDisplayElementOptions;
mergeOptions(options: StripeIssuingCardExpiryDisplayElementOptions, containerClass: string): StripeIssuingCardExpiryDisplayElementOptions;
mergeOptions(options: StripeIssuingCardPinDisplayElementOptions, containerClass: string): StripeIssuingCardPinDisplayElementOptions;
mergeOptions(options: StripePaymentMethodMessagingElementOptions, containerClass: string): StripePaymentMethodMessagingElementOptions;
mergeOptions(options: StripePaymentRequestButtonElementOptions, containerClass: string): StripePaymentRequestButtonElementOptions;
mergeOptions(options: StripePaymentElementOptions, containerClass: string): StripePaymentElementOptions;
mergeOptions(options: StripeExpressCheckoutElementOptions, containerClass: string): StripeExpressCheckoutElementOptions;
static ɵfac: i0.ɵɵFactoryDeclaration<StripeElementsService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<StripeElementsService>;
}