@shipengine/connect-order-source-api
Version:
This is the typescript/javascript definitions for the order source api
34 lines (33 loc) • 1.12 kB
TypeScript
import Joi from 'joi';
/** @description Supported tax identifier types */
export declare enum TaxIdentifierType {
/** @description Tax Identification Number */
TIN = "tin",
/** @description Employer Identification Number */
EIN = "ein",
/** @description Social Security Number */
SSN = "ssn",
/** @description VAT Identification Number */
VAT = "vat",
/** @description Australian tax id */
ABN = "abn",
/** @description EU or UK IOSS number */
IOSS = "ioss",
/** @description New Zealand tax id */
IRD = "ird",
/** @description Germany VAT id */
OSS = "oss",
/** @description Norway tax id*/
VOEC = "voec",
/** @description Other tax id */
Other = "other"
}
export declare const TaxIdentifierTypeSchema: Joi.StringSchema;
/** @description Tax identifier information corresponding to a tax */
export declare class TaxIdentifier {
/** @description A tax identifier */
value?: string;
/** @description The tax identifier type */
type?: TaxIdentifierType;
}
export declare const TaxIdentifierSchema: Joi.ObjectSchema<any>;