| Interface | osid.billing.CustomerForm | ||
|---|---|---|---|
| Implements | osid.OsidObjectForm | ||
osid.OsidTemporalForm | |||
| Description | 
                 This is the form for creating and updating   | ||
| Method | getCustomerNumberMetadata | ||
| Description | 
                     Gets the metadata for the customer number.  | ||
| Return | osid.Metadata | metadata for the customer number | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setCustomerNumber | ||
| Description | 
                     Sets the customer number.  | ||
| Parameters | string | number | the new number | 
| Errors | INVALID_ARGUMENT |  number  is invalid  |                 |
| NO_ACCESS |  Metadata.isReadOnly()  is  true   |                 ||
| NULL_ARGUMENT |  number  is  null   |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCustomerNumber | ||
| Description | 
                     Clears the customer number.  | ||
| Errors | NO_ACCESS |  Metadata.isRequired()  or  Metadata.isReadOnly() 
 is  true   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityMetadata | ||
| Description | 
                     Gets the metadata for an activity.  | ||
| Return | osid.Metadata | metadata for the activity | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setActivity | ||
| Description | 
                     Sets the activity.  | ||
| Parameters | osid.id.Id | activityId | the new activity | 
| Errors | INVALID_ARGUMENT |  activityId  is invalid  |                 |
| NO_ACCESS |  Metadata.isReadOnly()  is  true   |                 ||
| NULL_ARGUMENT |  activityId  is  null   |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearActivity | ||
| Description | 
                     Removes the activity.  | ||
| Errors | NO_ACCESS |  Metadata.isRequired()  is  true  or  
Metadata.isReadOnly()  is  true   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCustomerFormRecord | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.type.Type | customerRecordType | a customer record type | 
| Return | osid.billing.records.CustomerFormRecord | the customer form record | |
| Errors | NULL_ARGUMENT |  customerRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(customerRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |