Skip to main content

Class: TaxRate

Hierarchy

  • BaseEntity

    TaxRate

Constructors

constructor

new TaxRate()

Inherited from

BaseEntity.constructor

Properties

code

code: null | string

Defined in

models/tax-rate.ts:25


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


id

id: string

Inherited from

BaseEntity.id

Defined in

interfaces/models/base-entity.ts:13


metadata

metadata: Record<string, unknown>

Defined in

models/tax-rate.ts:38


name

name: string

Defined in

models/tax-rate.ts:28


product_count

Optional product_count: number

Defined in

models/tax-rate.ts:83


product_type_count

Optional product_type_count: number

Defined in

models/tax-rate.ts:84


product_types

product_types: ProductType[]

Defined in

models/tax-rate.ts:66


products

products: Product[]

Defined in

models/tax-rate.ts:52


rate

rate: null | number

Defined in

models/tax-rate.ts:22


region

region: Region

Defined in

models/tax-rate.ts:35


region_id

region_id: string

Defined in

models/tax-rate.ts:31


shipping_option_count

Optional shipping_option_count: number

Defined in

models/tax-rate.ts:85


shipping_options

shipping_options: ShippingOption[]

Defined in

models/tax-rate.ts:80


updated_at

updated_at: Date

Inherited from

BaseEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

Private beforeInsert(): void

Returns

void

Defined in

models/tax-rate.ts:87