Files
Nitro_Render_V3/packages/session/src/product/ProductData.ts
T
2024-04-03 09:27:56 +02:00

31 lines
587 B
TypeScript

import { IProductData } from '@nitrots/api';
export class ProductData implements IProductData
{
private _type: string;
private _name: string;
private _description: string;
constructor(type: string, name: string, description: string)
{
this._type = type;
this._name = name;
this._description = description;
}
public get type(): string
{
return this._type;
}
public get name(): string
{
return this._name;
}
public get description(): string
{
return this._description;
}
}