| Interface | osid.ordering.rules.PriceEnabler | ||
|---|---|---|---|
| Implements | osid.OsidEnabler | ||
| Used By | osid.ordering.rules.PriceEnablerAdminSession | ||
osid.ordering.rules.PriceEnablerList | |||
osid.ordering.rules.PriceEnablerLookupSession | |||
| Description |
A | ||
| Method | hasQuantityRange | ||
| Description |
Tests if this price is restricted by quantity. | ||
| Return | boolean | true if this price has a quantity range, false
if this price is the same for any quantity | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMinimumQuantity | ||
| Description |
Gets the minium quantity for this price. | ||
| Return | cardinal | the quantity | |
| Errors | ILLEGAL_STATE | hasQuantityRange() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMaximumQuantity | ||
| Description |
Gets the maximum quantity for this price. | ||
| Return | cardinal | the quantity | |
| Errors | ILLEGAL_STATE | hasQuantityRange() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPriceEnablerRecord | ||
| Description |
Gets the price enabler record corresponding to the
given | ||
| Parameters | osid.type.Type | priceEnablerRecordType | the type of price enabler record to retrieve |
| Return | osid.ordering.rules.records.PriceEnablerRecord | the price enabler record | |
| Errors | NULL_ARGUMENT | priceEnablerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(priceEnablerRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |