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

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

			$amount = $postedParam['value'];

			$isAmountEmpty = CheckoutApi_Lib_Validator::isEmpty($amount);

			
			if(!$isAmountEmpty  ) {
				$isValid = true;

			} 
	
		} 

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

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

			$amount = $postedParam['value'];

			$isAmountEmpty = CheckoutApi_Lib_Validator::isEmpty($amount);

			
			if(!$isAmountEmpty  ) {
				$isValid = true;

			} 
	
		} 

		return $isValid;
	}
public static function isValueValid ( $ postedParam ) { $ isValid = false ; if ( isset ( $ postedParam [ 'value' ] ) ) { $ amount = $ postedParam [ 'value' ] ; $ isAmountEmpty = CheckoutApi_Lib_Validator :: isEmpty ( $ amount ) ; if ( ! $ isAmountEmpty ) { $ isValid = true ; } } return $ isValid ; }
A helper method that is use to valid if amount is correct in a payload.
@param array $postedParam
@return boolean
CheckoutApi_ check if amount is valid.
Simple usage:
CheckoutApi_Client_Validation_GW3::isValueValid($postedParam)
A helper method that is use to valid if amount is correct in a payload .