dw.catalog
Class ProductPriceInfo
Object
dw.catalog.ProductPriceInfo
Simple class representing a product price point. This class is useful because it provides additional information beyond just the price. Since the system calculates sales prices based on applicable price books, it is sometimes useful to know additional information such as which price book defined a price point, what percentage discount off the base price this value represents, and the date range for which this price point is active.
Properties
onlineFrom  :  Date  (Read Only)
The date from which the associated price point is valid. If such a date doesn't exist, e.g. as in the case of a continuous price point, null will be returned.
onlineTo  :  Date  (Read Only)
The date until which the associated price point is valid. If such a date doesn't exist, e.g. as in the case of a continuous price point, null will be returned.
percentage  :  Number  (Read Only)
The percentage off value of this price point related to the base price for the product's minimum order quantity.
price  :  Money  (Read Only)
The monetary price for this price point.
priceBook  :  PriceBook  (Read Only)
The price book which defined this price point.
priceInfo  :  String  (Read Only)
The price info associated with this price point. This is an arbitrary string which a merchant can associate with a price entry. This can be used for example, to track which back-end system the price is derived from.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getOnlineFrom() : Date
Returns the date from which the associated price point is valid.
getOnlineTo() : Date
Returns the date until which the associated price point is valid.
getPercentage() : Number
Returns the percentage off value of this price point related to the base price for the product's minimum order quantity.
getPrice() : Money
Returns the monetary price for this price point.
getPriceBook() : PriceBook
Returns the price book which defined this price point.
getPriceInfo() : String
Returns the price info associated with this price point.
Salesforce Commerce Cloud Courses
Salesforce B2C Commerce Developer - Certification Tests
Why risk failing the SFCC exam? Get 180 real questions, killer content, and everything you need to crush the Salesforce B2C Commerce Developer certification.

Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβ€”passing the certification exam isn't easy. That's where we come in.
Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβ€”this is your shortcut to passing. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?

This isn't just another prep courseβ€”it's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
Salesforce B2C Commerce Architect - Certification Tests
Think the Developer exam was hard? Welcome to the next level.

The Salesforce B2C Commerce Architect certification is a whole different gameβ€”complex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
Method Detail
getOnlineFrom
getOnlineFrom() : Date
Returns the date from which the associated price point is valid. If such a date doesn't exist, e.g. as in the case of a continuous price point, null will be returned.
Returns:
the date from which the associated price point is valid

getOnlineTo
getOnlineTo() : Date
Returns the date until which the associated price point is valid. If such a date doesn't exist, e.g. as in the case of a continuous price point, null will be returned.
Returns:
the date to which the associated price point is valid

getPercentage
getPercentage() : Number
Returns the percentage off value of this price point related to the base price for the product's minimum order quantity.
Returns:
the percentage off value of this price point

getPrice
getPrice() : Money
Returns the monetary price for this price point.
Returns:
the price amount

getPriceBook
getPriceBook() : PriceBook
Returns the price book which defined this price point.
Returns:
the price book defining this price

getPriceInfo
getPriceInfo() : String
Returns the price info associated with this price point. This is an arbitrary string which a merchant can associate with a price entry. This can be used for example, to track which back-end system the price is derived from.
Returns:
the price info associated with this price point.

β™₯
Notifications pending to read