wallee
Version:
TypeScript/JavaScript client for wallee
34 lines (33 loc) • 1.23 kB
TypeScript
import http = require("http");
import Promise = require("bluebird");
import { Authentication } from '../auth/Authentication';
declare class TransactionPaymentPageService {
protected _basePath: string;
protected _defaultHeaders: any;
protected _useQuerystring: boolean;
protected _timeout: number;
protected _defaultAuthentication: Authentication;
constructor(configuration: any);
/**
* Set timeout in seconds. Default timeout: 25 seconds
* @param {number} timeout
*/
set timeout(timeout: number);
private setTimeout;
set basePath(basePath: string);
get basePath(): string;
protected setDefaultAuthentication(auth: Authentication): void;
private getVersion;
/**
* This operation creates the URL to which the user should be redirected to when the payment page should be used.
* @summary Build Payment Page URL
* @param spaceId
* @param id The id of the transaction which should be returned.
* @param {*} [options] Override http request options.
*/
paymentPageUrl(spaceId: number, id: number, options?: any): Promise<{
response: http.IncomingMessage;
body: string;
}>;
}
export { TransactionPaymentPageService };