public function getApprovalCode($orderIndex = 0)
    {
        $cardAuthInfo = $this->getCardAuthInfo($orderIndex);
        return array_key_exists('approvalCode', $cardAuthInfo) ? $cardAuthInfo['approvalCode'] : null;
    }
public function getApprovalCode($orderIndex = 0)
    {
        $cardAuthInfo = $this->getCardAuthInfo($orderIndex);
        return array_key_exists('approvalCode', $cardAuthInfo) ? $cardAuthInfo['approvalCode'] : null;
    }
public function getApprovalCode ( $ orderIndex = 0 ) { $ cardAuthInfo = $ this -> getCardAuthInfo ( $ orderIndex ) ; return array_key_exists ( 'approvalCode' , $ cardAuthInfo ) ? $ cardAuthInfo [ 'approvalCode' ] : null ; }
The authorization code of the payment.

A fixed-length field (6 characters), can contain numbers and Latin letters.

@param int $orderIndex
@return mixed|null
The authorization code of the payment .