Interface | osid.ordering.Item | ||
---|---|---|---|
Implements | osid.OsidRelationship | ||
Description |
A | ||
Method | getOrderId | ||
Description |
Gets the order | ||
Return | osid.id.Id | the order Id | |
Compliance | mandatory | This method must be implemented. | |
Method | getOrder | ||
Description |
Gets the order for this item. | ||
Return | osid.ordering.Order | the order | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | isDerived | ||
Description |
Tests if the item is a derived item as opposed to one that has been explicitly selected. | ||
Return | boolean | true if this item is derived, false otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getProductId | ||
Description |
Gets the product | ||
Return | osid.id.Id | the product Id | |
Compliance | mandatory | This method must be implemented. | |
Method | getProduct | ||
Description |
Gets the product for this item. | ||
Return | osid.ordering.Product | the product | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | getUnitPriceIds | ||
Description |
Gets the price | ||
Return | osid.id.IdList | the price Ids | |
Compliance | mandatory | This method must be implemented. | |
Method | getUnitPrices | ||
Description |
Gets the prices for this item. There may be different price types for a single item. | ||
Return | osid.ordering.PriceList | the prices | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | getQuantity | ||
Description |
Gets the quantity of the product. | ||
Return | cardinal | the quantity of the product | |
Compliance | mandatory | This method must be implemented. | |
Method | getCosts | ||
Description |
Gets the line item costs. | ||
Return | osid.ordering.CostList | the costs. | |
Compliance | mandatory | This method must be implemented. | |
Method | getItemRecord | ||
Description |
Gets the item record corresponding to the given | ||
Parameters | osid.type.Type | itemRecordType | the type of item record to retrieve |
Return | osid.ordering.records.ItemRecord | the item record | |
Errors | NULL_ARGUMENT | itemRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(itemRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |