Skip to main content

Class: ShippingMethod

Constructors

constructor

new ShippingMethod()

Properties

cart

cart: Cart

Defined in

models/shipping-method.ts:61


cart_id

cart_id: string

Defined in

models/shipping-method.ts:57


claim_order

claim_order: ClaimOrder

Defined in

models/shipping-method.ts:53


claim_order_id

claim_order_id: null | string

Defined in

models/shipping-method.ts:49


data

data: Record<string, unknown>

Defined in

models/shipping-method.ts:92


id

id: string

Defined in

models/shipping-method.ts:33


includes_tax

includes_tax: boolean

Defined in

models/shipping-method.ts:95


order

order: Order

Defined in

models/shipping-method.ts:45


order_id

order_id: string

Defined in

models/shipping-method.ts:41


price

price: number

Defined in

models/shipping-method.ts:89


return_id

return_id: string

Defined in

models/shipping-method.ts:73


return_order

return_order: Return

Defined in

models/shipping-method.ts:77


shipping_option

shipping_option: ShippingOption

Defined in

models/shipping-method.ts:81


shipping_option_id

shipping_option_id: string

Defined in

models/shipping-method.ts:37


subtotal

Optional subtotal: number

Defined in

models/shipping-method.ts:97


swap

swap: Swap

Defined in

models/shipping-method.ts:69


swap_id

swap_id: string

Defined in

models/shipping-method.ts:65


tax_lines

tax_lines: ShippingMethodTaxLine[]

Defined in

models/shipping-method.ts:86


tax_total

Optional tax_total: number

Defined in

models/shipping-method.ts:99


total

Optional total: number

Defined in

models/shipping-method.ts:98

Methods

beforeInsert

Private beforeInsert(): void

Returns

void

Defined in

models/shipping-method.ts:101