pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
45 lines (44 loc) • 3.21 kB
TypeScript
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { ApiResponse, RequestOptions } from '../core';
import { GetAccountPartyResponse } from '../models/getAccountPartyResponse';
import { GetPartyResponse } from '../models/getPartyResponse';
import { BaseController } from './baseController';
export declare class PartyController extends BaseController {
/**
* Get Party related to an account
*
* @param accountId A unique identifier used to identify the account resource.
* @param xFapiAuthDate The time when the Customer last logged in with the Third Party. All
* dates in the HTTP headers are represented as RFC 7231 Full Dates. An
* example is below: Sun, 10 Sep 2017 19:43:31 UTC
* @param xFapiCustomerIpAddress The Customer's IP address if the Customer is currently logged in with
* the Third Party.
* @param xFapiInteractionId An RFC4122 UID used as a correlation id.
* @param xMerchantIpAddress The IP address of the merchant when making account information
* requests through a Third Party.
* @param xCustomerUserAgent The User-Agent of the application on the customer device that is used
* to make the account information request
* @return Response from the API call
*/
getAccountParty(accountId: string, xFapiAuthDate?: string, xFapiCustomerIpAddress?: string, xFapiInteractionId?: string, xMerchantIpAddress?: string, xCustomerUserAgent?: string, requestOptions?: RequestOptions): Promise<ApiResponse<GetAccountPartyResponse>>;
/**
* Get Party of logged in Customer
*
* @param xFapiAuthDate The time when the Customer last logged in with the Third Party. All
* dates in the HTTP headers are represented as RFC 7231 Full Dates. An
* example is below: Sun, 10 Sep 2017 19:43:31 UTC
* @param xFapiCustomerIpAddress The Customer's IP address if the Customer is currently logged in with
* the Third Party.
* @param xFapiInteractionId An RFC4122 UID used as a correlation id.
* @param xMerchantIpAddress The IP address of the merchant when making account information
* requests through a Third Party.
* @param xCustomerUserAgent The User-Agent of the application on the customer device that is used
* to make the account information request
* @return Response from the API call
*/
getParty(xFapiAuthDate?: string, xFapiCustomerIpAddress?: string, xFapiInteractionId?: string, xMerchantIpAddress?: string, xCustomerUserAgent?: string, requestOptions?: RequestOptions): Promise<ApiResponse<GetPartyResponse>>;
}