shopee-client
Version:
Shoppe Open API Client
23 lines (22 loc) • 1.18 kB
TypeScript
import BaseModule from "../BaseModule";
import GetShopByPartnerResponse from "./response/GetShopByPartnerResponse";
import GetCategoriesByCountryRequest from "./request/GetCategoriesByCountryRequest";
import GetCategoriesByCountryResponse from "./response/GetCategoriesByCountryResponse";
export default class PublicModule extends BaseModule {
/**
* Use this call to get basic info of shops which have authorized to the partner.
* @param partner_id Partner ID is assigned upon registration is successful. Required for all requests.
*/
getShopByPartner(partner_id: number): Promise<GetShopByPartnerResponse>;
/**
* Use this call to get basic info of shops which have authorized to the partner.
* @param request
*/
getCategoryByCountry(request: GetCategoriesByCountryRequest): Promise<GetCategoriesByCountryResponse>;
/**
* The supported payment method list by country
* @param partner_id Partner ID is assigned upon registration is successful. Required for all requests.
* @param country ID/MY/SG/VN/PH/TH/TW
*/
getPaymentList(partner_id: number, country?: string): Promise<GetCategoriesByCountryResponse>;
}