public static function isNameValid($postedParam)
	{
		$isValid = false;

		if(isset($postedParam['name'])) {

			$isNameEmpty = CheckoutApi_Lib_Validator::isEmpty($postedParam['name']);
			if(!$isNameEmpty) {

				$isValid = true;
			}
			
		} 

		return $isValid ;
	}
public static function isNameValid($postedParam)
	{
		$isValid = false;

		if(isset($postedParam['name'])) {

			$isNameEmpty = CheckoutApi_Lib_Validator::isEmpty($postedParam['name']);
			if(!$isNameEmpty) {

				$isValid = true;
			}
			
		} 

		return $isValid ;
	}
public static function isNameValid ( $ postedParam ) { $ isValid = false ; if ( isset ( $ postedParam [ 'name' ] ) ) { $ isNameEmpty = CheckoutApi_Lib_Validator :: isEmpty ( $ postedParam [ 'name' ] ) ; if ( ! $ isNameEmpty ) { $ isValid = true ; } } return $ isValid ; }
A helper method that check if a name is set in the payload
@param array $postedParam
@return boolean
Simple usage:
CheckoutApi_Client_Validation_GW3::isNameValid($postedParam);
A helper method that check if a name is set in the payload