original_string: public function create(ApplicationCredit &$applicationCredit)
      {
          $data = $applicationCredit->exportData();
          $endpoint = '/admin/application_credits.json';
          $response = $this->request(
              $endpoint, 'POST', array(
              'application_charge' => $data
              )
          );
          $applicationCredit->setData($response['application_credit']);
      }
code: public function create(ApplicationCredit &$applicationCredit)
      {
          $data = $applicationCredit->exportData();
          $endpoint = '/admin/application_credits.json';
          $response = $this->request(
              $endpoint, 'POST', array(
              'application_charge' => $data
              )
          );
          $applicationCredit->setData($response['application_credit']);
      }
code_tokens: public function create ( ApplicationCredit & $ applicationCredit ) { $ data = $ applicationCredit -> exportData ( ) ; $ endpoint = '/admin/application_credits.json' ; $ response = $ this -> request ( $ endpoint , 'POST' , array ( 'application_charge' => $ data ) ) ; $ applicationCredit -> setData ( $ response [ 'application_credit' ] ) ; }
docstring: Create an application credit
  
  @link   https://help.shopify.com/api/reference/applicationcredit#create
  @param  ApplicationCredit $applicationCredit
  @return void
docstring_tokens: Create an application credit