import { BaseModel } from '@/models/BaseModel'; import { Currency, PayrexxField, BasketItem, MultiLanguageString, CreateGatewayOptions, GatewayRequest } from '@/types'; export declare class Gateway extends BaseModel { amount: number; currency: Currency; sku?: string; purpose?: MultiLanguageString | string; vatRate?: number; successRedirectUrl?: string; failedRedirectUrl?: string; cancelRedirectUrl?: string; psp?: number[]; pm?: string[]; preAuthorization?: boolean; chargeOnAuthorization?: boolean; reservation?: boolean; referenceId?: string | number; validity?: number; lookAndFeelProfile?: string; design?: number; basket?: BasketItem[]; fields: PayrexxField[]; subscriptionState?: boolean; subscriptionInterval?: string; subscriptionPeriod?: string; subscriptionCancellationInterval?: string; skipResultPage?: boolean; buttonText?: MultiLanguageString; concardisType?: string; constructor(options?: CreateGatewayOptions); setAmount(amount: number): this; setAmountFromDecimal(amount: number): this; setCurrency(currency: Currency): this; setVatRate(vatRate: number): this; setSku(sku: string): this; setPurpose(purpose: string | MultiLanguageString): this; setSuccessRedirectUrl(url: string): this; setFailedRedirectUrl(url: string): this; setCancelRedirectUrl(url: string): this; setPsp(psp: number[]): this; setPm(pm: string[]): this; setPreAuthorization(preAuth: boolean): this; setChargeOnAuthorization(charge: boolean): this; setReservation(reservation: boolean): this; setReferenceId(referenceId: string | number): this; setValidity(validity: number): this; setLookAndFeelProfile(profile: string): this; setDesign(design: number): this; setBasket(basket: BasketItem[]): this; addCustomField(type: string, value: string, name?: string | MultiLanguageString): this; setSubscriptionState(enabled: boolean): this; setSubscriptionInterval(interval: string): this; setSubscriptionPeriod(period: string): this; setSubscriptionCancellationInterval(interval: string): this; validate(): void; toApiFormat(): GatewayRequest; } //# sourceMappingURL=Gateway.d.ts.map