Class: ShippingOption
Hierarchy
SoftDeletableEntity
↳
ShippingOption
Constructors
constructor
• new ShippingOption()
Inherited from
SoftDeletableEntity.constructor
Properties
admin_only
• admin_only: boolean
Defined in
amount
• amount: null
| number
Defined in
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
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
is_return
• is_return: boolean
Defined in
metadata
• metadata: Record
<string
, unknown
>
Defined in
name
• name: string
Defined in
price_type
• price_type: ShippingOptionPriceType
Defined in
profile
• profile: ShippingProfile
Defined in
profile_id
• profile_id: string
Defined in
provider
• provider: FulfillmentProvider
Defined in
provider_id
• provider_id: string
Defined in
region
• region: Region
Defined in
region_id
• region_id: string
Defined in
requirements
• requirements: ShippingOptionRequirement
[]
Defined in
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