WrPrice
webround-docs / WrPrice
Interface: WrPrice
Defined in: wr.d.ts:200
A specific price entry for a variant
Properties
amount
amount:
number
Defined in: wr.d.ts:208
Base amount
cadence
cadence:
string
Defined in: wr.d.ts:206
Billing cadence (e.g. 'once', 'monthly')
comparePrice
comparePrice:
number
Defined in: wr.d.ts:210
Compare-at (strikethrough) price
currencyCode
currencyCode:
string
Defined in: wr.d.ts:204
ISO 4217 currency code
externalId
externalId:
string
Defined in: wr.d.ts:214
External system reference ID
grossAmount
grossAmount:
number
Defined in: wr.d.ts:226
Gross amount (including tax)
grossCompare
grossCompare:
number
Defined in: wr.d.ts:232
Gross compare-at price
id
id:
string
Defined in: wr.d.ts:202
Unique identifier
isDefault
isDefault:
boolean
Defined in: wr.d.ts:212
Whether this is the default price
netAmount
netAmount:
number
Defined in: wr.d.ts:224
Net amount (before tax)
netCompare
netCompare:
number
Defined in: wr.d.ts:230
Net compare-at price
quantityTable
quantityTable:
object[]
Defined in: wr.d.ts:216
Quantity-based discount table
discountType
discountType:
string
discountValue
discountValue:
number
max
max:
number
min
min:
number
rounding
rounding:
string
rate
rate:
number
Defined in: wr.d.ts:228
Applied tax rate