Skip to main content

Class: ShippingOption

internal.ShippingOption

Base abstract entity for all entities

Hierarchy​

Properties​

admin_only​

• admin_only: boolean

Defined in​

medusa/dist/models/shipping-option.d.ts:21


amount​

• amount: null | number

Defined in​

medusa/dist/models/shipping-option.d.ts:19


beforeInsert​

• Private beforeInsert: any

Defined in​

medusa/dist/models/shipping-option.d.ts:26


created_at​

• created_at: Date

Inherited from​

SoftDeletableEntity.created_at

Defined in​

medusa/dist/interfaces/models/base-entity.d.ts:6


data​

• data: Record<string, unknown>

Defined in​

medusa/dist/models/shipping-option.d.ts:23


deleted_at​

• deleted_at: null | Date

Inherited from​

SoftDeletableEntity.deleted_at

Defined in​

medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3


id​

• id: string

Inherited from​

SoftDeletableEntity.id

Defined in​

medusa/dist/interfaces/models/base-entity.d.ts:5


includes_tax​

• includes_tax: boolean

Defined in​

medusa/dist/models/shipping-option.d.ts:25


is_return​

• is_return: boolean

Defined in​

medusa/dist/models/shipping-option.d.ts:20


metadata​

• metadata: Record<string, unknown>

Defined in​

medusa/dist/models/shipping-option.d.ts:24


name​

• name: string

Defined in​

medusa/dist/models/shipping-option.d.ts:11


price_type​

• price_type: ShippingOptionPriceType

Defined in​

medusa/dist/models/shipping-option.d.ts:18


profile​

• profile: ShippingProfile

Defined in​

medusa/dist/models/shipping-option.d.ts:15


profile_id​

• profile_id: string

Defined in​

medusa/dist/models/shipping-option.d.ts:14


provider​

• provider: FulfillmentProvider

Defined in​

medusa/dist/models/shipping-option.d.ts:17


provider_id​

• provider_id: string

Defined in​

medusa/dist/models/shipping-option.d.ts:16


region​

• region: Region

Defined in​

medusa/dist/models/shipping-option.d.ts:13


region_id​

• region_id: string

Defined in​

medusa/dist/models/shipping-option.d.ts:12


requirements​

• requirements: ShippingOptionRequirement[]

Defined in​

medusa/dist/models/shipping-option.d.ts:22


updated_at​

• updated_at: Date

Inherited from​

SoftDeletableEntity.updated_at

Defined in​

medusa/dist/interfaces/models/base-entity.d.ts:7

Was this section helpful?