original_string: public function all($recurringApplicationChargeId, array $params = array())
      {
          $endpoint = '/admin/recurring_application_charges/'.$recurringApplicationChargeId.'/usage_charges.json';
          $response = $this->request($endpoint, 'GET', $params);
          return $this->createCollection(UsageCharge::class, $response['usage_charges']);
      }
code: public function all($recurringApplicationChargeId, array $params = array())
      {
          $endpoint = '/admin/recurring_application_charges/'.$recurringApplicationChargeId.'/usage_charges.json';
          $response = $this->request($endpoint, 'GET', $params);
          return $this->createCollection(UsageCharge::class, $response['usage_charges']);
      }
code_tokens: public function all ( $ recurringApplicationChargeId , array $ params = array ( ) ) { $ endpoint = '/admin/recurring_application_charges/' . $ recurringApplicationChargeId . '/usage_charges.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( UsageCharge :: class , $ response [ 'usage_charges' ] ) ; }
docstring: Retrieve all usage charges
  
  @link   https://help.shopify.com/api/reference/usagecharge#index
  @param  integer $recurringApplicationChargeId
  @param  array   $params
  @return UsageCharge[]
docstring_tokens: Retrieve all usage charges