src/Klarna.php
public function getCustomerNo($pno, $encoding = null)
    {
        //Get the PNO/SSN encoding constant.
        if ($encoding === null) {
            $encoding = $this->getPNOEncoding();
        }
        $this->_checkPNO($pno, $encoding);

        $digestSecret = self::digest(
            $this->colon($this->_eid, $pno, $this->_secret)
        );
        $paramList = array(
            $pno,
            $this->_eid,
            $digestSecret,
            $encoding
        );

        self::printDebug('get_customer_no', $paramList);

        return $this->xmlrpc_call('get_customer_no', $paramList);
    }
public function getCustomerNo($pno, $encoding = null)
    {
        //Get the PNO/SSN encoding constant.
        if ($encoding === null) {
            $encoding = $this->getPNOEncoding();
        }
        $this->_checkPNO($pno, $encoding);

        $digestSecret = self::digest(
            $this->colon($this->_eid, $pno, $this->_secret)
        );
        $paramList = array(
            $pno,
            $this->_eid,
            $digestSecret,
            $encoding
        );

        self::printDebug('get_customer_no', $paramList);

        return $this->xmlrpc_call('get_customer_no', $paramList);
    }
public function getCustomerNo ( $ pno , $ encoding = null ) { //Get the PNO/SSN encoding constant. if ( $ encoding === null ) { $ encoding = $ this -> getPNOEncoding ( ) ; } $ this -> _checkPNO ( $ pno , $ encoding ) ; $ digestSecret = self :: digest ( $ this -> colon ( $ this -> _eid , $ pno , $ this -> _secret ) ) ; $ paramList = array ( $ pno , $ this -> _eid , $ digestSecret , $ encoding ) ; self :: printDebug ( 'get_customer_no' , $ paramList ) ; return $ this -> xmlrpc_call ( 'get_customer_no' , $ paramList ) ; }
Retrieves a list of all the customer numbers associated with the
specified pno.

@param string $pno      Social security number, Personal number, ...
@param int    $encoding {@link KlarnaEncoding PNO Encoding} constant.

@throws KlarnaException
@return array An array containing all customer numbers associated
with that pno.
Retrieves a list of all the customer numbers associated with the specified pno .