wallee
Version:
TypeScript/JavaScript client for wallee
28 lines (27 loc) • 748 B
TypeScript
/**
*
* @export
* @interface Tax
*/
export interface Tax {
/**
* The tax rate to be applied.
* @type {number}
* @memberof Tax
*/
readonly rate?: number;
/**
* The name of the tax.
* @type {string}
* @memberof Tax
*/
readonly title?: string;
}
/**
* Check if a given object implements the Tax interface.
*/
export declare function instanceOfTax(value: object): value is Tax;
export declare function TaxFromJSON(json: any): Tax;
export declare function TaxFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tax;
export declare function TaxToJSON(json: any): Tax;
export declare function TaxToJSONTyped(value?: Omit<Tax, 'rate' | 'title'> | null, ignoreDiscriminator?: boolean): any;