original_string: public function transferCredit(Transfer $transfer)
      {
          $transfer->setRequiredFields(array(
              'amount',
              'linkedAccount',
              'merchantRefNum',
          ));
          $transfer->setOptionalFields(array(
              'detail',
              'dupCheck',
          ));
  
          $request = new Request(array(
                 'method' => Request::POST,
                 'uri' => $this->prepareURI($this->creditPath),
                 'body' => $transfer
             ));
  
          $response = $this->client->processRequest($request);
  
          return new Transfer($response);
      }
code: public function transferCredit(Transfer $transfer)
      {
          $transfer->setRequiredFields(array(
              'amount',
              'linkedAccount',
              'merchantRefNum',
          ));
          $transfer->setOptionalFields(array(
              'detail',
              'dupCheck',
          ));
  
          $request = new Request(array(
                 'method' => Request::POST,
                 'uri' => $this->prepareURI($this->creditPath),
                 'body' => $transfer
             ));
  
          $response = $this->client->processRequest($request);
  
          return new Transfer($response);
      }
code_tokens: public function transferCredit ( Transfer $ transfer ) { $ transfer -> setRequiredFields ( array ( 'amount' , 'linkedAccount' , 'merchantRefNum' , ) ) ; $ transfer -> setOptionalFields ( array ( 'detail' , 'dupCheck' , ) ) ; $ request = new Request ( array ( 'method' => Request :: POST , 'uri' => $ this -> prepareURI ( $ this -> creditPath ) , 'body' => $ transfer ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return new Transfer ( $ response ) ; }
docstring: Move funds from the linked account in the body of the request to the account identified in the API endpoint URI.
  @param \Paysafe\AccountManagement\Transfer $transfer
  @return \Paysafe\AccountManagement\Transfer
docstring_tokens: Move funds from the linked account in the body of the request to the account identified in the API endpoint URI .