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

        if(isset($param['providerId']) && !(CheckoutApi_Lib_Validator::isEmpty($param['providerId']))) {
            $isValid = true;
        }
        return $isValid;
    }
public static function isProvider($param)
    {
        $isValid = false;

        if(isset($param['providerId']) && !(CheckoutApi_Lib_Validator::isEmpty($param['providerId']))) {
            $isValid = true;
        }
        return $isValid;
    }
public static function isProvider ( $ param ) { $ isValid = false ; if ( isset ( $ param [ 'providerId' ] ) && ! ( CheckoutApi_Lib_Validator :: isEmpty ( $ param [ 'providerId' ] ) ) ) { $ isValid = true ; } return $ isValid ; }
A helper method that check provider id is set in payload.
@param $param
@return bool
Simple usage:
CheckoutApi_Client_Validation_GW3::isProvider($param)
A helper method that check provider id is set in payload .