🚨 Announcing Vendure v2 Beta

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;
}

Extends

Implements

  • HasCustomFields

Members

constructor

method
type:
(input?: DeepPartial<TaxCategory>) => TaxCategory

name

property
type:
string

isDefault

property
type:
boolean

customFields

property
type:
CustomTaxCategoryFields