| Interface | osid.ordering.rules.PriceEnablerForm | ||
|---|---|---|---|
| Implements | osid.OsidEnablerForm | ||
| Used By | osid.ordering.rules.PriceEnablerAdminSession | ||
| Description |
This is the form for creating and updating
| ||
| Method | getMinQuantityMetadata | ||
| Description |
Gets the metadata for the minimum quantity. | ||
| Return | osid.Metadata | metadata for the minumim quantity | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setMinimumQuantity | ||
| Description |
Sets the minimum quantity. | ||
| Parameters | cardinal | minQuantity | the new minumim quantity |
| Errors | INVALID_ARGUMENT | minQuantity is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearMinimumQuantity | ||
| Description |
Clears the minimum quantity. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMaxQuantityMetadata | ||
| Description |
Gets the metadata for the minimum quantity. | ||
| Return | osid.Metadata | metadata for the maximum quantity | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setMaximumQuantity | ||
| Description |
Sets the maximum quantity. | ||
| Parameters | cardinal | minQuantity | the new maximum quantity |
| Errors | INVALID_ARGUMENT | maxQuantity is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearMaximumQuantity | ||
| Description |
Clears the maximum quantity. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPriceEnablerFormRecord | ||
| Description |
Gets the | ||
| Parameters | osid.type.Type | priceEnablerRecordType | a price enabler record type |
| Return | osid.ordering.rules.records.PriceEnablerFormRecord | the price enabler form 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. | |