Files
medusa-store/docs/content/references/entities/classes/CustomShippingOption.md
T

2.9 KiB

displayed_sidebar
displayed_sidebar
entitiesSidebar

Class: CustomShippingOption

Hierarchy

  • SoftDeletableEntity

    ↳ CustomShippingOption

Constructors

constructor

• new CustomShippingOption()

Inherited from

SoftDeletableEntity.constructor

Properties

cart

• cart: Cart

Defined in

models/custom-shipping-option.ts:37


cart_id

• cart_id: string

Defined in

models/custom-shipping-option.ts:33


created_at

• created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


deleted_at

• deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

interfaces/models/soft-deletable-entity.ts:7


id

• id: string

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


metadata

• metadata: Record<string, unknown>

Defined in

models/custom-shipping-option.ts:40


price

• price: number

Defined in

models/custom-shipping-option.ts:21


shipping_option

• shipping_option: ShippingOption

Defined in

models/custom-shipping-option.ts:29


shipping_option_id

• shipping_option_id: string

Defined in

models/custom-shipping-option.ts:25


updated_at

• updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

▸ Private beforeInsert(): void

Returns

void

Defined in

models/custom-shipping-option.ts:42