2019-06-15 17:39:43 +00:00
|
|
|
export class Tax {
|
2020-11-22 04:43:37 +00:00
|
|
|
id: string | undefined;
|
2019-06-15 17:39:43 +00:00
|
|
|
name: string;
|
|
|
|
rate: number;
|
|
|
|
isFixture: boolean;
|
2020-11-22 04:43:37 +00:00
|
|
|
|
|
|
|
public constructor(init?: Partial<Tax>) {
|
|
|
|
this.id = undefined;
|
|
|
|
this.name = '';
|
|
|
|
this.rate = 0;
|
|
|
|
this.isFixture = false;
|
|
|
|
Object.assign(this, init);
|
|
|
|
}
|
2019-06-15 17:39:43 +00:00
|
|
|
}
|