Files
medusa-store/docs/content/references/entities/classes/ShippingMethodTaxLine.md
Shahed Nasser 4a416e7fa5 docs: added entity reference (#2047)
* added entity reference

* chore: added github action

* added link to reference
2022-08-15 15:54:48 +03:00

154 lines
2.6 KiB
Markdown

---
displayed_sidebar: entitiesSidebar
---
# Class: ShippingMethodTaxLine
## Hierarchy
- `TaxLine`
**`ShippingMethodTaxLine`**
## Constructors
### constructor
**new ShippingMethodTaxLine**()
#### Inherited from
TaxLine.constructor
## Properties
### code
**code**: ``null`` \| `string`
#### Inherited from
TaxLine.code
#### Defined in
[models/tax-line.ts:13](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/models/tax-line.ts#L13)
___
### created\_at
• **created\_at**: `Date`
#### Inherited from
TaxLine.created\_at
#### Defined in
[interfaces/models/base-entity.ts:16](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/interfaces/models/base-entity.ts#L16)
___
### id
• **id**: `string`
#### Inherited from
TaxLine.id
#### Defined in
[interfaces/models/base-entity.ts:13](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/interfaces/models/base-entity.ts#L13)
___
### metadata
• **metadata**: `Record`<`string`, `unknown`\>
#### Inherited from
TaxLine.metadata
#### Defined in
[models/tax-line.ts:16](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/models/tax-line.ts#L16)
___
### name
• **name**: `string`
#### Inherited from
TaxLine.name
#### Defined in
[models/tax-line.ts:10](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/models/tax-line.ts#L10)
___
### rate
• **rate**: `number`
#### Inherited from
TaxLine.rate
#### Defined in
[models/tax-line.ts:7](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/models/tax-line.ts#L7)
___
### shipping\_method
• **shipping\_method**: [`ShippingMethod`](ShippingMethod.md)
#### Defined in
[models/shipping-method-tax-line.ts:24](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/models/shipping-method-tax-line.ts#L24)
___
### shipping\_method\_id
• **shipping\_method\_id**: `string`
#### Defined in
[models/shipping-method-tax-line.ts:20](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/models/shipping-method-tax-line.ts#L20)
___
### updated\_at
• **updated\_at**: `Date`
#### Inherited from
TaxLine.updated\_at
#### Defined in
[interfaces/models/base-entity.ts:19](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/interfaces/models/base-entity.ts#L19)
## Methods
### beforeInsert
▸ `Private` **beforeInsert**(): `void`
#### Returns
`void`
#### Defined in
[models/shipping-method-tax-line.ts:26](https://github.com/medusajs/medusa/blob/0703dd94e/packages/medusa/src/models/shipping-method-tax-line.ts#L26)