collab: Remove unneeded caching of Stripe price IDs by meter ID (#34915)

Marshall Bowers created

This PR removes the caching of Stripe price IDs by meter ID on the
`StripeBilling` object, as we weren't actually reading them anywhere.

Release Notes:

- N/A

Change summary

crates/collab/src/stripe_billing.rs | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)

Detailed changes

crates/collab/src/stripe_billing.rs 🔗

@@ -30,7 +30,6 @@ pub struct StripeBilling {
 
 #[derive(Default)]
 struct StripeBillingState {
-    price_ids_by_meter_id: HashMap<String, StripePriceId>,
     prices_by_lookup_key: HashMap<String, StripePrice>,
 }
 
@@ -63,13 +62,7 @@ impl StripeBilling {
 
         for price in prices {
             if let Some(lookup_key) = price.lookup_key.clone() {
-                state.prices_by_lookup_key.insert(lookup_key, price.clone());
-            }
-
-            if let Some(recurring) = price.recurring {
-                if let Some(meter) = recurring.meter {
-                    state.price_ids_by_meter_id.insert(meter, price.id);
-                }
+                state.prices_by_lookup_key.insert(lookup_key, price);
             }
         }