Inventory Service AvailableQuantity function #499

Open
opened 2026-04-28 18:19:05 +01:00 by Vylpes · 0 comments
Owner

Epic: #281
Story Points:


SO THAT I can easily find if a card in a user's inventory is available to use

Acceptance Criteria

GIVEN I am a developer
WHEN I run InventoryService.GetCardAvailability(UserId: string, CardNumber: string)
THEN I will receive an INT of the amount of cards in the user's inventory NOT in a binder

Subtasks

  • Add GetCardAvailability function
  • Add info into inventory embed
  • Block trades on availability < 1
  • Block sacrifice on availability < 1

Notes

  • The inventory embed will show as 1001 x1 (2) for if card 1001 has 1 available card but 2 total
Epic: #281 Story Points: --- SO THAT I can easily find if a card in a user's inventory is available to use ## Acceptance Criteria GIVEN I am a developer WHEN I run `InventoryService.GetCardAvailability(UserId: string, CardNumber: string)` THEN I will receive an INT of the amount of cards in the user's inventory NOT in a binder ## Subtasks - [ ] Add GetCardAvailability function - [ ] Add info into inventory embed - [ ] Block trades on availability < 1 - [ ] Block sacrifice on availability < 1 ## Notes - The inventory embed will show as `1001 x1 (2)` for if card 1001 has 1 available card but 2 total
Vylpes added this to the 0.12.0 milestone 2026-04-28 18:19:05 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#496 Card Binder Service
External/card-drop
Depends on
Reference
External/card-drop#499
No description provided.