public static function isCardNumberValid($param)
	{
		$isValid = false;

		if(isset($param['number'])) {

			$errorIsEmpty = CheckoutApi_Lib_Validator::isEmpty($param['number']) ;
			
			if(!$errorIsEmpty) {
				//$this->logError(true, "Card number can not be empty.", array('card'=>$param),false);
				$isValid = true;
			}

		} 

		return $isValid;
	}
public static function isCardNumberValid($param)
	{
		$isValid = false;

		if(isset($param['number'])) {

			$errorIsEmpty = CheckoutApi_Lib_Validator::isEmpty($param['number']) ;
			
			if(!$errorIsEmpty) {
				//$this->logError(true, "Card number can not be empty.", array('card'=>$param),false);
				$isValid = true;
			}

		} 

		return $isValid;
	}
public static function isCardNumberValid ( $ param ) { $ isValid = false ; if ( isset ( $ param [ 'number' ] ) ) { $ errorIsEmpty = CheckoutApi_Lib_Validator :: isEmpty ( $ param [ 'number' ] ) ; if ( ! $ errorIsEmpty ) { //$this->logError(true, "Card number can not be empty.", array('card'=>$param),false); $ isValid = true ; } } return $ isValid ; }
A helper method that check if card number is set in payload.
@param array $param
@return bool
Simple usage:
CheckoutApi_Client_Validation_GW3::isCardNumberValid($param)
A helper method that check if card number is set in payload .