///
import http from 'http';
import { FetchIndustry200Response } from '../model/fetchIndustry200Response';
import { FetchIndustry200ResponseAnyOf } from '../model/fetchIndustry200ResponseAnyOf';
import { Merchant } from '../model/merchant';
import { SetDefaultPaymentMethodRequest } from '../model/setDefaultPaymentMethodRequest';
import { WTBillingChangePlan } from '../model/wTBillingChangePlan';
import { WTBillingSavePaymentMethod } from '../model/wTBillingSavePaymentMethod';
import { WTBillingSetIndustry } from '../model/wTBillingSetIndustry';
import { WTBillingVerifyPaymentMethodResponse } from '../model/wTBillingVerifyPaymentMethodResponse';
import { WTFinancingSoftPullRequest } from '../model/wTFinancingSoftPullRequest';
import { WTFinancingSoftPullResponse } from '../model/wTFinancingSoftPullResponse';
import { Authentication, Interceptor } from '../model/models';
import { ApiKeyAuth } from '../model/models';
export declare enum BillingPaymentsApiApiKeys {
api_key = 0
}
export declare class BillingPaymentsApi {
protected _basePath: string;
protected _defaultHeaders: any;
protected _useQuerystring: boolean;
protected authentications: {
default: Authentication;
api_key: ApiKeyAuth;
};
protected interceptors: Interceptor[];
constructor(basePath?: string);
set useQuerystring(value: boolean);
set basePath(basePath: string);
set defaultHeaders(defaultHeaders: any);
get defaultHeaders(): any;
get basePath(): string;
setDefaultAuthentication(auth: Authentication): void;
setApiKey(key: BillingPaymentsApiApiKeys, value: string): void;
addInterceptor(interceptor: Interceptor): void;
buyAddOn(productID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
buySpecialOffer(productID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
cancelPlan(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
changePlan(wTBillingChangePlan: WTBillingChangePlan, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
createBillingPortalSession(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAddOns(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchCustomerPaymentMethods(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchIndustry(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: FetchIndustry200Response;
}>;
fetchInvoices(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchSpecialOffers(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchSubscription(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchUsageSummary(startDateTime?: Date, endDateTime?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: object;
}>;
runFinancingSoftPull(wTFinancingSoftPullRequest: WTFinancingSoftPullRequest, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTFinancingSoftPullResponse;
}>;
savePaymentMethod(wTBillingSavePaymentMethod: WTBillingSavePaymentMethod, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
setDefaultPaymentMethod(setDefaultPaymentMethodRequest: SetDefaultPaymentMethodRequest, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Merchant;
}>;
setIndustry(wTBillingSetIndustry: WTBillingSetIndustry, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: FetchIndustry200ResponseAnyOf;
}>;
upcomingInvoices(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
verifyPaymentMethod(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTBillingVerifyPaymentMethodResponse;
}>;
}