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
| 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.
|
|