UNPKG

terminal-africa

Version:

## Introduction The Terminal Shipping API (TShip) provides a single interface for integrating shipping carriers within your applications. The API allows anyone to programatically get shipping rates and arrange pickup and delivery.

30 lines (29 loc) 897 B
export default class User { /** * Get User - This allows you to fetch user information on Terminal Africa * @param {string} userId * @returns object * @method GET */ static getUser(userId: string): Promise<any>; /** * Get Wallet Info - This allows you to retrieve wallet information on Terminal Africa * @param {string} userId * @returns object * @method GET */ static walletInfo(userId: string): Promise<any>; /** * Get Wallet Balance - This allows you to retrieve wallet balance on Terminal Africa * @param {string} userId * @returns object * @method GET */ static walletBalance(userId: string): Promise<any>; /** * Get User Carriers - This allows you to fetch acivated carriers on Terminal Africa * @returns object * @method GET */ static carriers(): Promise<any>; }