Skip to main content

TownshipItemCategory

A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Shared.

A shop item category, which can sit under a parent category.

Constructors​

MemberWhat it is
TownshipItemCategory()Creates a TownshipItemCategory with default values.

Properties​

MemberWhat it is
string Code { get; set; }Short code for the category.
string Description { get; set; }Category description.
bool Enabled { get; set; }Whether the category is shown.
int Id { get; set; }The category's id; left out of the JSON when 0.
string Name { get; set; }Category name.
TownshipItemCategory ParentCategory { get; set; }The category this one sits under, or null for a top-level category.