public function get($recurringApplicationChargeId, $usageChargeId, array $params = array())
    {
        $endpoint = '/admin/recurring_application_charges/'.$recurringApplicationChargeId.'/usage_charges/'.$usageChargeId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(UsageCharge::class, $response['usage_charge']);
    }
public function get($recurringApplicationChargeId, $usageChargeId, array $params = array())
    {
        $endpoint = '/admin/recurring_application_charges/'.$recurringApplicationChargeId.'/usage_charges/'.$usageChargeId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(UsageCharge::class, $response['usage_charge']);
    }
public function get ( $ recurringApplicationChargeId , $ usageChargeId , array $ params = array ( ) ) { $ endpoint = '/admin/recurring_application_charges/' . $ recurringApplicationChargeId . '/usage_charges/' . $ usageChargeId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( UsageCharge :: class , $ response [ 'usage_charge' ] ) ; }
Receive a single usage charge

@link   https://help.shopify.com/api/reference/usagecharge#show
@param  integer $recurringApplicationChargeId
@param  integer $usageChargeId
@param  array   $params
@return UsageCharge
Receive a single usage charge