getPurchaseCategory
Gets the category of a purchased product.
Return
The PurchaseCategory or null if not found.
Parameters
productId
The product ID to check.
Gets the category of a purchased product.
The PurchaseCategory or null if not found.
The product ID to check.