transbank-sdk
Version:
Transbank SDK for Node.js
32 lines (31 loc) • 1.37 kB
TypeScript
import BaseTransaction from '../../common/base_transaction';
import Options from '../../common/options';
declare class MallBinInfo extends BaseTransaction {
/**
* Constructor class MallBinInfo.
* @param options You can pass options to use a custom configuration.
*/
constructor(options: Options);
/**
* Creates and returns an instance of `MallBinInfo` configured for the integration environment.
*
* @param commerceCode The commerce code.
* @param apiKey The API key used for authentication.
* @return A new instance of `MallBinInfo` configured for the test environment (Environment.Integration).
*/
static buildForIntegration(commerceCode: string, apiKey: string): MallBinInfo;
/**
* Creates and returns an instance of `MallBinInfo` configured for the production environment.
*
* @param commerceCode The commerce code.
* @param apiKey The API key used for authentication.
* @return A new instance of `MallBinInfo` configured for the production environment (Environment.Production).
*/
static buildForProduction(commerceCode: string, apiKey: string): MallBinInfo;
/**
* Get BIN information for a given tbkUser.
* @param tbkUser tbkUser about which the information is obtained.
*/
queryBin(tbkUser: string): Promise<any>;
}
export default MallBinInfo;