original_string: public function invoicePartAmount($invNo)
      {
          $this->_checkInvNo($invNo);
          $this->_checkArtNos($this->artNos);
  
          //function activate_part_digest
          $string = $this->_eid . ":" . $invNo . ":";
          foreach ($this->artNos as $artNo) {
              $string .= $artNo["artno"] . ":". $artNo["qty"] . ":";
          }
          $digestSecret = self::digest($string . $this->_secret);
          //end activate_part_digest
  
          $paramList = array(
              $this->_eid,
              $invNo,
              $this->artNos,
              $digestSecret
          );
          $this->artNos = array();
  
          self::printDebug('invoice_part_amount', $paramList);
  
          $result = $this->xmlrpc_call('invoice_part_amount', $paramList);
  
          return ($result / 100);
      }
code: public function invoicePartAmount($invNo)
      {
          $this->_checkInvNo($invNo);
          $this->_checkArtNos($this->artNos);
  
          //function activate_part_digest
          $string = $this->_eid . ":" . $invNo . ":";
          foreach ($this->artNos as $artNo) {
              $string .= $artNo["artno"] . ":". $artNo["qty"] . ":";
          }
          $digestSecret = self::digest($string . $this->_secret);
          //end activate_part_digest
  
          $paramList = array(
              $this->_eid,
              $invNo,
              $this->artNos,
              $digestSecret
          );
          $this->artNos = array();
  
          self::printDebug('invoice_part_amount', $paramList);
  
          $result = $this->xmlrpc_call('invoice_part_amount', $paramList);
  
          return ($result / 100);
      }
code_tokens: public function invoicePartAmount ( $ invNo ) { $ this -> _checkInvNo ( $ invNo ) ; $ this -> _checkArtNos ( $ this -> artNos ) ; //function activate_part_digest $ string = $ this -> _eid . ":" . $ invNo . ":" ; foreach ( $ this -> artNos as $ artNo ) { $ string .= $ artNo [ "artno" ] . ":" . $ artNo [ "qty" ] . ":" ; } $ digestSecret = self :: digest ( $ string . $ this -> _secret ) ; //end activate_part_digest $ paramList = array ( $ this -> _eid , $ invNo , $ this -> artNos , $ digestSecret ) ; $ this -> artNos = array ( ) ; self :: printDebug ( 'invoice_part_amount' , $ paramList ) ; $ result = $ this -> xmlrpc_call ( 'invoice_part_amount' , $ paramList ) ; return ( $ result / 100 ) ; }
docstring: Retrieves the amount of a specific goods from a purchase.
  
  <b>Note</b>:<br>
  You need to call {@link Klarna::addArtNo()} first.<br>
  
  @param string $invNo Invoice number.
  
  @see  Klarna::addArtNo()
  
  @throws KlarnaException
  @return float The amount of the goods.
docstring_tokens: Retrieves the amount of a specific goods from a purchase .