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() @Column() name: string;
@Column({ default: false }) @Column({ default: false }) isDefault: boolean;
@Column(type => CustomTaxCategoryFields) @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