public function get($applicationCreditId, array $fields = array())
    {
        $params = array();
        if (!empty($fields)) {
            $params['fields'] = implode(',', $fields);
        }
        $endpoint = '/admin/application_credits/'.$applicationCreditId.'.json';
        $data = $this->request($endpoint, 'GET', $params);
        return $this->createObject(ApplicationCredit::class, $data['application_credit']);
    }
public function get($applicationCreditId, array $fields = array())
    {
        $params = array();
        if (!empty($fields)) {
            $params['fields'] = implode(',', $fields);
        }
        $endpoint = '/admin/application_credits/'.$applicationCreditId.'.json';
        $data = $this->request($endpoint, 'GET', $params);
        return $this->createObject(ApplicationCredit::class, $data['application_credit']);
    }
public function get ( $ applicationCreditId , array $ fields = array ( ) ) { $ params = array ( ) ; if ( ! empty ( $ fields ) ) { $ params [ 'fields' ] = implode ( ',' , $ fields ) ; } $ endpoint = '/admin/application_credits/' . $ applicationCreditId . '.json' ; $ data = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( ApplicationCredit :: class , $ data [ 'application_credit' ] ) ; }
Receive a single ApplicationCredit

@link   https://help.shopify.com/api/reference/applicationcredit#show
@param  integer $applicationCreditId
@param  array   $fields
@return ApplicationCredit
Receive a single ApplicationCredit