wallee
Version:
TypeScript/JavaScript client for wallee
53 lines (52 loc) • 1.66 kB
TypeScript
import type { CreationEntityState } from './CreationEntityState';
/**
*
* @export
* @interface TaxClass
*/
export interface TaxClass {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof TaxClass
*/
readonly linkedSpaceId?: number;
/**
* The name used to identify the tax class.
* @type {string}
* @memberof TaxClass
*/
readonly name?: string;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
* @type {Date}
* @memberof TaxClass
*/
readonly plannedPurgeDate?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof TaxClass
*/
readonly id?: number;
/**
*
* @type {CreationEntityState}
* @memberof TaxClass
*/
state?: CreationEntityState;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof TaxClass
*/
readonly version?: number;
}
/**
* Check if a given object implements the TaxClass interface.
*/
export declare function instanceOfTaxClass(value: object): value is TaxClass;
export declare function TaxClassFromJSON(json: any): TaxClass;
export declare function TaxClassFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaxClass;
export declare function TaxClassToJSON(json: any): TaxClass;
export declare function TaxClassToJSONTyped(value?: Omit<TaxClass, 'linkedSpaceId' | 'name' | 'plannedPurgeDate' | 'id' | 'version'> | null, ignoreDiscriminator?: boolean): any;