Interface | osid.billing.payment.batch.PaymentBatchAdminSession | ||
---|---|---|---|
Implements | osid.billing.payment.PaymentAdminSession | ||
Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create a The Once a batch of For updates, Once a batch of The delete operations delete | ||
Method | getPaymentFormsForCreate | ||
Description |
Gets the payment forms for creating a bunch of new payments. A form is returned for each set of payment peers. | ||
Parameters | osid.billing.payment.batch.PaymentPeerList | peers | a list of payment peers |
osid.type.Type[] | paymentRecordTypes | array of payment record types to be included in each create operation or an empty list if none | |
Return | osid.billing.payment.batch.PaymentBatchFormList | the payment forms | |
Errors | NOT_FOUND | a node is not found | |
NULL_ARGUMENT | a payerId, customerId, or paymentRecordTypes
is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | unable to request forms with given record types | ||
Compliance | mandatory | This method must be implemented. | |
Method | createPayments | ||
Description |
Creates a new set of | ||
Parameters | osid.billing.payment.batch.PaymentBatchFormList | paymentForms | the payment forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | paymentForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPaymentFormsForUpdate | ||
Description |
Gets the payment forms for updating an existing set of payments. A new payment form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | paymentIds | the Ids of the Payment |
Return | osid.billing.payment.batch.PaymentBatchFormList | the payment form | |
Errors | NOT_FOUND | a paymentId is not found | |
NULL_ARGUMENT | paymentIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updatePayments | ||
Description |
Updates existing payments. This method returns an error
if the entire operation fails. Otherwise, the status of an
individual update operation is indicated in the | ||
Parameters | osid.billing.payment.batch.PaymentBatchFormList | paymentForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | paymentForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllPayments | ||
Description |
Deletes all | ||
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deletePayments | ||
Description |
Deletes payments for the given | ||
Parameters | osid.id.IdList | paymentIds | the Ids of the payments to delete |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | paymentIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deletePaymentsForPayer | ||
Description |
Deletes payments for the given payer. | ||
Parameters | osid.id.Id | payerId | the Id of a payer |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | payerId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deletePaymentsForCustomer | ||
Description |
Deletes payments for the given customer. | ||
Parameters | osid.id.Id | customerId | the Id of a customer |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | customerId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | aliasPayments | ||
Description |
Adds an | ||
Parameters | osid.transaction.batch.AliasRequestList | aliasRequests | the alias requests |
Return | osid.transaction.batch.AliasResponseList | the alias responses | |
Errors | NULL_ARGUMENT | aliasRequests is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |