Billing Central Apex API Developer Reference

ffbc.DiscountsService

global with sharing class DiscountsService

This class provides service functionality for discounts.

Methods

load

global static List<ffbc.DiscountsService.Discount> load()

Retrieves all discounts stored on the database.

Return Value

The wrappers for the discounts.

ffbc.DiscountsService.Discount

global with sharing class Discount

This models a discount.

Properties

Name Type Description
Id Id Read only. The ID of the Discount SObject being represented.
Name String Read only. The Name of the Discount SObject being represented.
CurrencyIsoCode String Read only. The Currency Iso Code of the Discount.
Description String Read only. The Description of the Discount.
Percentage Double Read only. The Percentage of the Discount. The Percentage or the Amount is populated, not both.
Amount Decimal Read only. The Amount of Discount. The Percentage or the Amount is populated, not both.
ViewUrl String The URL of the view page for the SObject being represented.
© Copyright 2009–2018 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.