UNPKG

@etsoo/appscript

Version:

Applications shared TypeScript framework

67 lines (66 loc) 1.49 kB
/** * Business tax interface */ export interface IBusinessTax { /** * Id */ readonly id: string; /** * Name */ readonly name: string; /** * Mask */ readonly mask: string; /** * Get label key */ readonly labelKey: string; } /** * Business tax * https://imask.js.org/ */ export declare class BusinessTax implements IBusinessTax { id: string; name: string; mask: string; /** * CN * Unified Social Credit Code (USCC) / 统一信用代码 * https://zh.wikisource.org/wiki/GB_32100-2015_%E6%B3%95%E4%BA%BA%E5%92%8C%E5%85%B6%E4%BB%96%E7%BB%84%E7%BB%87%E7%BB%9F%E4%B8%80%E7%A4%BE%E4%BC%9A%E4%BF%A1%E7%94%A8%E4%BB%A3%E7%A0%81%E7%BC%96%E7%A0%81%E8%A7%84%E5%88%99 */ static CN: BusinessTax; /** * NZ, Inland Revenue (IRD) */ static NZ: BusinessTax; /** * US, Employer Identification Number (EIN) */ static US: BusinessTax; /** * CA, tax ID number (Business Number, BN) */ static CA: BusinessTax; /** * HK, Business Registration Number (BRN) */ static HK: BusinessTax; /** * All countries and regions */ static all: BusinessTax[]; /** * Get country or region by id * @param id Country id */ static getById(id: string): BusinessTax | undefined; constructor(id: string, name: string, mask: string); /** * Get label key */ get labelKey(): string; }