@plentymarkets/shop-api / productPriceGetters
Variable: productPriceGetters ​
const
productPriceGetters:object
Type declaration ​
getCheapestGraduatedPrice() ​
getCheapestGraduatedPrice: (
product
) =>number
Parameters ​
• product: Product
Returns ​
number
getCrossedPrice() ​
getCrossedPrice: (
product
) =>number
Parameters ​
• product: Product
Returns ​
number
getDefaultBasePrice() ​
getDefaultBasePrice: (
product
) =>string
Parameters ​
• product: Product
Returns ​
string
getDefaultBaseSinglePrice() ​
getDefaultBaseSinglePrice: (
product
) =>number
Parameters ​
• product: Product
Returns ​
number
getFormattedPrice() ​
getFormattedPrice: (
price
) =>string
Parameters ​
• price: number
string
Returns ​
string
number
Deprecated ​
will be removed in 1.0
getGraduatedList() ​
getGraduatedList: (
product
) =>GraduatedPriceList
[]
Parameters ​
• product: Product
Returns ​
getGraduatedPriceByQuantity() ​
getGraduatedPriceByQuantity: (
product
,quantity
) =>Default
Parameters ​
• product: Product
• quantity: number
Returns ​
getGraduatedPrices() ​
getGraduatedPrices: (
product
) =>Default
[]
Parameters ​
• product: Product
Returns ​
Default
[]
getLowestPrice() ​
getLowestPrice: (
product
) =>number
Parameters ​
• product: Product
Returns ​
number
getPrice() ​
getPrice: (
product
) =>number
Parameters ​
• product: Product
Returns ​
number
getRegularPriceCurrency() ​
getRegularPriceCurrency: (
product
) =>string
Parameters ​
• product: Product
Returns ​
string
getSpecialOffer() ​
getSpecialOffer: (
product
) =>number
Parameters ​
• product: Product
Returns ​
number
getSpecialPriceCurrency() ​
getSpecialPriceCurrency: (
product
) =>string
Parameters ​
• product: Product
Returns ​
string
showPricePerUnit() ​
showPricePerUnit: (
product
) =>boolean
Parameters ​
• product: Product
Returns ​
boolean