Interface ReceiptBatchAdminSession

All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession, ReceiptAdminSession

public interface ReceiptBatchAdminSession extends ReceiptAdminSession

This session updates Receipts in bulk. The data for update is provided by the consumer via the form object. OsidForms are requested for each update and may not be reused.

For updates, ReceiptForms are requested to the Receipt Id that is to be updated using getReceiptFormsForUpdate() where the reference Id in the ReceiptForm may be used to link the request. Similarly, the ReceiptForm has metadata about the data that can be updated and it can perform validation before submitting the update. The ReceiptForm can only be used once for a successful update and cannot be reused.

Once a batch of ReceiptForms are submitted for update, an UpdateResponse is returned for each ReceiptForm , although the ordering is not defined. Only errors that pertain to the entire update operation are returned from updateReceipts() , errors specific to an individual ReceiptForm are indicated in the corresponding UpdateResponse . UpdateResponses may be linked to the originating ReceiptForm through the ReceiptForm Id .