TaxCategory
TaxCategory
A TaxCategory defines what type of taxes to apply to a ProductVariant.
Signature
class TaxCategory extends VendureEntity implements HasCustomFields {
    constructor(input?: DeepPartial<TaxCategory>)
    @Column() name: string;
    @Column({ default: false }) isDefault: boolean;
    @Column(type => CustomTaxCategoryFields)
    customFields: CustomTaxCategoryFields;
    @OneToMany(type => ProductVariant, productVariant => productVariant.taxCategory)
    productVariants: ProductVariant[];
    @OneToMany(type => TaxRate, taxRate => taxRate.category)
    taxRates: TaxRate[];
}
- 
Extends: VendureEntity
- 
Implements: HasCustomFields