amazon-pay-async
Version:
API wrapper for Amazon Pay using promises and defining types
18 lines (17 loc) • 504 B
TypeScript
import { EnvironmentEnum, IEnvironment } from './environment';
export { EnvironmentEnum };
export declare class Config {
readonly environment: IEnvironment;
readonly clientId: string;
readonly sellerId: string;
readonly mwsAccessKey: string;
readonly mwsSecretKey: string;
constructor(cfg: IConfiguration);
}
export interface IConfiguration {
environment: EnvironmentEnum[any];
clientId: string;
sellerId: string;
mwsAccessKey: string;
mwsSecretKey: string;
}