Billing Central Apex API Developer Reference

ffbc.PriceBooksService

global with sharing class PriceBooksService

This class provides service functionality for the Price Book standard object.

This class contains deprecated items.

Deprecated

The following items are deprecated and not supported for use. We recommend that you stop using these items to avoid exceptions.

Methods

getActive

Deprecated: This method has been deprecated. Use a standard Salesforce query instead.

global static List<ffbc.PriceBooksService.PriceBook> getActive()

Queries all active price books. Returns the ID, name and whether the price book is the standard price book.

Return Value

A list of summarized price books, ordered by name with the standard price book first.

ffbc.PriceBooksService.PriceBook

global with sharing class PriceBook

This class models a price book, including the ID, name and whether it is the standard price book.

Properties

Name Type Description
Id Id Read only. The Salesforce ID of the price book being summarized.
Name String Read only. The Name of the price book being summarized.
IsStandard Boolean Read only. Indicates whether the price book being summarized is the standard price book.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.