UNPKG

@weiliang79/ubl-builder

Version:

Tool to create xml documents with UBL 2.1 standard

38 lines 1.11 kB
import GenericAggregateComponent from './GenericAggregateComponent'; import { UdtIdentifier, UdtName, UdtCode } from '../types/UnqualifiedDataTypes'; import { JurisdictionRegionAddress } from './AddressTypeGroup'; type AllowedParams = { id: string | UdtIdentifier; name?: string | UdtName; taxTypeCode?: string | UdtCode; currencyCode?: string | UdtCode; jurisdictionRegionAddress?: string | JurisdictionRegionAddress; }; /** * A class to describe a taxation scheme (e.g., VAT, State tax, County tax). */ declare class TaxScheme extends GenericAggregateComponent { constructor(content: AllowedParams); /** * * @param value */ setId(value: string | UdtIdentifier): void; /** * return Tax's id * @param rawValue */ getId(rawValue?: boolean): UdtIdentifier | string; /** * * @param value */ setName(value: string | UdtName): void; /** * * @param {boolean} rawValue */ getName(rawValue?: boolean): any; } export { TaxScheme, AllowedParams as TaxSchemeParams }; //# sourceMappingURL=TaxScheme.d.ts.map