/**
* New Payment Gateway APIs
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2022-01-01
* Contact: nextgenapi@cashfree.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
///
import http from 'http';
import { CFPaymentsEntity } from '../model/cFPaymentsEntity';
import { Authentication, Interceptor } from '../model/models';
export declare enum PaymentsApiApiKeys {
}
export declare class PaymentsApi {
protected _basePath: string;
protected _defaultHeaders: any;
protected _useQuerystring: boolean;
protected authentications: {
default: Authentication;
};
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: PaymentsApiApiKeys, value: string): void;
addInterceptor(interceptor: Interceptor): void;
/**
* Use this API to view payment details of an order for a payment ID.
* @summary Get Payment by ID
* @param xClientId
* @param xClientSecret
* @param orderId
* @param cfPaymentId
* @param xApiVersion
* @param xIdempotencyReplayed
* @param xIdempotencyKey
* @param xRequestId
*/
getPaymentbyId(xClientId: string, xClientSecret: string, orderId: string, cfPaymentId: number, xApiVersion?: string, xIdempotencyReplayed?: boolean, xIdempotencyKey?: string, xRequestId?: string, requestTimeout?: Number, webProxy?: any, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
cfHeaders: http.IncomingHttpHeaders;
cfPaymentsEntity: CFPaymentsEntity;
}>;
/**
* Use this API to view all payment details for an order.
* @summary Get Payments for an Order
* @param xClientId
* @param xClientSecret
* @param orderId
* @param xApiVersion
* @param xIdempotencyReplayed
* @param xIdempotencyKey
* @param xRequestId
*/
getPaymentsfororder(xClientId: string, xClientSecret: string, orderId: string, xApiVersion?: string, xIdempotencyReplayed?: boolean, xIdempotencyKey?: string, xRequestId?: string, requestTimeout?: Number, webProxy?: any, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
cfHeaders: http.IncomingHttpHeaders;
cfPaymentsEntities: Array;
}>;
}