Implement batch subscription operations for bulk management
Description
Context: Merchants managing many subscriptions need bulk operations for efficiency.
Current Limitation: Operations are single-subscription only.
Expected Outcome: Implement batch operations for creating, updating, and charging multiple subscriptions at once.
Acceptance Criteria
Technical Scope
Files Likely Affected:
contracts/batch/src/lib.rs - New batch module
app/stores/batchStore.ts - Batch state
app/screens/BatchOperationsScreen.tsx
APIs/Contracts Involved:
create_batch_operation(op: BatchOperation) -> BatchId
execute_batch(batch_id: BatchId) -> BatchResult
get_batch_status(batch_id: BatchId) -> BatchStatus
Edge Cases to Consider:
- Large batch timeouts
- Partial success scenarios
Implement batch subscription operations for bulk management
Description
Context: Merchants managing many subscriptions need bulk operations for efficiency.
Current Limitation: Operations are single-subscription only.
Expected Outcome: Implement batch operations for creating, updating, and charging multiple subscriptions at once.
Acceptance Criteria
Technical Scope
Files Likely Affected:
contracts/batch/src/lib.rs- New batch moduleapp/stores/batchStore.ts- Batch stateapp/screens/BatchOperationsScreen.tsxAPIs/Contracts Involved:
create_batch_operation(op: BatchOperation) -> BatchIdexecute_batch(batch_id: BatchId) -> BatchResultget_batch_status(batch_id: BatchId) -> BatchStatusEdge Cases to Consider: