Skip to main content

Class: ShippingOption

Hierarchy

  • SoftDeletableEntity

    ShippingOption

Constructors

constructor

new ShippingOption()

Inherited from

SoftDeletableEntity.constructor

Properties

admin_only

admin_only: boolean

Defined in

models/shipping-option.ts:67


amount

amount: null | number

Defined in

models/shipping-option.ts:61


created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


data

data: Record<string, unknown>

Defined in

models/shipping-option.ts:75


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


includes_tax

includes_tax: boolean

Defined in

models/shipping-option.ts:81


is_return

is_return: boolean

Defined in

models/shipping-option.ts:64


metadata

metadata: Record<string, unknown>

Defined in

models/shipping-option.ts:78


name

name: string

Defined in

models/shipping-option.ts:31


price_type

price_type: ShippingOptionPriceType

Defined in

models/shipping-option.ts:58


profile

profile: ShippingProfile

Defined in

models/shipping-option.ts:47


profile_id

profile_id: string

Defined in

models/shipping-option.ts:43


provider

provider: FulfillmentProvider

Defined in

models/shipping-option.ts:55


provider_id

provider_id: string

Defined in

models/shipping-option.ts:51


region

region: Region

Defined in

models/shipping-option.ts:39


region_id

region_id: string

Defined in

models/shipping-option.ts:35


requirements

requirements: ShippingOptionRequirement[]

Defined in

models/shipping-option.ts:72


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/shipping-option.ts:83