public static function isGetCardIdValid($param)
    {
        $isValid = false;
        $card = $param['cardId'];

        if(isset($param['cardId'])) {
            $isValid = self::isCardIdValid(array('card'=>$param['cardId']));
        }

        return $isValid;

    }
public static function isGetCardIdValid($param)
    {
        $isValid = false;
        $card = $param['cardId'];

        if(isset($param['cardId'])) {
            $isValid = self::isCardIdValid(array('card'=>$param['cardId']));
        }

        return $isValid;

    }
public static function isGetCardIdValid ( $ param ) { $ isValid = false ; $ card = $ param [ 'cardId' ] ; if ( isset ( $ param [ 'cardId' ] ) ) { $ isValid = self :: isCardIdValid ( array ( 'card' => $ param [ 'cardId' ] ) ) ; } return $ isValid ; }
A helper method that check if card id is set in payload.
The difference between isCardIdValid and isGetCardIdValid is, isCardIdValid check if card id is set
in postedparam where as isGetCardIdValid check if configuration pass has a card id
@param array $param
@return boolean
Simple usage:
CheckoutApi_Client_Validation_GW3::isGetCardIdValid($param)
A helper method that check if card id is set in payload . The difference between isCardIdValid and isGetCardIdValid is isCardIdValid check if card id is set in postedparam where as isGetCardIdValid check if configuration pass has a card id