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

		if(isset($postedParam['localPayment']) && !(CheckoutApi_Lib_Validator::isEmpty($postedParam['localPayment']))) {
			if(isset($postedParam['localPayment']['lppId']) && !(CheckoutApi_Lib_Validator::isEmpty($postedParam['localPayment']['lppId']))) {
				$isValid = true;
			}
		}

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

		if(isset($postedParam['localPayment']) && !(CheckoutApi_Lib_Validator::isEmpty($postedParam['localPayment']))) {
			if(isset($postedParam['localPayment']['lppId']) && !(CheckoutApi_Lib_Validator::isEmpty($postedParam['localPayment']['lppId']))) {
				$isValid = true;
			}
		}

		return $isValid;
	}
public static function isLocalPyamentHashValid ( $ postedParam ) { $ isValid = false ; if ( isset ( $ postedParam [ 'localPayment' ] ) && ! ( CheckoutApi_Lib_Validator :: isEmpty ( $ postedParam [ 'localPayment' ] ) ) ) { if ( isset ( $ postedParam [ 'localPayment' ] [ 'lppId' ] ) && ! ( CheckoutApi_Lib_Validator :: isEmpty ( $ postedParam [ 'localPayment' ] [ 'lppId' ] ) ) ) { $ isValid = true ; } } return $ isValid ; }
A helper method that check if localpayment object is valid in payload. It check if lppId is set
@param array $postedParam
@return boolean
Simple usage:
CheckoutApi_Client_Validation_GW3::isLocalPyamentHashValid($postedParam)
A helper method that check if localpayment object is valid in payload . It check if lppId is set