List < TariffSubscription > function ( CustomerInfo arg0 ) { List < TariffSubscription > loc0 = new ArrayList < TariffSubscription > ( ) ; for ( TariffSubscription loc1 : findSubscriptionsForCustomer ( arg0 ) ) { if ( loc1 . getCustomersCommitted ( ) > 0 ) { loc0 . add ( loc1 ) ; } } return loc0 ; }
returns the list of active subscriptions for a given customer . these are subscriptions that have non-zero committed-customer counts . concode_field_sep HashMap<Broker,List<TariffSubscription>> brokerMap concode_elem_sep TariffRepo tariffRepo concode_elem_sep HashMap<Tariff,List<TariffSubscription>> tariffMap concode_elem_sep HashMap<CustomerInfo,List<TariffSubscription>> customerMap concode_field_sep TariffSubscription add concode_elem_sep List<TariffSubscription> findSubscriptionsForCustomer concode_elem_sep List<TariffSubscription> findSubscriptionsForBroker concode_elem_sep TariffSubscription findSubscriptionForTariffAndCustomer concode_elem_sep TariffSubscription findSubscriptionForCustomer concode_elem_sep List<TariffSubscription> findActiveSubscriptionsForBroker concode_elem_sep void recycle concode_elem_sep List<TariffSubscription> getRevokedSubscriptionList concode_elem_sep TariffSubscription getSubscription concode_elem_sep void removeSubscriptionsForTariff concode_elem_sep List<TariffSubscription> findSubscriptionsForTariff concode_elem_sep void storeSubscription