| Interface | osid.ordering.Product | ||
|---|---|---|---|
| Implements | osid.OsidObject | ||
| Description |
A | ||
| Method | getCode | ||
| Description |
Gets the product code. | ||
| Return | string | a product code | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPriceScheduleIds | ||
| Description |
Gets the price schedule | ||
| Return | osid.id.IdList | a price schedule Id | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPriceSchedules | ||
| Description |
Gets the price schedules. | ||
| Return | osid.ordering.PriceScheduleList | the price schedules | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | hasAvailability | ||
| Description |
Tests if an availability is available for this product. | ||
| Return | boolean | true if an available is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAvailability | ||
| Description |
Gets the availability. | ||
| Return | cardinal | the availability | |
| Errors | ILLEGAL_STATE | hasAvailability() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProductRecord | ||
| Description |
Gets the product record corresponding to the given
| ||
| Parameters | osid.type.Type | productRecordType | the type of product record to retrieve |
| Return | osid.ordering.records.ProductRecord | the product record | |
| Errors | NULL_ARGUMENT | productRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(productRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |